Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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

.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default 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

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
Nested If problem Harish Sharma[_2_] Excel Worksheet Functions 1 August 21st 09 04:41 PM
Nested If problem Harish Sharma[_2_] Excel Worksheet Functions 3 August 21st 09 02:25 PM
A problem with Nested IFs The Narcissist Excel Worksheet Functions 0 January 23rd 08 12:12 AM
Nested IF problem Andrew Mackenzie Excel Discussion (Misc queries) 3 June 28th 07 12:20 PM
Nested if problem samonly Excel Worksheet Functions 1 March 14th 06 01:33 PM


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