Count Question

Treasured2005

New Member
Joined
Sep 4, 2012
Messages
10
I need a count to work in an aggregate formula. My goal is to extract records that have multiple criteria. I am using steps from this YouTube video to try to make this work. He starts talking about the aggregate formula around minute 19, if you decide to look at it.

This is the user interface with drop-down boxes for each underlined word.

1579207156070.png


My count formula looks like this right now, but it is returning a value of 0 which is incorrect: =SUMPRODUCT(--(ISNUMBER(SEARCH($L$3,'Seed Database'!B:B)))*('Seed Database'!$E:$E=February!$J$3)*('Seed Database'!$A:$A=February!$K$3)*('Seed Database'!$C:$C=February!$N$3)*('Seed Database'!$D:$D=February!$P$3))

This works by itself: =SUMPRODUCT(--(ISNUMBER(SEARCH($L$3,'Seed Database'!B:B))))

and

This works by itself: =SUMPRODUCT(('Seed Database'!$E:$E=February!$J$3)*('Seed Database'!$A:$A=February!$K$3)*('Seed Database'!$C:$C=February!$N$3)*('Seed Database'!$D:$D=February!$P$3))

Can I combine them? If so, can you help me do it?

This is what the Seed Database looks like for reference:

1579207974240.png
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
You're almost there, try this (notice I moved one closing bracket to the end):
=SUMPRODUCT(--(ISNUMBER(SEARCH($L$3,'Seed Database'!B:B))*('Seed Database'!$E:$E=February!$J$3)))
Cheers,
Koen
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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