Sum(Index)(Match)

Guzzlr

Well-known Member
Joined
Apr 20, 2009
Messages
946
Office Version
  1. 2016
Platform
  1. Windows
Hello, here's a short example of data:
In Column L4 I have: =SUM(INDEX(E:H,MATCH(K4,E:E,0),0))
What I want to sum, is if the date in K4 is found in Column E, then all the numbers in Column G:H are added, which should be 12.
I wanted to use SUMIF, but got no where with that!
Can someone tell me what I'm doing wrong please...
Thank you for your help

Column EColumn FColumn G & H (Merge & Center)Column I & J (Merge & Center)Column KColumn L
1/3/20220:001/3/202244564
1/3/20221:000
1/3/20222:000
1/3/20223:000
1/3/20224:000
1/3/20225:0010
1/3/20225:3010
1/3/20226:0010
1/3/20227:0010
1/3/20228:0010
1/3/20229:0010
1/3/202210:0010
1/3/202211:0010
1/3/202212:0010
1/3/202213:0010
1/3/202214:0010
1/3/202215:0010
1/3/202216:000
1/3/202217:000
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Difficult to tell what is wrong with the sumifs you used as you haven't posted it.
 
Upvote 0
My SUMIFS formula: =SUMIFS(G:G,G:G,"1",E:E,"1-3-2022")
The reason why I dont like this, is I have to manually type in 1-3-2022.
1-3-2022 is in cell K4.
I haven't had luck installing =K4 in the SUMIFS formula. So now I'm trying the Sum (Index)(Match) instead.
 
Upvote 0
Try: =SUMIFS(G4:G22;E4:E22;"="&K4)
 
Upvote 0
Solution
Your welcome! Mark it as solved, if it works. ;)
 
Upvote 0

Forum statistics

Threads
1,215,198
Messages
6,123,589
Members
449,109
Latest member
Sebas8956

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