Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to count days between 2 dates in 2 cells. Like B:2-B:1. In case B2 is
empty i need that to be counted as on today-system date. Can you help on that? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This is probably what you are looking for...
=IF(B2="",TODAY()-B1,B2-B1) Rick "Riyaz" wrote in message ... I need to count days between 2 dates in 2 cells. Like B:2-B:1. In case B2 is empty i need that to be counted as on today-system date. Can you help on that? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(B2="",TODAY(),B2)-B1
-- __________________________________ HTH Bob "Riyaz" wrote in message ... I need to count days between 2 dates in 2 cells. Like B:2-B:1. In case B2 is empty i need that to be counted as on today-system date. Can you help on that? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you so much Bob
"Bob Phillips" wrote: =IF(B2="",TODAY(),B2)-B1 -- __________________________________ HTH Bob "Riyaz" wrote in message ... I need to count days between 2 dates in 2 cells. Like B:2-B:1. In case B2 is empty i need that to be counted as on today-system date. Can you help on that? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting dates | Excel Discussion (Misc queries) | |||
counting occasions dates occur between 2 dates | New Users to Excel | |||
Counting dates, within a list of dates | Excel Worksheet Functions | |||
Counting dates | Excel Discussion (Misc queries) | |||
Counting Dates | Excel Worksheet Functions |