Looking to Count multiple items

Randomhero180

New Member
Joined
Sep 14, 2011
Messages
44
Hey All

I have a report that already counts multiple criteria, but I need it to count more and I cannot see where to add them to the formula I already have.

The formula I have counts items that meet a certain date criteria, a certain "status code" (ie complete), and what category it is in. I need it to count multiple status codes such as estimate, in progress, and complete.

here is the formula I have:

=SUMPRODUCT((TEXT(Sheet1!H19:H12678,"mmmyyyy")=TEXT('Current Images Available'!H1,"mmmyyyy"))*(Sheet1!B19:G12678=A3)*(Sheet1!V19:V12678=C2)*2.5)

A3 is the status code i am counting and I need to count multiple status codes.

I'm sorry it is difficult to explain, hope this makes sense.

Thanks in advance!

RH
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try the following formulas, which need to be confirmed with CONTROL+SHIFT+ENTER...

=SUM(IF(TEXT(Sheet1!H19:H12678,"mmmyyyy")=TEXT('Current Images Available'!H1,"mmmyyyy"),IF(ISNUMBER(MATCH(Sheet1!B19:G12678,{"Estimate","In Progress","Complete"},0)),IF(Sheet1!V19:V12678=C2,1))))

or

=SUM(IF(TEXT(Sheet1!H19:H12678,"mmmyyyy")=TEXT('Current Images Available'!H1,"mmmyyyy"),IF(ISNUMBER(MATCH(Sheet1!B19:G12678,A3:A5,0)),IF(Sheet1!V19:V12678=C2,1))))

...where A3:A5 contains the text values...

Estimate
In Progress
Complete
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,896
Members
452,948
Latest member
Dupuhini

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