ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Excel example-formula C4+C5 adds before data in C5 Can I get it t. (https://www.excelbanter.com/new-users-excel/112524-excel-example-formula-c4-c5-adds-before-data-c5-can-i-get-t.html)

New Excel User

Excel example-formula C4+C5 adds before data in C5 Can I get it t.
 
I'm trying to create a formula (for example):
In cell D5 I want it to add C4+C5. I would like it to work only after there
is data in C5, but not before. How can I get it to work only when there is
data in C4 & C5? Right now its showing what I have in C4.

Dave Peterson

Excel example-formula C4+C5 adds before data in C5 Can I get it t.
 
=if(count(c4:c5)<2,"Not enough values!",c4+c5)



New Excel User wrote:

I'm trying to create a formula (for example):
In cell D5 I want it to add C4+C5. I would like it to work only after there
is data in C5, but not before. How can I get it to work only when there is
data in C4 & C5? Right now its showing what I have in C4.


--

Dave Peterson

SSG QuarterMaster

Excel example-formula C4+C5 adds before data in C5 Can I get it t.
 
if you want the cell to stay blank then you could use the following formulae:

=If(c5="","",sum(c4,c5))

"New Excel User" wrote:

I'm trying to create a formula (for example):
In cell D5 I want it to add C4+C5. I would like it to work only after there
is data in C5, but not before. How can I get it to work only when there is
data in C4 & C5? Right now its showing what I have in C4.



All times are GMT +1. The time now is 03:14 PM.

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