ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   trying to make a cell either blank or zore value (https://www.excelbanter.com/excel-discussion-misc-queries/202698-trying-make-cell-either-blank-zore-value.html)

Dobbin0_4[_2_]

trying to make a cell either blank or zore value
 
I am trying to make a cell show a blank of zero value either is fine
here is the formula

=SUM(E5-D6+C6)

With cell E5 being the cell that needs to return a zero value if no data is
added to either cells D6 or C6

I have tried the "IF" function but am getting stuck with it here is what i
have doen with the IF function. I know i am doing something wrong but can't
see where!

Any help is greatly appreciated
Thanks

Dobbin0_4[_2_]

trying to make a cell either blank or zore value
 
sorry the formula is below!

=IF(d6=0,"",c6=0,"",(E5-D6+C6))


"Dobbin0_4" wrote:

I am trying to make a cell show a blank of zero value either is fine
here is the formula

=SUM(E5-D6+C6)

With cell E5 being the cell that needs to return a zero value if no data is
added to either cells D6 or C6

I have tried the "IF" function but am getting stuck with it here is what i
have doen with the IF function. I know i am doing something wrong but can't
see where!

Any help is greatly appreciated
Thanks


Pete_UK

trying to make a cell either blank or zore value
 
I think you need something along the lines of:

=IF(OR(D6="",C6=""),"",E5-D6+C6)

but you will not be able to put this in cell E5.

Hope this helps.

Pete

On Sep 16, 5:25*pm, Dobbin0_4
wrote:
I am trying to make a cell show a blank of zero value either is fine
here is the formula

=SUM(E5-D6+C6)

With cell E5 being the cell that needs to return a zero value if no data is
added to either cells D6 or C6

I have tried the "IF" function but am getting stuck with it here is what i
have doen with the IF function. I know i am doing something wrong but can't
see where!

Any help is greatly appreciated
Thanks



Dobbin0_4[_2_]

trying to make a cell either blank or zore value
 
Ok, Thanks Pete_UK

Any ideas why i can't put this in cell E5?

"Pete_UK" wrote:

I think you need something along the lines of:

=IF(OR(D6="",C6=""),"",E5-D6+C6)

but you will not be able to put this in cell E5.

Hope this helps.

Pete

On Sep 16, 5:25 pm, Dobbin0_4
wrote:
I am trying to make a cell show a blank of zero value either is fine
here is the formula

=SUM(E5-D6+C6)

With cell E5 being the cell that needs to return a zero value if no data is
added to either cells D6 or C6

I have tried the "IF" function but am getting stuck with it here is what i
have doen with the IF function. I know i am doing something wrong but can't
see where!

Any help is greatly appreciated
Thanks




David Biddulph[_2_]

trying to make a cell either blank or zore value
 
Look up "circular reference" [in Excel help & in the archives of this
group.]
--
David Biddulph

"Dobbin0_4" wrote in message
...
Ok, Thanks Pete_UK

Any ideas why i can't put this in cell E5?

"Pete_UK" wrote:

I think you need something along the lines of:

=IF(OR(D6="",C6=""),"",E5-D6+C6)

but you will not be able to put this in cell E5.

Hope this helps.

Pete

On Sep 16, 5:25 pm, Dobbin0_4
wrote:
I am trying to make a cell show a blank of zero value either is fine
here is the formula

=SUM(E5-D6+C6)

With cell E5 being the cell that needs to return a zero value if no
data is
added to either cells D6 or C6

I have tried the "IF" function but am getting stuck with it here is
what i
have doen with the IF function. I know i am doing something wrong but
can't
see where!

Any help is greatly appreciated
Thanks







All times are GMT +1. The time now is 03:52 AM.

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