Miscounting in column T

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
No it doesn't.

You have the value 151 in K3, that plus a non zero value in E3 counts as 2.
Excel is correct.

Column K has data that you haven't displayed correctly.
Change the colour column K's text to red and you'll see there are non zero values in that column.
 
Last edited:
Upvote 0
will fudge with =COUNTIF(E3:Q3,">0")-1
 
Upvote 0
or =SUMPRODUCT(--(F3:Q3>0))

with data like this:

[Table="width:, class:head"][tr=bgcolor:#000000][th] [/th][th]
F
[/th][th]
G
[/th][th]
H
[/th][th]
I
[/th][th]
J
[/th][th]
K
[/th][th]
L
[/th][th]
M
[/th][th]
N
[/th][th]
O
[/th][th]
P
[/th][th]
Q
[/th][th]
R
[/th][th]
S
[/th][th]
T
[/th][/tr]
[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
3
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
294
[/td][td]
294
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
4
[/td][td]
0
[/td][td]
146
[/td][td]
148
[/td][td]
149
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
743
[/td][td]
743
[/td][td=bgcolor:#FFFF00]
4
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
5
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
296
[/td][td]
296
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
6
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
151
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
7
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
151
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
8
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
151
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
9
[/td][td]
0
[/td][td]
147
[/td][td]
149
[/td][td]
0
[/td][td]
149
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
744
[/td][td]
744
[/td][td=bgcolor:#FFFF00]
4
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
10
[/td][td]
0
[/td][td]
148
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
441
[/td][td]
441
[/td][td=bgcolor:#FFFF00]
2
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
11
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
295
[/td][td]
295
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
12
[/td][td]
0
[/td][td]
149
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
446
[/td][td]
446
[/td][td=bgcolor:#FFFF00]
2
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
13
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
151
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
14
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
301
[/td][td]
301
[/td][td=bgcolor:#FFFF00]
1
[/td][/tr]

[tr=bgcolor:#FFFFFF][td=bgcolor:#000000]
15
[/td][td]
75
[/td][td]
150
[/td][td]
150
[/td][td]
150
[/td][td]
150
[/td][td]
151
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
0
[/td][td]
973
[/td][td]
898
[/td][td=bgcolor:#FFFF00]
6
[/td][/tr]
[/table]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,225,740
Messages
6,186,759
Members
453,370
Latest member
juliewar

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