ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   negative dates (https://www.excelbanter.com/excel-discussion-misc-queries/199718-negative-dates.html)

hotelchambers

negative dates
 
I'm using a simple formula to calculate the days from a start date
"=c21-today()"

I cannot reverse the formula to get a negative number.

Any tips on how to get this number to show up as "-nnn"

thanks.

AKphidelt

negative dates
 
Try changing the format of the cell to "general"

"hotelchambers" wrote:

I'm using a simple formula to calculate the days from a start date
"=c21-today()"

I cannot reverse the formula to get a negative number.

Any tips on how to get this number to show up as "-nnn"

thanks.


Sheeloo

negative dates
 
I formatted the cell to number format and got a negative number. As you
probably know all dates in Excel are internally stored as numbers.

"hotelchambers" wrote:

I'm using a simple formula to calculate the days from a start date
"=c21-today()"

I cannot reverse the formula to get a negative number.

Any tips on how to get this number to show up as "-nnn"

thanks.


hotelchambers

negative dates
 
That was ridiculously simple. :) Thank you both.



On Aug 21, 10:21*pm, Sheeloo
wrote:
I formatted the cell to number format and got a negative number. As you
probably know all dates in Excel are internally stored as numbers.

"hotelchambers" wrote:
I'm using a simple formula to calculate the days from a start date
"=c21-today()"


I cannot reverse the formula to get a negative number.


Any tips on how to get this number to show up as "-nnn"


thanks.




All times are GMT +1. The time now is 08:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com