Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subtract last value from first value?

Status
Not open for further replies.

NerdyOne

MIS
Oct 16, 2001
50
US
I have a spreadsheet that is generated weekly with a presentation form in front. I need a cell to reference sheet1 and subtract the bottom value from the top value. The problem is one week there may be 4,000 records and the next week there may be 5,000 records.

So what formula could I use to subtract the last value from the top most value.

Example: =Northwest!E4392-E2 sometimes needs to be =Northwest!E5112-E2
 
Try this one:
=INDEX(Northwest!E2:E65523,COUNT(Northwest!E2:E6523))-Northwest!E2

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top