Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Stuck on Blanks
 
Posts: n/a
Default Blanks as a condition of a statement

How is it possible to do a function based on if a cell is
blank or not. Such as the following for cell a1:
IF b1 is not blank then add b1-c1 else don't do anything in
a1.
I have tried but can't get anything to go.
Thanks in advance,
Lee
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default Blanks as a condition of a statement

=IF(B1<"",B1-C1,"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


<Stuck on Blanks wrote in message news:4383062f.5bc.41@news2...
How is it possible to do a function based on if a cell is
blank or not. Such as the following for cell a1:
IF b1 is not blank then add b1-c1 else don't do anything in
a1.
I have tried but can't get anything to go.
Thanks in advance,
Lee



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Lee Coleman
 
Posts: n/a
Default Blanks as a condition of a statement

Thanks, it worked very well. Again thank you.
Lee
"Bob Phillips" wrote in message
...
=IF(B1<"",B1-C1,"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


<Stuck on Blanks wrote in message news:4383062f.5bc.41@news2...
How is it possible to do a function based on if a cell is
blank or not. Such as the following for cell a1:
IF b1 is not blank then add b1-c1 else don't do anything in
a1.
I have tried but can't get anything to go.
Thanks in advance,
Lee





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
Sumproduct - Blanks wal50 Excel Worksheet Functions 7 April 28th 06 04:49 PM
Condition Statement Django Excel Discussion (Misc queries) 5 August 26th 05 06:59 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
How to calculate a sum as one outcome of an IF statement barb in NC Excel Worksheet Functions 2 March 31st 05 08:01 PM
linking files with blanks muscogee Excel Discussion (Misc queries) 0 March 17th 05 07:13 PM


All times are GMT +1. The time now is 10:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"