Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default logical functions

can anybody help to solve it out...
if D4 is not a blank cell, then G3+E4-F4. if it is blank then look for G2 is
not a blank cell, then G2+E3-F3

Thanks,

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default logical functions

Try this:

=IF(NOT(ISBLANK(D4)),G3+E4+F4,IF(NOT(ISBLANK(G2)), G2+E3+F3,"What To Do?"))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ali Akbar" <Ali wrote in message
...
can anybody help to solve it out...
if D4 is not a blank cell, then G3+E4-F4. if it is blank then look for G2

is
not a blank cell, then G2+E3-F3

Thanks,


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default logical functions

=IF(D4<"",G3+E3-F3,IF(G2<"",G2+E3-F3,"else...."))


"Ali Akbar" wrote:

can anybody help to solve it out...
if D4 is not a blank cell, then G3+E4-F4. if it is blank then look for G2 is
not a blank cell, then G2+E3-F3

Thanks,

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 92
Default logical functions

Hello,

=IF(D4="",IF(G2="",1E308,G2+E3-F3),G3+E4-F4)

Substitute 1E308 by any value you need in this case.

Regards,
Bernd

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
VLOOKUP and logical functions Margherita Excel Worksheet Functions 5 August 21st 06 03:47 PM
Logical functions to calculate points stellarblue11 Excel Worksheet Functions 6 May 25th 06 04:05 PM
Create a function to return text if two logical functions are true janeyt Excel Worksheet Functions 2 March 19th 05 08:49 PM
logical functions wiz546 Excel Worksheet Functions 1 February 1st 05 09:42 AM
logical functions wiz546 Excel Worksheet Functions 1 February 1st 05 03:02 AM


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