Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default selecting row data meeting countif criteria

okay.. I have a workbook that can have the data updated daily... it
performs a count and percentage of how many of the days orders are
older than 5 days... i cannot bridge a gap I have between the countif
data and the macro to eliminate unnecessary data of which we provide to
our client.

my data sheet contains 35 columns which is constant, the rows are
variable depending on the number of orders.

my countif critera counts the orders older than 5 days
=COUNTIF(Data!AA:AA,"<="&TODAY()-5)

What I need is a macro that will copy the entire rows in my data
worksheet where column AA meets the countif critera and paste them to
the client spreadsheet, I already have the macro written to eliminate
the unnecessary data...

Can anyone help? Please? :)

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default selecting row data meeting countif criteria

anyone? i'm desperate here


april2579 wrote:
okay.. I have a workbook that can have the data updated daily... it
performs a count and percentage of how many of the days orders are
older than 5 days... i cannot bridge a gap I have between the countif
data and the macro to eliminate unnecessary data of which we provide to
our client.

my data sheet contains 35 columns which is constant, the rows are
variable depending on the number of orders.

my countif critera counts the orders older than 5 days
=COUNTIF(Data!AA:AA,"<="&TODAY()-5)

What I need is a macro that will copy the entire rows in my data
worksheet where column AA meets the countif critera and paste them to
the client spreadsheet, I already have the macro written to eliminate
the unnecessary data...

Can anyone help? Please? :)

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default selecting row data meeting countif criteria

How about adding a helper column (AB?) and put a formula like:

=aa2<today()-5

Then you could apply Data|filter|autofilter to that column.

Then filter to show the rows you want to copy and copy the visible cells to the
other sheet.

If you need code, you can record a macro when you do it manually.

april2579 wrote:

okay.. I have a workbook that can have the data updated daily... it
performs a count and percentage of how many of the days orders are
older than 5 days... i cannot bridge a gap I have between the countif
data and the macro to eliminate unnecessary data of which we provide to
our client.

my data sheet contains 35 columns which is constant, the rows are
variable depending on the number of orders.

my countif critera counts the orders older than 5 days
=COUNTIF(Data!AA:AA,"<="&TODAY()-5)

What I need is a macro that will copy the entire rows in my data
worksheet where column AA meets the countif critera and paste them to
the client spreadsheet, I already have the macro written to eliminate
the unnecessary data...

Can anyone help? Please? :)

Thanks


--

Dave Peterson
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
SumProduct meeting two criteria Mindy Excel Worksheet Functions 4 July 23rd 09 02:43 PM
Drop-down list of data meeting criteria KC Rippstein hotmail com> Excel Discussion (Misc queries) 3 April 2nd 09 10:18 PM
how do i get "DGET" to take the first data meeting the criteria? Yardarm1 Excel Worksheet Functions 3 June 9th 05 08:21 AM
COUNTIF MEETING TWO CRITERIA eg>5 AND <10.1 John Higgins Excel Worksheet Functions 2 December 22nd 04 01:19 AM
Delete Row meeting a Criteria SRS Man Excel Programming 3 February 29th 04 05:43 AM


All times are GMT +1. The time now is 03:46 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"