SUMIFS INDEX and MATCH

atearth

New Member
Joined
Feb 25, 2015
Messages
39
Office Version
  1. 365
  2. 2013
  3. 2007
Platform
  1. Windows
  2. Web
Hi all,

I'm trying to use SUMIFS INDEX and MATCH but the answer I get is wrong.
Anyone know what the answer is to a problem I have?
Please see the image below.
Thank you in advance

Excel Formula:
=SUMIFS(INDEX($F$15:$M$18,0,MATCH(F$24,$F$14:$M$14,0)),$D$15:$D$18,$D25)


1675461906944.png
 
Last edited:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
For Sumifs, the first argument needs to be a range, not a value returned by INDEX. You can build a reference from index however.

In your example can you explain what values are supposed to be summed?
 
Upvote 0
From looking at commissioning in the month of Jan-23.

I'm not understanding your first comment.
 
Upvote 0
the requirement for the SUMIFS function is that the first argument is a range reference..
the caclulation INDEX($F$15:$M$18,0,MATCH(F$24,$F$14:$M$14,0)) returns a value of "WBS Description" or "Outline Design".. I'm not sure the zero for "ROW" number is valid, but I could be wrong.
 
Upvote 0
what value did you expect to get with that formula? And what is the location of the value (the cell reference)?
 
Upvote 0
what value did you expect to get with that formula? And what is the location of the value (the cell reference)?
I need to clarify.. if you are summing a number of values.. please give me the addresses of all the cells you want to sum.
 
Upvote 0
Cells I need to edit the formulas in
F25 G25
F26 G26
F27 G27
F28 G28

Values are in the following cells
F15 to M15
F16 to M16
F17 to M17
F18 to M18

If the formulas were working then it would look like the below.

1675463714475.png
 
Upvote 0
From looking at commissioning in the month of Jan-23.

I'm not understanding your first comment
In both of the grid areas above the calculation you have numerous columns wiht Jan 23 date. How do you want to accomodate that?
 
Upvote 0
That is correct as each one represents 1 week.
Am I to merge all 4 so they are 1?
 
Upvote 0
I think showing Feb is fine I'm still figuring that out, but it can probably work with sumproduct.
(It will take me a while to figure that out, i'm not super good with that!). If you want to merge them you can but it would take some detail out of your information that you may not want to do.
 
Upvote 0

Forum statistics

Threads
1,215,633
Messages
6,125,928
Members
449,274
Latest member
mrcsbenson

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