Count 2 col's data (Sec's 0 - 6 & "Reviewed" o

scoobyblue

Active Member
Joined
Jun 30, 2004
Messages
380
Column C cells have either 0, 1, 2, 3, 4, 5 or 6 (Sectors) entered and Column K has text entered ("Reviewed") but some cells will be blank.

I want to be able to count the number of occurrences where text is entered in col' K for 0, 1, 2, 3 etc. Basically, how many of the different Sectors have been reviewed.

So by having a different Cell that can be changed to any number from 0 to 6, another cell would always show the relevant number of matches where they have been Reviewed (this text is input into the ActiveCell in Col' K when a macro is run).

Hope it makes sense, thanks for your help.

Stewart
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Try

{=SUM(($C$1:$C$999=Number)*ISTEXT($K$1:$E$999))}

Note that this is an array formula, ie. leave out the curly brackets when entering it - end enter it with CTRL + SHIFT + Enter.

Number refers to the number you want to count. Ie. you need 7 cells contains 0..6 and this formula, each referring to one of these cells.
 
Upvote 0
Re: Count 2 col's data (Sec's 0 - 6 & "Reviewed&quo

=SUMPRODUCT(--(SectorRange=Sector),--(StatusRange="Reviewed"))

which just needs enter. Sector is a cell that houses a sector number.
 
Upvote 0

Forum statistics

Threads
1,214,899
Messages
6,122,155
Members
449,068
Latest member
shiz11713

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