Simple(er) formula for summing multiple vlookups

adllewis42

New Member
Joined
Aug 12, 2011
Messages
5
Just FYI, I have a formula that works but I feel like there has to be a simpler way to make it happen. I figured I would ask and see what you all have to say.

I am trying to automate a process in financial reporting and, as part of that, I am constructing a worksheet that pulls together a lot of data. One thing I am trying to get is rolling 3mo data in aggregate. The reports from our accounting system always put the last three months in columns 6, 8, and 10.

Right now, Im using a formula that looks like this...

=round((vlookup("Adjusted EBITDA",$A:$J,10,false)+vlookup("Adjusted EBITDA",$A:$J,8,false)+vlookup("Adjusted EBITDA",$A:$J,6,false))/1000000,1)

That gives me the sum of the 3 most recent months in one cell. I thought about using some kind of sumif but since the names of the months (and years) will always be changing, I didnt think it would work.

If anyone is willing to help, it would be greatly appreciated.

Thanks.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi

This is your formula simplified:

=ROUND(SUMPRODUCT(VLOOKUP("Adjusted EBITDA",$A:$J,{6,8,10},FALSE))/1000000,1)

HTH
 
Upvote 0
Hi

This is your formula simplified:

=ROUND(SUMPRODUCT(VLOOKUP("Adjusted EBITDA",$A:$J,{6,8,10},FALSE))/1000000,1)

HTH

Youre amazing. This is exactly what I was looking for. I knew it could be done but I just didnt know how. Thank you so much!
 
Upvote 0
=round(sumifs($F:$F,"Adjusted EBITDA",$H:$H,"Adjusted EBITDA",$J:$J, "Adjusted EBITDA")/1000000,1)

I dont think that would work, would it? The term 'Adjusted EBITDA' doesnt appear in the columns F, H, or J. Its listed as a line item in column A and then the other columns show the amount for whatever period you happen to be looking at.
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,750
Members
452,940
Latest member
rootytrip

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