ozbeachbum
Board Regular
- Joined
- Jun 3, 2015
- Messages
- 159
- Office Version
- 2021
- Platform
- Windows
Hi All,
I am trying to count the number of non blank cells in 2 ranges and exclude formulas.
Attached is a sample sheet.
Any assistance would be greatly appreciated.
I am trying to count the number of non blank cells in 2 ranges and exclude formulas.
Attached is a sample sheet.
Any assistance would be greatly appreciated.
count not formula.xlsx | ||||||
---|---|---|---|---|---|---|
B | C | D | E | |||
2 | Current Entries | Should show: NO Current Entries | ||||
3 | ||||||
4 | 0 | 0 | ||||
5 | ||||||
6 | ||||||
7 | ||||||
8 | ||||||
9 | ||||||
10 | 0 | 0 | ||||
11 | ||||||
12 | ||||||
13 | ||||||
14 | ||||||
15 | ||||||
16 | 0 | 0 | ||||
17 | ||||||
18 | ||||||
19 | ||||||
20 | ||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2 | B2 | =IF(AND(COUNTA(B4:B20,C4:C20))>0,"Current Entries","No Current Entries") |
B16:C16,B10:C10,B4:C4 | B4 | =COUNTA(B5:B8) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B2:C2 | Expression | =$B$2="Current Entries" | text | NO |
C16 | Cell Value | >0 | text | NO |
B16 | Cell Value | >0 | text | NO |
C10 | Cell Value | >0 | text | NO |
C4 | Cell Value | >0 | text | NO |
B10 | Cell Value | >0 | text | NO |
B4 | Cell Value | >0 | text | NO |