Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return blank not 0
In cell h6 this is my formula however i want the return to be blank if
nothing is in these cells it now return 0 how do i write to return blank =SUM(C6*2)+(E6*3)+(G6*1) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...excel/200811/1 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return blank not 0
On Nov 25, 11:14*am, "Darts via OfficeKB.com" <u19990@uwe wrote:
In cell h6 this is my formula however i want the return to be blank if nothing is in these cells it now return 0 how do i write to return blank =SUM(C6*2)+(E6*3)+(G6*1) Why not use a custom number format on the cell. Something along the lines of this.... _-* #,##0_-;-* #,##0_-;_-* ""?? _-;_-@_- Format Cells Custom If you want decimal places then it would look like..... _-* #,##0.00_-;-* #,##0.00_-;_-* ""??_-;_-@_- If you want a dash (using the decimal places) _-* #,##0.00_-;-* #,##0.00_-;_-* "-"??_-;_-@_- Try that. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return blank not 0
Try this:
=IF((C6*2)+(E6*3)+(G6*1),(C6*2)+(E6*3)+(G6*1),"") -- Biff Microsoft Excel MVP "Darts via OfficeKB.com" <u19990@uwe wrote in message news:8db1daec70c65@uwe... In cell h6 this is my formula however i want the return to be blank if nothing is in these cells it now return 0 how do i write to return blank =SUM(C6*2)+(E6*3)+(G6*1) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...excel/200811/1 |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return blank not 0
=IF((C6*2)+(E6*3)+(G6*1),(C6*2)+(E6*3)+(G6*1)," ")
Improvement: no need to multiply any value by 1: =IF((C6*2)+(E6*3)+G6,(C6*2)+(E6*3)+G6,"") -- Biff Microsoft Excel MVP "T. Valko" wrote in message ... Try this: =IF((C6*2)+(E6*3)+(G6*1),(C6*2)+(E6*3)+(G6*1),"") -- Biff Microsoft Excel MVP "Darts via OfficeKB.com" <u19990@uwe wrote in message news:8db1daec70c65@uwe... In cell h6 this is my formula however i want the return to be blank if nothing is in these cells it now return 0 how do i write to return blank =SUM(C6*2)+(E6*3)+(G6*1) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...excel/200811/1 |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Return blank not 0
Hi,
Since we are making improvements: =IF(C6*2+E6*3+G6,C6*2+E6*3+G6,"") If this helps, please click the Yes button. Cheers, Shane Devenshire "Darts via OfficeKB.com" wrote: In cell h6 this is my formula however i want the return to be blank if nothing is in these cells it now return 0 how do i write to return blank =SUM(C6*2)+(E6*3)+(G6*1) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...excel/200811/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Index/match - make blank cells return a blank value. | Excel Worksheet Functions | |||
Return Blank | Excel Discussion (Misc queries) | |||
If function - Add if its blank, to return blank | Excel Worksheet Functions | |||
If cell blank return a blank | Excel Worksheet Functions | |||
Sumif to return a blank if sum range is blank | Excel Worksheet Functions |