Skip to content

Instantly share code, notes, and snippets.

@MarissaJ
Last active August 24, 2022 02:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarissaJ/8349909fbaa8e089ec3ceb9296737f3e to your computer and use it in GitHub Desktop.
Save MarissaJ/8349909fbaa8e089ec3ceb9296737f3e to your computer and use it in GitHub Desktop.
After Effects Data Driven Expression- Sum Total Spreadsheet Column Data
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