Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Multiple IF functions, different ranges

Here is the scenario

Calculating the difference in times

=IF(G17="",H17-E17,(H17-E17)-(G17-F17))

I want to be able to add a 2nd function that would cancel this request if
J17= "Reject"

Can this be done utilizing an OR function or a 2nd IF function?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Multiple IF functions, different ranges

I'm not exactly certain what you mean by "cancel this request". If you mean
to return nothing when J17="Reject" then:
=IF(J17="Reject","",IF(G17="",H17-E17,(H17-E17)-(G17-F17)))

Tyro

"Scott Kieta" wrote in message
...
Here is the scenario

Calculating the difference in times

=IF(G17="",H17-E17,(H17-E17)-(G17-F17))

I want to be able to add a 2nd function that would cancel this request if
J17= "Reject"

Can this be done utilizing an OR function or a 2nd IF function?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Multiple IF functions, different ranges

That is exactly what i meant, this works for me.

Thanks

"Tyro" wrote:

I'm not exactly certain what you mean by "cancel this request". If you mean
to return nothing when J17="Reject" then:
=IF(J17="Reject","",IF(G17="",H17-E17,(H17-E17)-(G17-F17)))

Tyro

"Scott Kieta" wrote in message
...
Here is the scenario

Calculating the difference in times

=IF(G17="",H17-E17,(H17-E17)-(G17-F17))

I want to be able to add a 2nd function that would cancel this request if
J17= "Reject"

Can this be done utilizing an OR function or a 2nd IF function?




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
If functions Looking at ranges Baba Excel Discussion (Misc queries) 3 May 10th 07 05:43 PM
IF functions and Names Ranges JaB Excel Discussion (Misc queries) 1 January 18th 07 12:30 PM
Copy and SUM functions with different ranges Manos Excel Worksheet Functions 1 July 1st 06 08:16 AM
Confused about arrays and ranges in functions Llurker Excel Worksheet Functions 0 July 7th 05 05:44 AM
if functions with more than 7 ifs (ranges are possible?) irwinko Excel Worksheet Functions 3 May 17th 05 12:57 PM


All times are GMT +1. The time now is 07:08 PM.

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"