Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
Hi
I have the undernoted formula, however, when cell H3 has no date in it the cell with the formula shows 5714 can anyone tell me how to make the cell show 0 when there is no date in cell H3. =SUM(NOW()-H3)/7 Thanks |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
Hi,
=if(H3="","",=SUM(NOW()-H3)/7) the formula above will leave the cell blank if you want to have 0 use =if(H3="",0,=SUM(NOW()-H3)/7) "Clare" wrote: Hi I have the undernoted formula, however, when cell H3 has no date in it the cell with the formula shows 5714 can anyone tell me how to make the cell show 0 when there is no date in cell H3. =SUM(NOW()-H3)/7 Thanks |
#3
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
Try: =IF(H3="",0,(NOW()-H3)/7) -- NBVC Where there is a will there are many ways. 'The Code Cage' (http;//www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=112967 |
#4
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
SUM() is redundant...in this formula -- NBVC Where there is a will there are many ways. 'The Code Cage' (http;//www.thecodecage.com) ------------------------------------------------------------------------ NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=112967 |
#5
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
You could use something like this:
=IF(H3="","",SUM(TODAY()-H3)/7) p/s: Use TODAY, not NOW to get the difference in days between 2 dates -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- "Clare" wrote: I have the undernoted formula, however, when cell H3 has no date in it the cell with the formula shows 5714 can anyone tell me how to make the cell show 0 when there is no date in cell H3. =SUM(NOW()-H3)/7 Thanks |
#6
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
On 6 July, 16:15, Clare wrote:
Hi I have the undernoted formula, however, when cell H3 has no date in it the cell with the formula shows 5714 can anyone tell me how to make the cell show 0 when there is no date in cell H3. =SUM(NOW()-H3)/7 Thanks Hi Clare =IF(H3="",0,SUM(NOW()-H3)/7) Regards Steve |
#7
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
Oops, the SUM is extraneous
Just this: =IF(H3="","",(TODAY()-H3)/7) -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- |
#8
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
Thanks this site is fantastic
Cheers -- Clare "Max" wrote: Oops, the SUM is extraneous Just this: =IF(H3="","",(TODAY()-H3)/7) -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- |
#9
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
"Clare" wrote:
Thanks this site is fantastic You're welcome. Do take a moment to click the YES button in each response in this thread which helped you. -- Max Singapore http://savefile.com/projects/236895 Downloads:27,000 Files:200 Subscribers:70 xdemechanik --- |
#10
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
And a slightly shorter one
=IF(H3,(NOW()-H3)/7,0) -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Clare" wrote: Hi I have the undernoted formula, however, when cell H3 has no date in it the cell with the formula shows 5714 can anyone tell me how to make the cell show 0 when there is no date in cell H3. =SUM(NOW()-H3)/7 Thanks |
#11
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Show zero in a cell
Just a suggestion,
If you give a Yes to a later answer, that is the same as an earlier answer, you should go back and click yes for each of those early "correct" answers. Its just to be fair to Max, Eduardo, or NBVC, since the Microsoft site tracks the number of answered questions based on this, they never actually look at each question and answer, they rely on the user feedback. -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Clare" wrote: Hi I have the undernoted formula, however, when cell H3 has no date in it the cell with the formula shows 5714 can anyone tell me how to make the cell show 0 when there is no date in cell H3. =SUM(NOW()-H3)/7 Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do i assign cell A1 to show the current cursor cell in Excel? | Excel Discussion (Misc queries) | |||
format cell to show leading zeros and make cell a three digit fiel | Excel Worksheet Functions | |||
In adjacent cell, show last date modified of target cell. | Excel Discussion (Misc queries) | |||
Formatting to show/not show "DUE" and "RECEIVED" in cell | New Users to Excel | |||
enter a time into a cell, have the cell show two times the entry | Excel Worksheet Functions |