Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to display the number of days between 2 dates if the cell in the
range is greater then 0 or if the range cell is 0, I want to display N/A. BD3 = 40 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display 53 BD3 = 0 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display N/A |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(BD30,BB3-D3,NA())
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "nan" wrote in message ... I am trying to display the number of days between 2 dates if the cell in the range is greater then 0 or if the range cell is 0, I want to display N/A. BD3 = 40 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display 53 BD3 = 0 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display N/A |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(BD30,BB3-D3,"N/A")
Be sure to format the cell as general. Hope this helps. -- John C "nan" wrote: I am trying to display the number of days between 2 dates if the cell in the range is greater then 0 or if the range cell is 0, I want to display N/A. BD3 = 40 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display 53 BD3 = 0 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display N/A |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One way
=IF(BD3=0,NA(),BB3-D3) -- Regards, Peo Sjoblom "nan" wrote in message ... I am trying to display the number of days between 2 dates if the cell in the range is greater then 0 or if the range cell is 0, I want to display N/A. BD3 = 40 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display 53 BD3 = 0 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display N/A |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks, the answers were really fast.
"nan" wrote: I am trying to display the number of days between 2 dates if the cell in the range is greater then 0 or if the range cell is 0, I want to display N/A. BD3 = 40 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display 53 BD3 = 0 BB3 = 4-18-07 D3 = 2-24-07 I want the formula to display N/A |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Function to find/display the date X number of days later? | Excel Worksheet Functions | |||
how do i convert a number of days to years, months & days? | Excel Discussion (Misc queries) | |||
a cell to display number of days in a month given in another cell | Excel Worksheet Functions | |||
A number of days into weeks and days | Excel Worksheet Functions | |||
how do i display the total number of days in the current month in. | Excel Discussion (Misc queries) |