Last active
August 24, 2022 02:01
-
-
Save MarissaJ/8349909fbaa8e089ec3ceb9296737f3e to your computer and use it in GitHub Desktop.
After Effects Data Driven Expression- Sum Total Spreadsheet Column Data
This file contains 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
rows =thisComp.layer("Data-Sample.csv")("Data")("Number of Rows"); | |
total = 0; | |
for(i=0;i<rows;i++) { | |
if(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)) | |
{ | |
total+= thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i); | |
} | |
} total; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment