Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brian
 
Posts: n/a
Default simple formula with blank cells

I have values in cells a1 and b1 however a1 or b1 can be blank. The formula
in c1 should add the values of a1 and b1 only if there is a value in a1 and
b1 otherwise if a1 or b1 are blank the value of c1 should remain blank. I
appreciate help with a formula in c1.
  #2   Report Post  
Reid McTaggart
 
Posts: n/a
Default

=IF(OR(ISBLANK(A1),ISBLANK(B1)),"",A1+B1)

-Reid

"Brian" wrote:

I have values in cells a1 and b1 however a1 or b1 can be blank. The formula
in c1 should add the values of a1 and b1 only if there is a value in a1 and
b1 otherwise if a1 or b1 are blank the value of c1 should remain blank. I
appreciate help with a formula in c1.

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
What formula is used for subtracting a range of different cells f. tim Excel Worksheet Functions 3 April 21st 23 10:07 PM
My formula screws up other reference cells... Jambruins Excel Discussion (Misc queries) 2 February 28th 05 02:57 PM
formula update in individual cells in a whole workbook QuietRanger Excel Discussion (Misc queries) 3 January 29th 05 03:15 AM
Formula help for using a range of cells! Sukismomma Excel Worksheet Functions 5 January 27th 05 02:34 AM
Automatic copying data excluding blank cells Wesley Excel Worksheet Functions 6 November 30th 04 01:17 AM


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