Forum Discussion

akseeker's avatar
akseeker
Copper Contributor
Apr 06, 2020
Solved

Formulaic calculation of table rows

I'm trying to automatically update a chart that only displays the last 30 entries in a large (>600 rows) table.   I can't find a formula like "=NumRows(Table1)" to use in calculating the max number...
  • ExcelExciting's avatar
    ExcelExciting
    Apr 06, 2020

    HI akseeker 

     

    You need to construct array formula, here is how it should work. If you are using office365 with new dynamic arrays calculation engine you can paste the formula straight away

     

    =MAX(ROW(Table1[Count Row])-1)

     

    If not paste the formula and press ctrl + shift + enter 

     

     

    Regards, Faraz Shaikh | MCT, MIE, MOS Master, Excel Expert

    If you find the above solution resolved your query don't forget mark as Official Answer to help the other members find it more

Resources