Closed Thread
Results 1 to 3 of 3

selecting row data meeting countif criteria

  1. #1
    april2579
    Guest

    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. #2
    april2579
    Guest

    Re: 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. #3
    Dave Peterson
    Guest

    Re: 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

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1