ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   change formatting from general to date (https://www.excelbanter.com/excel-discussion-misc-queries/129979-change-formatting-general-date.html)

JH

change formatting from general to date
 
I have a formula that compares cells in a column and based on the result
gets a date from another column. My problem is the date (ex. Dec-06)is
changed to a general number and I can't change the format back to the date
format. Could someone please help me change the general number back to a
date?
Thanks.

Dave F

change formatting from general to date
 
Post the formula you're using.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"JH" wrote:

I have a formula that compares cells in a column and based on the result
gets a date from another column. My problem is the date (ex. Dec-06)is
changed to a general number and I can't change the format back to the date
format. Could someone please help me change the general number back to a
date?
Thanks.


JH

change formatting from general to date
 
Dave,
The formula is as follows:
=IF(AND($B$30<"",$B$31=""),$A$30,"")&IF(AND($B$31 <"",$B32=""),$A$31,"")It's actually much longer than that but the rest is the same.
cell a30=Nov-06,cell a31=Dec-06. When the formula correctly gives me the
DEC-06 date it changes it to the general number 39052 for Dec,1,2006 but
won't let me reformat it back to Dec-06. Your help is much appreciated.




"Dave F" wrote:

Post the formula you're using.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"JH" wrote:

I have a formula that compares cells in a column and based on the result
gets a date from another column. My problem is the date (ex. Dec-06)is
changed to a general number and I can't change the format back to the date
format. Could someone please help me change the general number back to a
date?
Thanks.



All times are GMT +1. The time now is 04:32 PM.

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