Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Addendum to 2 digit year to 4 digit year

I'd also like to be able to sort on the basis of the 4 digit year. I an
incorrect reuslt where years from both centuries exist, such as an ascending
sort having 2006 come before 1999 instead of the correct 1999 before 2006.
--
I know enuff to be dangerous.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Addendum to 2 digit year to 4 digit year

If you've got 2 digit years you want to convert to 4 digits, you could use
=YEAR("1/1/"&A1)
If you've actually got 4 digit years or real dates that Excel understands,
then they should sort OK.

If this is intended to be a follow-up to another thread, we don't know
because you've started a new thread.
--
David Biddulph

"RealGomer" wrote in message
...
I'd also like to be able to sort on the basis of the 4 digit year. I an
incorrect reuslt where years from both centuries exist, such as an
ascending
sort having 2006 come before 1999 instead of the correct 1999 before 2006.
--
I know enuff to be dangerous.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Addendum to 2 digit year to 4 digit year

On Wed, 13 Dec 2006 11:36:00 -0800, RealGomer
wrote:

I'd also like to be able to sort on the basis of the 4 digit year. I an
incorrect reuslt where years from both centuries exist, such as an ascending
sort having 2006 come before 1999 instead of the correct 1999 before 2006.


Then use the formula solution I provided you with yesterday.
--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format 2 digit year to 4 digit RealGomer Excel Discussion (Misc queries) 5 December 14th 06 01:45 PM
Lookup returns wrong value motorjobs Excel Worksheet Functions 5 June 21st 06 11:49 PM
holiday dates bucci Excel Worksheet Functions 4 June 15th 06 09:35 AM
How do I get Excel to automatically calculate salaries actually received in financial year? Kei Excel Discussion (Misc queries) 0 March 3rd 06 10:26 AM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM


All times are GMT +1. The time now is 05:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"