Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get the last entry in a column
rows =thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+1;
last_val= 0;
for(i=0;i<rows;i++) { if(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i))
Math.max(last_val= thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)); } } last_val;
Copy link

MarissaJ commented Nov 20, 2018

For more on how to use this expression and download a sample After Effects 2019 file here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment