troubleshooting Question

Excel Sumif #Value May need Sumproduct Part 2

Avatar of avgplusguy
avgplusguyFlag for United States of America asked on
Microsoft ExcelMicrosoft Office
3 Comments1 Solution8 ViewsLast Modified:
I want to sum all values for each Product and its variations YTDTestLine2.xlsx
$B$8 is cell where user puts the current month m/d/yyyy
Q1:AB1 standard first of month data 1/1/2021, 2/1/2021 etc
Currently Act list Products and sometimes there variation, but are counted in summary
Currently Bud does not have variations, but may in the future

sumproduct solution works for Act tab which has either 1 or 2 rows that are summed up in Summary tab. Same logic for Bud tab produces 0 for all lookups  
Bud tab has no variation rows and therefore less rows, but may change in the future
Row 2 Product A is not budgeted and is blank, but summary does not change if I change this row to numeric 1s


=SUMPRODUCT(Act!$E$1:$AB$23,(LEFT(Act!$D$1:$D$23,LEN($D17))=$D17)*(Act!$E$1:$AB$1<=$B$8)*(Act!$E$1:$AB$1>=DATE(YEAR($B$8),1,1)))    =  57,781

 =SUMPRODUCT(Bud!$E$1:$AB$17,(LEFT(Bud!$D$1:$D$17,LEN($D17))=$D17)*(Bud!$E$1:$AB$1<=$B$8)*(Bud!$E$1:$AB$1>=DATE(YEAR($B$8),1,1)))             =  0
Instead of 52,117
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros