Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Countif

--------------------------------------------------------------------------------

I am trying to make a chart that will tell how many people are working in
any 24hour period.

I have the sample chart and shifts as

..........A.........B................C............ D
1......0600.....1430..........0400.....RESULT
2......0600.....1430..........0500.....RESULT
3......1200.....2030..........0600.....RESULT
4......2100.....0530..........AND CONTINUE TO 2400

I am using the formula of
=COUNTIF(A$1:A$4,"<=0")*AND(COUNTIF(B$1:B$4,"=0") )

This works great till I get to my overnight shifts and then it counts as
"False" and gives a result of 0.

I need a formula that would have countif column a and column b when true and
when column b less than column a it would count till 0530 in the morning.

Any help would be appreciated.

Thanks,
Mike
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Countif kwiklearner Excel Worksheet Functions 1 March 29th 06 03:50 PM
How do I use a countif function according to two other countif fu. Kirsty Excel Worksheet Functions 2 February 20th 06 11:44 AM
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") sctroy Excel Discussion (Misc queries) 2 September 25th 05 04:13 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM


All times are GMT +1. The time now is 02:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"