#1   Report Post  
GAIL HORVATH
 
Posts: n/a
Default Nested Function

I am trying to write a formula that would essentially be an If 2 conditions are met the result wouldbe ---else----

A B C D E
Surgery Scheduled Date Room Room Start Time Room End Time Surgeon

01/02/2005 CH1 11:20 12:58 EISEN, MORRIS
01/03/2005 CH1 07:45 08:38 GLEIMER, BARRY
01/03/2005 CH1 09:54 11:46 GLEIMER, BARRY

01/03/2005 CH1 12:48 15:09 GLEIMER, BARRY
01/04/2005 CH1 07:30 09:53 KAHN, STEVEN


What I need it to do is = If A3 = A2 and E3 = E2 then C3 - D2 else "N/A"

Any ideas????
--
Gail M Horvath


Eastern Time Zone
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=IF(AND(A3=A2,E3=E2),C3-D2,"N/A")

--
Regards,

Peo Sjoblom


"GAIL HORVATH" wrote in message
...
I am trying to write a formula that would essentially be an If 2 conditions
are met the result wouldbe ---else----

A B C D E
Surgery Scheduled Date Room Room Start Time Room End Time Surgeon

01/02/2005 CH1 11:20 12:58 EISEN, MORRIS
01/03/2005 CH1 07:45 08:38 GLEIMER, BARRY
01/03/2005 CH1 09:54 11:46 GLEIMER, BARRY

01/03/2005 CH1 12:48 15:09 GLEIMER, BARRY
01/04/2005 CH1 07:30 09:53 KAHN, STEVEN


What I need it to do is = If A3 = A2 and E3 = E2 then C3 - D2 else "N/A"

Any ideas????
--
Gail M Horvath


Eastern Time Zone

  #3   Report Post  
Michael
 
Posts: n/a
Default

Hi Gail

Try
=IF(AND(A3=A2,E3=E2),C3-D2,"N/A")

HTH
Michael
--
Michael Mitchelson


"GAIL HORVATH" wrote:

I am trying to write a formula that would essentially be an If 2 conditions are met the result wouldbe ---else----

A B C D E
Surgery Scheduled Date Room Room Start Time Room End Time Surgeon

01/02/2005 CH1 11:20 12:58 EISEN, MORRIS
01/03/2005 CH1 07:45 08:38 GLEIMER, BARRY
01/03/2005 CH1 09:54 11:46 GLEIMER, BARRY

01/03/2005 CH1 12:48 15:09 GLEIMER, BARRY
01/04/2005 CH1 07:30 09:53 KAHN, STEVEN


What I need it to do is = If A3 = A2 and E3 = E2 then C3 - D2 else "N/A"

Any ideas????
--
Gail M Horvath


Eastern Time Zone

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
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Need a ISWorkday Function -- Any Ideas Mark Excel Worksheet Functions 5 March 29th 05 01:58 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


All times are GMT +1. The time now is 08:19 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"