+ Reply to Thread
Results 1 to 4 of 4

Quick simple question

  1. #1
    Registered User
    Join Date
    03-31-2005
    Posts
    2

    Quick simple question

    Ok, I believe I have a very simple question, I'm just too stupid to answer/solve it myself.

    I'm working on a home assignment for my IT class, and we're supposed to make this excel "thingy" for a dvd rental place.

    I have two spreadsheets, one with dvd's being returned and the other with overdue dvd's. On my "return" sheet I have a row for each dvd being returned and column which calculates whether a dvd is late or not. It gives me a "yes" and a "no".
    What I want, is for excel to put all the late DVD's with a "yes" into the "overdue" spreadsheet. But I want the whole row copied.

    I've tried advanced filter already, but it doesn't update, so now I'm looking for somethin' else.

    Thx in advance, any help is appreciated

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    If you want to use Data>Filter>Advanced Filter . . . .

    Start on the OverDue spreadsheet, set the source list on the Returns spreadsheet, and use a criteria that will only return Overdue Rentals

    REALLY simple example

    Returns spreadsheet

    A1: Title
    A2: Title1
    A3: Title2
    A4: Title3
    B1: OverdueFlag
    B2: N
    B3: Y
    B4: N


    OverDue spreadsheet

    A1: OverdueFlag
    A2: Y
    A3: blank
    A4: Title
    B4: OverdueFlag

    Then on the OverDue sheet: Data>Filter>Advanced Filter

    List Range: Returns!A1:B4
    Criteria Range: OverDue!A1:A2
    Copy To: OverDue!A4:B4
    Action: Copy to another location

    Then click OK

    The Overdue titles from the Returns sheet should copy over to the OverDue sheet.

    (Note: each time you do that, you'll have to reset the list range back to the range on the Return Sheet)
    I hope that helps.

    Regards,
    Ron
    Last edited by Ron Coderre; 03-31-2005 at 07:17 PM.

  3. #3
    Registered User
    Join Date
    03-31-2005
    Posts
    2
    okay thx.

    My only problem with doing this is that when I add new returned DVD's then they aren't automatically added to the "overdue" spreadsheet, plus I have a couple formulas on the "returns" spreadsheet (e.g. counting how many days late the movie is) and when I use the advanced filter I lose all these formulas

    I can get around the second problem in a way, but can s.one give me a way to have the "overdue" spreadsheet automatically updated from the "returns" spreadsheet"?

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    What you're asking for can be done, but...

    Ideally, a VBA solution would work best, I think. The next best alternative for me would be some way to make the Advanced Filter work (perhaps with a little VBA assistance). The 3rd alternative, using functions, is possible but could be extremely formula intensive and potentially volatile.

    If you're comfortable with VBA, I'd go that route, but it'll be sort of a project. So...the ball is in your court.

    I hope we're getting you on the right track here.

    Regards,
    Ron

+ Reply to 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