Sumif/sumproduct help!

KATYCUSHEN

New Member
Joined
Sep 9, 2019
Messages
2
I am struggling with creating a formula that works for the below scenario

ABC
1ItemBudget v1Budget v2
2Item A5055
3Item B6065
4Item C7075
5Item D8085

<tbody>
</tbody>

I have two sheets in one workbook. One with full budget data with in this scenario a Budget v1 and Budget v2 along with individual item names

I want to set up a formula in a separate sheet to input the correct number based on two criteria, the specific item name and the specific budget number

I can get SUM IF to work if there is only one criteria but not both. I have also tried SUMPRODUCT and INDEX MATCH scenarios but not successfully!

I also want to avoid writing "Item A" as this formula will need to scan hundreds of lines of data - all individually named

All help appreciated
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Welcome to the lounge.

Do you mean something like this:

Code:
=INDEX(A1:C5,MATCH("Item C",A1:A5,0),MATCH("Budget v2",A1:C1,0))

Where you could put the item reference in a cell and the budget reference in another and change the specific quoted values above.

The above formula would return 75.

Alternatively:

Code:
=INDEX(Budget!A1:C5,MATCH("Item C",Budget!A1:A5,0),MATCH("Budget v2",Budget!A1:C1,0))
 
Last edited:
Upvote 0
More general it would look like this:


Excel 2010
ABC
1Item CBudget v275
2Item ABudget v255
3Item BBudget v160
NewBudget
Cell Formulas
RangeFormula
C1=INDEX(Budget!$A$1:$C$500,MATCH(A1,Budget!$A$1:$A$500,0),MATCH(B1,Budget!$A$1:$C$1,0))
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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