A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Time/priority problem



 
 
Thread Tools Display Modes
  #1  
Old April 16th, 2009, 10:29 AM
sonic-the-mouse sonic-the-mouse is offline
Member
 
First recorded activity by OfficeFrustration: May 2005
Posts: 16
Red face Time/priority problem

I am trying to set up a spreadsheet to report on how we are meeting our priority orders in line with time constraints

col A - Date
Col B - Time order in (format hh:mm)
Col C - Time order out (format as col b)
Col D - Is it a priority order Y/N
Col E - Time taken from receipt to complete (sum col c - col b) (format [mm])

My problem is Col F where i am trying to return a figure/text for if col d is a priority and col E is greater than 120 minutes

Tried =IF(E2=$K$2,D2=$L$2,1) where k2 = Y and L2 = 120 but it returns FALSE for every cell that is a priority no matter how long it has taken.

Any help gratefully received,

Frustrated
  #2  
Old April 16th, 2009, 11:16 AM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Time/priority problem

Hi,

Where
K2= Y
L2 = 02:00

try this

=IF(AND(D2=K2,E2L2),"Something","Something Else")

Your cersion is going wrong where you compare 120minutes (E2) to the number
120 (L2)

Mike

"sonic-the-mouse" wrote:


I am trying to set up a spreadsheet to report on how we are meeting our
priority orders in line with time constraints

col A - Date
Col B - Time order in (format hh:mm)
Col C - Time order out (format as col b)
Col D - Is it a priority order Y/N
Col E - Time taken from receipt to complete (sum col c - col b) (format
[mm])

My problem is Col F where i am trying to return a figure/text for if
col d is a priority and col E is greater than 120 minutes

Tried =IF(E2=$K$2,D2=$L$2,1) where k2 = Y and L2 = 120 but it returns
FALSE for every cell that is a priority no matter how long it has
taken.

Any help gratefully received,

Frustrated




--
sonic-the-mouse

  #3  
Old April 16th, 2009, 11:23 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Time/priority problem

$L$2 may not be in minute format. Convert that to minutes and compare...

=IF(D2=$K$2,E2=TIME(0,$L$2,0),1)

If this post helps click Yes
---------------
Jacob Skaria


"sonic-the-mouse" wrote:


I am trying to set up a spreadsheet to report on how we are meeting our
priority orders in line with time constraints

col A - Date
Col B - Time order in (format hh:mm)
Col C - Time order out (format as col b)
Col D - Is it a priority order Y/N
Col E - Time taken from receipt to complete (sum col c - col b) (format
[mm])

My problem is Col F where i am trying to return a figure/text for if
col d is a priority and col E is greater than 120 minutes

Tried =IF(E2=$K$2,D2=$L$2,1) where k2 = Y and L2 = 120 but it returns
FALSE for every cell that is a priority no matter how long it has
taken.

Any help gratefully received,

Frustrated




--
sonic-the-mouse

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:26 AM.


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