+ Reply to Thread
Results 1 to 6 of 6

Vlookup, Match, Index. Help

  1. #1
    Forum Contributor
    Join Date
    09-05-2008
    Location
    UK
    Posts
    103

    Vlookup, Match, Index. Help

    Hoping to save myself sometime in work. Is there a way I can achieve the example attached. Any staff member with 1 in coloumn A will result in shifts being listed on other sheet. I tried n failed but sure it can be done. All I need is name date and shift from rota. Tried understanding Vlookup, Match, Index.

    Examples I came across did not have data set out like it is on mine, which is something I cant change.

    Any help much appreciated

    Example2a.xlsm

  2. #2
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Vlookup, Match, Index. Help

    Here, try this:
    Please Login or Register  to view this content.
    P.S. If anyone does know how to do this with formulas, I'm curious.
    1. Include a sample workbook with an example of the result you want
    2. Use [CODE] and [FORMULA] wrappers for your VBA code or excel formulas
    3. If your question has been answered, mark the thread as SOLVED and click on the "Add Rep" star to thank whoever helped you.

  3. #3
    Forum Contributor
    Join Date
    09-05-2008
    Location
    UK
    Posts
    103

    Re: Vlookup, Match, Index. Help

    Thanks for trying. Formula would be better for me. My actual file is 12 tabs of rota's. Transfer In sheet is in different workbooks. One for each month. I sure I could tweak a formula to suit.

  4. #4
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Vlookup, Match, Index. Help

    A macro is better for what you're trying to do. It's not difficult to tell a macro to go through 12 sheets or go to another workbook. The way you have your sheet set up, it would take a crazy formula to do what you want.
    Last edited by k64; 06-11-2014 at 09:26 PM.

  5. #5
    Forum Contributor
    Join Date
    09-05-2008
    Location
    UK
    Posts
    103

    Re: Vlookup, Match, Index. Help

    Hi K64

    I given it a try works great on example. Tried it on actual file I cant get it going. Range on actual file is column AD row 6 downwards. I think its because I had to merge to rows per person.

  6. #6
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671

    Re: Vlookup, Match, Index. Help

    Yes, merged cells create problems. They are almost always avoidable and should be avoided. Without seeing it, I can't say much, except that you could try making it say "For x = 6 to r Step 2" or something similar

+ 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. Replies: 3
    Last Post: 05-19-2014, 02:01 PM
  2. VLOOKUP/INDEX/MATCH to return all values that match
    By lijia00 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 11:56 AM
  3. Replies: 4
    Last Post: 01-13-2014, 04:16 AM
  4. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  5. Replies: 2
    Last Post: 03-16-2012, 12:03 PM

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