Subtracting to vlook up values

pedexe90

Board Regular
Joined
Apr 18, 2018
Messages
59
Hi everyone,

How can I subtract two vlook up values and return the valu in a cell:

VLOOKUP($C194,History.BalanceSheet.Current.Year,MATCH($D$137,History.BS.Current.Year.Date.Vlookup,0) - VLOOKUP($C198,History.BalanceSheet.Current.Year,MATCH($D$137,History.BS.Current.Year.Date.Vlookup,0)

many thanks
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Try This

(VLOOKUP($C194,History.BalanceSheet.Current.Year,MATCH($D$137,History.BS.Current.Year.Date.Vlookup,0)) - (VLOOKUP($C198,History.BalanceSheet.Current.Year,MATCH($D$137,History.BS.Current.Year.Date.Vlookup,0))
 
Upvote 0

Try This

(VLOOKUP($C194,History.BalanceSheet.Current.Year,MATCH($D$137,History.BS.Current.Year.Date.Vlookup,0)) - (VLOOKUP($C198,History.BalanceSheet.Current.Year,MATCH($D$137,History.BS.Current.Year.Date.Vlookup,0))

Thanks for the reply. I was hoping a function would combine these two. So if I have 5 look ups, I'll have to do the same. It seems a bit repetitive.
 
Upvote 0
Thanks for the reply. I was hoping a function would combine these two. So if I have 5 look ups, I'll have to do the same. It seems a bit repetitive.


Is there a way to just use one vlook up if they are all the same and apply to the difference. Like in maths when you you have : x+2x you can make it easier by writing it as x(1+x). Can you not do the same with vlook up and and only apply one vloop and just list the cells you want to add or subtract?
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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