Sumproduct

kpro

New Member
Joined
Dec 29, 2022
Messages
12
Office Version
  1. 365
Platform
  1. Windows
I am working on a quoting sheet for my company, (trying to impress the new boss), and have figured out how to do the dependent data validation, which is working perfectly. But I need to populate a cost of the item that ends up being selected by the data validation. (It will match a specific item at the end, each option will have its own separate cell) When I enter a Sumproduct formula that I have used on a different project working with the same type of set up, I am getting a 0. I have checked the cell format, set it to general, then number, then back to general and I canNOT get it to populate. If anyone can direct me on what I am doing wrong, that would be amazing.

Thank you!!

Formula being used:
=IFERROR(SUMPRODUCT((Sheet2!$A$3:$A$14=Sheet1!A3)*(Sheet2!$B$3:$B$14=Sheet1!B3)*(Sheet2!$C$3:$C$14=Sheet1!C3)*(Sheet2!$D$3:$D$14=Sheet1!D3)*(Sheet2!$F3:$F14=Sheet1!E3)*(Sheet2!$H$3:$H$14)), "")

The salesman will select all options in row 3 - they will very - i am looking for the cost to populate in f3(that is where the formula is)
1702302814834.png
Selections are being made on "Sheet2"

Here is the data table on "Sheet1"
1702303024099.png
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
It looks as though you might have the sheet references the wrong way round, judging by your description.
 
Upvote 0
It looks as though you might have the sheet references the wrong way round, judging by your description.
I just checked myself, I typed it wrong in here, thank you for that. My Sheet 2 is where I have the data table. Sheet 1 is my salesmen's selection sheet.
 
Upvote 0
Ok, in B3 you have TREX, but thee only value visible on the other sheet is TREK.
 
Upvote 0
Solution
Ok, in B3 you have TREX, but thee only value visible on the other sheet is TREK.
OH MY GOSH - I HAVE BEEN ON THIS FOR 3 DAYS LOL you are so wonderful, thank you so stinkin much!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Selections are being made on "Sheet2"

Here is the data table on "Sheet1"

if your data table is on sheet 1 and your selections being made are on sheet 2, looks like you have them backwards in your formula

Excel Formula:
=IFERROR(SUMPRODUCT((Sheet1!$A$3:$A$14=Sheet2!A3)*(Sheet1!$B$3:$B$14=Sheet2!B3)*(Sheet1!$C$3:$C$14=Sheet2!C3)*(Sheet1!$D$3:$D$14=Sheet2!D3)*(Sheet1!$F3:$F14=Sheet2!E3)*(Sheet1!$H$3:$H$14)), "")
 
Upvote 0
Which is what I said 1/2 an hour ago. ;)
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,952
Members
449,095
Latest member
nmaske

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