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

#### scoobyblue

##### Active Member
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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

#### MycroftII

##### New Member
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.

##### MrExcel MVP
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.

Replies
1
Views
61
Replies
0
Views
114
Replies
0
Views
88
Replies
5
Views
355
Replies
3
Views
571

1,181,825
Messages
5,932,278
Members
436,832
Latest member
joro613

### 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.

### Which adblocker are you using?

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

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