ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   logical functions (https://www.excelbanter.com/excel-worksheet-functions/130198-logical-functions.html)

Ali Akbar

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,


RagDyeR

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,



Teethless mama

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,


Bernd

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



All times are GMT +1. The time now is 05:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com