ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Improving formula (https://www.excelbanter.com/excel-worksheet-functions/81936-improving-formula.html)

Brad

Improving formula
 
Everyday a new line of data is added to the bottom of a report. What has to
be done, in a summary report (found on a different tab) is to subtract
yesterday's value from today's value.

The equation below works - however I would like to know if there is a better
one.

=INDEX('Running total'!G21:G1040,COUNT('Running
total'!G21:G1040))-INDEX('Running total'!G21:G1040,COUNT('Running
total'!G21:G1040)-1)

Right now the data goes to about row 200.

Thanks in advance.

Peo Sjoblom

Improving formula
 
I think your formula is pretty effective


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com






"Brad" wrote in message
...
Everyday a new line of data is added to the bottom of a report. What has
to
be done, in a summary report (found on a different tab) is to subtract
yesterday's value from today's value.

The equation below works - however I would like to know if there is a
better
one.

=INDEX('Running total'!G21:G1040,COUNT('Running
total'!G21:G1040))-INDEX('Running total'!G21:G1040,COUNT('Running
total'!G21:G1040)-1)

Right now the data goes to about row 200.

Thanks in advance.





All times are GMT +1. The time now is 05:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com