Count this and not that when this is "this"

VIGILANCE

New Member
Joined
Oct 3, 2017
Messages
3
Hi,

Thank you very much for your time.

I want to count the number of issues and leave out the "break" where the counted cells are the date I want.

Date # Issue Status Resolution Type Incident # TIME STAMP

10/3/2017 16 something I don't know what R As long as it works C 2803356 4:25:41 PM
10/3/2017 15 BREAK 3:45 BREAK B 3:45:27 PM
10/3/2017 14 BREAK 3:30 BREAK B 3:30:11 PM
10/3/2017 13 something I don't know what R As long as it works EM 280321 3:28:49 PM
10/3/2017 12 something I don't know what R As long as it works C 280329 3:24:51 PM
10/2/2017 5 something I don't know what R As long as it works C 280183 10:22:46 PM
10/2/2017 4 BREAK 8:54 BREAK B 8:54:34 PM
10/2/2017 3 BREAK 8:39 BREAK B 8:39:11 PM
10/2/2017 2 something I don't know what R As long as it works Old 279464 8:36:04 PM
10/2/2017 1 something I don't know what R As long as it works VM 280171 8:24:25 PM
10/2/2017 3 something I don't know what R As long as it works VM 280163 8:23:14 PM

Been trying on my own and couldn't figure this out, please help. Thanks!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
If I read you correctly you want to count the rows that don't have BREAK.

I'm not an expert by any means but would do this.

In new column (here I use column I ) add =IF(OR(C3="BREAK", E3="BREAK"),0,1) to each row. When the formula sees a "BREAK" it will return 0 else it will return a 1

At the end add in a new cell =SUM(I3:I13) to add up all the 1s.
 
Last edited:
Upvote 0
If I read you correctly you want to count the rows that don't have BREAK.

I'm not an expert by any means but would do this.

In new column (here I use column I ) add =IF(OR(C3="BREAK", E3="BREAK"),0,1) to each row. When the formula sees a "BREAK" it will return 0 else it will return a 1

At the end add in a new cell =SUM(I3:I13) to add up all the 1s.



Thanks for your reply. You are right, however the secondary condition is that the cells counted must be of a specific date. In the data that I miserably failed to post understandably, there are two dates listed.
 
Upvote 0
That's Ok.

In Cell I1 put in the date you want to analyse, then put this into every row as before =IF(A3=$I$1,IF(OR(C3="BREAK",E3="BREAK"),0,1),0)

If the date in A3 equals the date in I1 then check for the BREAK condition else return a 0.

Doing it this way means you just have to put in the date and it will calculate for you. Maybe put the sum in I2 for convenience.
 
Upvote 0
You could use a COUNTIFS. Something like:

=COUNTIFS(A3:A13,A3,C3:C13,"<>BREAK")

where in this example A3 contains your date of interest.
 
Upvote 0

Forum statistics

Threads
1,224,836
Messages
6,181,250
Members
453,026
Latest member
cknader

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