SUMIFS Using VLOOKUP Range

MPierce486

New Member
Joined
Jun 8, 2012
Messages
23
Office Version
  1. 2016
I am trying to SUMIFS using multiple criteria, but one of the criteria is dependent on another table. See below.

1644606095510.png
1644606160925.png


I am trying to sum up all amounts with a "111" account number AND where the "Code" is equal to "Equity". The first part is easy by using =SUMIF(A3:A8,111,C3:C8). However, I'm unable to a VLOOKUP for the next part since I cannot select a range as the lookup_value. Using =SUMIF(VLOOKUP(B3:B8,E3:F7,2),Equity,C3:C8) does not work.

I have tried using SUMPRODUCT or SUMIF along with INDEX & MATCH, but no success yet. Any help is appreciated. Thank you!
 
You can do a helper column. Put the vlookup in column D and use that in the sumproduct. I guess you are running an old excel.
I'll just use this solution for the time being and will upgrade to your formulas if/when I upgrade my version of excel. Thanks!
 
Upvote 0

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,216,086
Messages
6,128,736
Members
449,466
Latest member
Peter Juhnke

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