+ Reply to Thread
Results 1 to 4 of 4

Copy Info from Sheet to Another for 4 Previous Weeks

  1. #1
    Registered User
    Join Date
    06-15-2014
    Posts
    3

    Question Copy Info from Sheet to Another for 4 Previous Weeks

    Hi, I'm working on a spreadsheet where I have a sheet containing all the data and then separate sheets that I will use to pull the info I need to run reports on. My raw data has week numbers already associated and I want to pull records to a separate sheet based on a few criteria: 4 weeks previous to a date I select, Agent Name, and if the dialling time was higher than 0:0:0.

    I used Advanced filter to pull the info successfully using criteria
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    , the only problem being that this was also bringing me info newer than I needed so for instance if A4 is Week 20 I would get the 4 weeks I wanted (20,19,18,17) but I would also get any newer weeks e.g. 21,22.

    I hope this makes sense, and any help will be appreciated.
    Last edited by Timbollew; 06-15-2014 at 10:27 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Info from Sheet to Another for 4 Previous Weeks

    Welkom to the excel forum.

    http://www.excelforum.com/the-water-...-question.html
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Info from Sheet to Another for 4 Previous Weeks

    Welkom to the excel forum.

    http://www.excelforum.com/the-water-...-question.html

    Please also add the desired result.

  4. #4
    Registered User
    Join Date
    06-15-2014
    Posts
    3

    Re: Copy Info from Sheet to Another for 4 Previous Weeks

    Here is an example of my Workbook [ATTACH]325492[/ATTACH.

    What I'm trying to do is create a filter of some sorts to rows from the sheet Data, within my named range Data_Table, to then be able to create a report on the info in the sheet 4 Weekly Agent Report. So for example I want to put in A4 The a week number e.g 22, and agent name e.g. Anna. Based on that I want excel to pull week 22 and the previous 3 weeks rows for that agent.

    I had successfully used the Advanced filter to bring back the previous 3 weeks using the criteria in Advanced Filter =">="& A4-3", so it would look at any week numbers that met this and bring them back but it was also bringing me rows newer than the example week 22 where I would get 23, 24 and so on. I hope this makes sense.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy Cell Range From Previous Sheet and Paste to Active Sheet
    By jtal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-01-2013, 03:26 PM
  2. Copy certain info in one sheet to a new sheet to a different area and rename new sheet
    By Elmarie_Potgieter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-14-2013, 05:34 AM
  3. Delete previous weeks file?
    By homer09001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2013, 10:59 AM
  4. Copy Data from Next sheet to the previous sheet and so on
    By Testify in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2012, 05:04 PM
  5. Macro to transfer previous weeks data.
    By coolhit in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2009, 07:32 AM

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