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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

MycroftII

New Member
Joined
Sep 30, 2004
Messages
29
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.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
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.
 

Forum statistics

Threads
1,147,848
Messages
5,743,525
Members
423,801
Latest member
paulj4177

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
Top