Sumproduct with Sumifs

I'm trying to use a sumproduct formula with a sumifs and I can't seem to get it to work. I need to lookup the date in cell A4 and sum the values on my worksheet "Invoices" in column O and sum all the rows that have that date in column A where there is text in column J that has "AR.00" in it somewhere. Here's what I have but it doesn't seem to be working. What am I doing wrong?

SUMPRODUCT(--(Invoices!A2:A113='Master Dashboard'!A4),SUMIFS(Invoices!$O$2:$O$5000,Invoices!$J$2:$J$5000,"*AR.00*"))

Open in new window

LVL 1
Lawrence SalvucciInformation Technology ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

barry houdiniCommented:
I think you might want SUMIFS on its own like this

=SUMIFS(Invoices!$O$2:$O$5000,Invoices!$J$2:$J$5000,"*AR.00*",Invoices!$A$2:$A$5000,'Master Dashboard'!A4)

Does that do what you need?

regards, barry
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lawrence SalvucciInformation Technology ManagerAuthor Commented:
I tried that but it didn't seem to work when I added the second criteria. Do I have to do anything different because that criteria is looking up a date?
0
Lawrence SalvucciInformation Technology ManagerAuthor Commented:
Nevermind. It's working. I had today's date in there and it didn't match cause there were no records with today's date. Thank you for you help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.