SUMPRODUCT using vertical and horizontal matches

mssbass

Active Member
Joined
Nov 14, 2002
Messages
253
Platform
  1. Windows
I'm trying to build a formula in my rates tab (see below) to show the minimum price of the unit found. I've started trying to build the SUMPRODUCT statement but getting a value error (see rates tab below formula bar). I noticed the dates on the comps tab were string rather than date so I added a row above to edit the dates to a datevalue (but even changing them to a date and adjusting the name range doesn't fix the issue). The SUMPRODUCT for this unit/date should be $685 and the minimum is $95 (see comps tab highlighed in yellow). Can someone help me with this formula?

I was unable to add a mini sheet due to company policy popup
 

Attachments

  • Rates Tab.JPG
    Rates Tab.JPG
    41.9 KB · Views: 24
  • comps tab.JPG
    comps tab.JPG
    75.4 KB · Views: 27
  • Name Mgr.JPG
    Name Mgr.JPG
    25.7 KB · Views: 24

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Would this work for you ?
Assumes you are pulling your data from the sheet comps.
Excel Formula:
=SUMIFS(
     INDEX(comps!$A$1:$I$20,
                  0,
                  MATCH($A2,comps!$A$1:$I$1,0)),
     comps!$A$1:$A$20,$F2)

You might want to update your profile to show which version of Excel you are using, the solution often varies based on the version.
 
Upvote 0

Forum statistics

Threads
1,224,737
Messages
6,180,645
Members
452,992
Latest member
TokugawaIesuma

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