Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting Days with variables
I have three columns. A, B, & C.....
Formula will be in column C. Column A might have a date, Column B might have a date. I need a formula tocount how many days....... a) if column A is blank then I need column C blank b) if column A has a date, then I need the number of days from A to today unless there is a date in B, then I will need the number of days between Column A & B. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting Days with variables
=IF(A1="","",IF(B1="",TODAY()-A1,B1-A1))
-- Gary''s Student - gsnu200820 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting Days with variables
Fantastic, works like a charm.
Thanks heaps "Gary''s Student" wrote: =IF(A1="","",IF(B1="",TODAY()-A1,B1-A1)) -- Gary''s Student - gsnu200820 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
counting ranges with multiple variables | Excel Worksheet Functions | |||
counting the number of two different variables | Excel Discussion (Misc queries) | |||
Counting values for variables in separate columns | Excel Discussion (Misc queries) | |||
Counting multiple variables returns #VALUE | Excel Discussion (Misc queries) | |||
counting based ona number of variables. | Excel Worksheet Functions |