Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rookie
 
Posts: n/a
Default IF function to help with scheduling

I work in a call center and I am making a spreadsheet to see how many agents
we have on the phone by there schedules. (in 15 min. increments) It looks
like this:

A B C D E F G
H I J ......
3 NAME START STOP LUNCH 800 815 830 845 900
.......
4 JOHN 815 1715 1200 1300 X X X X
X ......

I made an If function to mark an X if the employee is there by their start
and stop time but I can't get it to not put an X when there are on lunch. The
formula that I have now is: =IF(AND($F3=$B4,$F3<$C4),"X","")

The ones that I have tried but dont work are
: =IF(AND(F$3=$B4,F$3<$C4),IF(AND(F$3<$D4,F$3<$E4), "X",""))
and: =IF(AND(F$3=$B4,F$3<$C4),IF(F$3<$D4,"X",IF(F$3<$E 4,"X")),"")

Please Help!! Thanks in advance.
~ROOKIE~
  #2   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default IF function to help with scheduling

try this
http://www.microsoft.com/office/comm...a ng=en&cr=US
--
paul
remove nospam for email addy!



"Rookie" wrote:

I work in a call center and I am making a spreadsheet to see how many agents
we have on the phone by there schedules. (in 15 min. increments) It looks
like this:

A B C D E F G
H I J ......
3 NAME START STOP LUNCH 800 815 830 845 900
......
4 JOHN 815 1715 1200 1300 X X X X
X ......

I made an If function to mark an X if the employee is there by their start
and stop time but I can't get it to not put an X when there are on lunch. The
formula that I have now is: =IF(AND($F3=$B4,$F3<$C4),"X","")

The ones that I have tried but dont work are
: =IF(AND(F$3=$B4,F$3<$C4),IF(AND(F$3<$D4,F$3<$E4), "X",""))
and: =IF(AND(F$3=$B4,F$3<$C4),IF(F$3<$D4,"X",IF(F$3<$E 4,"X")),"")

Please Help!! Thanks in advance.
~ROOKIE~

  #3   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default IF function to help with scheduling


Try using OR....

=IF(OR(AND(F$3=$B4,F$3<$D4),AND(F$3$E4,F$3<$C4)) ,"X","")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=531102

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bryan Hessey
 
Posts: n/a
Default IF function to help with scheduling


=IF(OR($B4F$3,$C4<=F$3),"h",IF(AND($D4<=F$3,$E4F $3),"l","x"))

remove the h and l when you have tested this (ie, make "")

--

Rookie Wrote:
I work in a call center and I am making a spreadsheet to see how many
agents
we have on the phone by there schedules. (in 15 min. increments) It
looks
like this:

A B C D E F G
H I J ......
3 NAME START STOP LUNCH 800 815 830 845
900
.......
4 JOHN 815 1715 1200 1300 X X X
X
X ......

I made an If function to mark an X if the employee is there by their
start
and stop time but I can't get it to not put an X when there are on
lunch. The
formula that I have now is: =IF(AND($F3=$B4,$F3<$C4),"X","")

The ones that I have tried but dont work are
: =IF(AND(F$3=$B4,F$3<$C4),IF(AND(F$3<$D4,F$3<$E4), "X",""))
and: =IF(AND(F$3=$B4,F$3<$C4),IF(F$3<$D4,"X",IF(F$3<$E 4,"X")),"")

Please Help!! Thanks in advance.
~ROOKIE~



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=531102

Reply
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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 09:24 AM.

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

About Us

"It's about Microsoft Excel"