ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF nested problem ..! (https://www.excelbanter.com/excel-discussion-misc-queries/261191-if-nested-problem.html)

Peter[_14_]

IF nested problem ..!
 
Good afternoon,

I have been attempting to create a formula to do the following:

In three columns: B, C & H. If B3 & C3 do not contain a value I want to H3 to also be
blank despite H2 containing a figure.
However, if B2 and or C2 contain a figure, I wish to display the result - if this makes sense!
The existing formula in H3 is: =H2+C3-B3 and I've been trying to create the appropriate
formula without success.

What am I doing wrong?

Regards

Peter


Gary''s Student

IF nested problem ..!
 
=IF(B3 & C3="","",H2+C3-B3)

--
Gary''s Student - gsnu201001


"Peter" wrote:

Good afternoon,

I have been attempting to create a formula to do the following:

In three columns: B, C & H. If B3 & C3 do not contain a value I want to H3 to also be
blank despite H2 containing a figure.
However, if B2 and or C2 contain a figure, I wish to display the result - if this makes sense!
The existing formula in H3 is: =H2+C3-B3 and I've been trying to create the appropriate
formula without success.

What am I doing wrong?

Regards

Peter

.


Peter[_14_]

IF nested problem ..!
 
On 10/04/2010 16:02, Gary''s Student wrote:
=IF(B3& C3="","",H2+C3-B3)

Many thanks Gary''s Student - it works a treat, I was trying to use OR!
The next question is when either B3 or C3 contain a number, how do I change the font
colour of H3 to say, white?
Kind regards



All times are GMT +1. The time now is 04:00 AM.

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