LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Find entries greater than 'Dec 2002'

Is the second column a Text string or is it actually a date. If it is a
date, you can use an autofilter and use a custom criteria such as Creater
than 31 December 2002. If it is a string, you could use an autofilter with
a custom criteria of contains 2003.

In any event, this will hide all the rows you don't want. You then select
all the data and copy it to the new sheet - only the visible rows, the data
you want, will be copied. This is so simple, it would be a waste of time to
create a macro to do a one time action like this. It would take less than a
minute to so this.

The Autofilter is found under the Data menu, then filter, then Autofilter.

--
Regards,
Tom Ogilvy

"Harish Mohanbabu" wrote in message
...
Hi,

I have got an excel sheet with 2 columns. The columns are -

1 2
Customer Name Invoice date

Invoice date column is strored in the format of 'Month Year' (ex January

2003)

Now what I want to do is -

1. Create a separate sheet in the same document
2. Display all the customers who have invoice date after 'December 2002'

to till date and save it as 2003
3. Similarly create a separate sheet and display customers who have

invoice date after 'December 2001' but
before 'January 2003' and save this sheet as 2002 and so on for the

rest of the year.

I want to do it programatically because the excel sheet I received

contains more than 2000 records with mixed date range.

Can someone help me please ....

Thanks in advance,

Harish Mohanbabu



 
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
count the number of rows with entries greater than zero r2rcode Excel Worksheet Functions 1 May 17th 10 05:35 PM
Excel 2002: How to Select Greater Value of Numerous Cells? Walt Excel Worksheet Functions 4 July 29th 07 01:14 AM
Despite data existing in Excel 2002 spreadsheet Find doesn't find AnnieB Excel Discussion (Misc queries) 1 June 16th 06 02:15 AM
Formula for number of entries in colum that are greater than 2 hr Nancy L New Users to Excel 1 January 30th 06 06:09 PM
Find Min of a row, but only greater than zero? RocketDude Excel Worksheet Functions 3 August 17th 05 09:52 PM


All times are GMT +1. The time now is 09:44 AM.

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"