Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Sort Using Date Functions

Is there a way to use the date functions on the Key
parameter of the SORT method? Instead of trying to have
the user type the date in YYYY/MM/DD, I wanted to the Year
and Month fucntions on the column range in order to sort
by Year and Month. Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Sort Using Date Functions

No. You would need to set up dummy columns.

--
Regards,
Tom Ogilvy

"Dean" wrote in message
...
Is there a way to use the date functions on the Key
parameter of the SORT method? Instead of trying to have
the user type the date in YYYY/MM/DD, I wanted to the Year
and Month fucntions on the column range in order to sort
by Year and Month. Is this possible?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Sort Using Date Functions

Hi
you could use a helper column with a formula like
=TEXT(A1,"YYYYMM")
and sort with this column

--
Regards
Frank Kabel
Frankfurt, Germany


Dean wrote:
Is there a way to use the date functions on the Key
parameter of the SORT method? Instead of trying to have
the user type the date in YYYY/MM/DD, I wanted to the Year
and Month fucntions on the column range in order to sort
by Year and Month. Is this possible?

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
Sort and Filter functions returnng different results JulieG Excel Discussion (Misc queries) 2 August 6th 09 03:29 PM
Sort with IF functions? David P. Excel Discussion (Misc queries) 5 June 5th 08 01:08 AM
Date Functions CrimsonPlague29 Excel Discussion (Misc queries) 1 April 24th 06 05:37 AM
the date format is not working ,sort by date doesn't work. Rosa Campos Excel Discussion (Misc queries) 1 September 12th 05 10:52 PM
Automatic Sort with VLOOKUP/LARGE Functions G Excel Worksheet Functions 1 August 24th 05 08:59 PM


All times are GMT +1. The time now is 11:47 PM.

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

About Us

"It's about Microsoft Excel"