Created
August 29, 2022 16:47
-
-
Save JoeGlines/527bd37d489944926baefac9c9673933 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data= | |
( | |
one two three | |
one two 3 | |
two two 4 | |
three two 6 | |
) | |
;*********Use For loop over Var going line by line********************* | |
for i, row in Loopobj:=StrSplit(data,"`n","`r`n") { ;Parse Var on each new line | |
IfEqual, i,1,continue ;Skip header row | |
sum += StrSplit(row,"`t").3 ;Change this to the index where your number is (looks like 7 is for your data) | |
} | |
MsgBox % sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment