Index and Match or Vlookup with subtracting?

worldCurrencies

New Member
Joined
Mar 7, 2022
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Hello, I have a spreadsheet that changes dynamically using the offset function. I want to be able to subtract in 1 column. I want to subtract the very last value in the last row by the first value.

For example:
1646669151810.png

In the image, please ignore column B. "Change in NFP", column C, is the column in which I'm trying to populate using index and match.
Right now, the formula for "Change in NFP" is = Ax - $A$18, where column A is "NFP Total". F18 is the last row, 144,431,000. However, when I change the time frame, F18 won't be the last row. How would I do this? I haven't done anything with index and match or vlookup, so if someone could provide the equation as well as explain it, I'd appreciate it. Thank you.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi & welcome to MrExcel.
You can use this to get the last value in col A
Excel Formula:
=LOOKUP(2,1/($A$2:$A$10000<>""),$A$2:$A$10000)
 
Upvote 0

Forum statistics

Threads
1,223,632
Messages
6,173,467
Members
452,516
Latest member
archcalx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top