Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Johnston,
If the following is entered into a cell which has the general format it will retain the format. =IF(A1A2,A1-A2,-(A2-A1)) assuming dates in a1 and a2 Hope that is helpful Anthony "johnston" wrote: I am looking for a reliable way to use the numbers obtained when doing arithmetic functions on dates as input for a subsequent calculation. For example, when subtracting dates, I get an error message. This can be corrected by resetting the format of the cell to "general," but this would be too onerous to do every time. I also need a way to do this when subtracting an earlier date from a later date, which would yield a negative number. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting numbers stored as dates to text in Excel | Excel Discussion (Misc queries) | |||
FUNCTION GETPIVOTDATA MICROSOFT EXCEL 2003 VS EXCEL 2004 FOR MAC | Excel Worksheet Functions | |||
How do I use the excel timeline function with dates in graphs | Excel Worksheet Functions | |||
Stop Excel Rounding Dates | Excel Discussion (Misc queries) | |||
I cant use englisch function names in a swedich version of excel | Excel Discussion (Misc queries) |