Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Add two cells if one cell is greater than 0

I am looking to add cells 'a' and 'b' if cell 'a' is greater than '0'. If
cell 'a' is less than or equal to '0', I would like the value to be 0. Any
help would be appreciated.

Thanks
Drew
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,480
Default Add two cells if one cell is greater than 0

Hi Drew

=IF(A1<=0,0,A1+B1)

--
Regards
Roger Govier

"qh8519a" wrote in message
...
I am looking to add cells 'a' and 'b' if cell 'a' is greater than '0'. If
cell 'a' is less than or equal to '0', I would like the value to be 0.
Any
help would be appreciated.

Thanks
Drew


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Add two cells if one cell is greater than 0

Try,

=IF(A1<=0,0,A1+B1)

Mike

"qh8519a" wrote:

I am looking to add cells 'a' and 'b' if cell 'a' is greater than '0'. If
cell 'a' is less than or equal to '0', I would like the value to be 0. Any
help would be appreciated.

Thanks
Drew

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
How to sum x cells that are greater than zero on the right? Learn Excel Worksheet Functions 4 April 10th 11 06:53 PM
subtracting 2 cells but only if 1st cell is greater than 0 Maureen Excel Worksheet Functions 2 January 21st 10 12:06 AM
Greater of Two Cells Simon y Glog Excel Worksheet Functions 0 August 1st 07 02:24 PM
I want the greater number of 2 cells to show in a separate cell cfiser Excel Discussion (Misc queries) 2 November 16th 05 10:32 PM
I want the greater number of 2 cells to show in a separate cell Ron Coderre Excel Discussion (Misc queries) 1 November 16th 05 09:22 PM


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