Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() HI In column A I have a list of people's birthdays in dd/mm/yy format. In column B I'm calculating their age using this formula : =DATEDIF(A1,NOW(),"y") & " years, " & DATEDIF(A1,NOW(),"ym") & " months, " & DATEDIF(A1,NOW(),"md") & " days" This returns a string like 33 years, 9 months, 18 days I am dragging this down to fill B1 - B25 and it works fine where the cells in column A have content. The question I have is this : How can I get the cells in column B to remain blank where column A has no content? There are 25 spaces for dates of birth in column A, but I'm only using 15 at the moment. I'm not using A16 - A25 , so B16 - B25 should be blank until I do add content. However , the formula in B16 - B25 is giving random ages when nothing is showing in the equivalent cells in A. Can any one help with a formula to have cells in B remain blank until A has content? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula <0 leave cell blank | Excel Discussion (Misc queries) | |||
To leave a blank cell | Excel Worksheet Functions | |||
Formula and Condition for a Calculation to leave a zero if the res | Excel Worksheet Functions | |||
How do I leave formula cell blank if 2nd reference cell is empty? | Excel Discussion (Misc queries) | |||
leave a cell blank | Excel Worksheet Functions |