Sumifs array...

encioman

Board Regular
Joined
May 30, 2012
Messages
53
Hello experts,

What formula can I use to get the value:


Name1-Feb-203-Feb-2010-Feb-2020-Feb-2001-Mar-20
Cups258712
Spoons31798
Cloth634511
Plate1052414

Need to have:

Name​
Date​
Total numbers beyond the given date​
Cloth3-Feb-20<what formula which can be copied down..>
Cups1-Feb-20
Plate10-Feb-20

Thanks in advance...

God bless
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
A couple of methods that will do it,
Book1
ABCDEF
1Name01-Feb-2003-Feb-2010-Feb-2020-Feb-2001-Mar-20
2Cups258712
3Spoons31798
4Cloth634511
5Plate1052414
6
7Name?Date?1 wayanother way
8Cloth03-Feb-202020
9Cups01-Feb-203232
10Plate10-Feb-201818
Sheet3
Cell Formulas
RangeFormula
C8:D10C8=SUMPRODUCT(($A$2:$A$5=$A8)*($B$1:$F$1>$B8)*$B$2:$F$5)


edit:-
xl2bb didn't detect the second formula correctly, the formula in D8 is =IFERROR(SUM(INDEX(INDEX($B$2:$F$5,0,MATCH($B8,$B$1:$F$1)+1):$F$5,MATCH($A8,$A$2:$A$5,0),0)),0)
 
Upvote 0
Hi, and another option you could consider.

Book1
ABCDEF
1Name01-Feb-202003-Feb-202010-Feb-202020-Feb-202001-Mar-2020
2Cups258712
3Spoons31798
4Cloth634511
5Plate1052414
6
7NameDate
8Cloth03-Feb-202023
9Cups01-Feb-202034
10Plate10-Feb-202020
Sheet1
Cell Formulas
RangeFormula
C8:C10C8=SUMIFS(INDEX($B$2:$F$5,MATCH($A8,$A$2:$A$5,0),0),$B$1:$F$1,">="&$B8)
 
Upvote 0
FormR has identified my ability to overlook the obvious :oops:
 
Upvote 0

Forum statistics

Threads
1,215,513
Messages
6,125,262
Members
449,219
Latest member
daynle

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