+ Reply to Thread
Results 1 to 4 of 4

If Cell in column = "Y" then with offset (0, 1).value match to sheet range A3:A return ...

  1. #1
    Registered User
    Join Date
    10-14-2011
    Location
    chesapeake, va
    MS-Off Ver
    Excel 2007
    Posts
    59

    If Cell in column = "Y" then with offset (0, 1).value match to sheet range A3:A return ...

    So I have seen a lot of code that gets me close, then I manage to not get where I'm trying to. I usually butcher it. so here it goes...

    In Sheet ("Counter Sheet").Range("B15:B2000") one cell will have a text value of "Y" (which highlights the Cell "C" in the same row)
    I'm trying to match the (Highlighted) Text Value in C to Sheet ("Master") Range A3:A2000, and return various cell data from the same row,
    say from columns, B, C, D, F to Cells on Master C4, C6, E4, E5, E6, E7...(I don't have all that data yet, but its what I see so far, and can test for it)

    Thanks again everyone for the help, I've been learning so much, I do hope to be able to assist others when I'm able
    Last edited by Spyderz; 10-13-2012 at 01:58 PM. Reason: *Solved

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: If Cell in column = "Y" then with offset (0, 1).value match to sheet range A3:A return

    You may not need a macro for this. The standard functions may work just fine (ie =Lookup, =If, etc). If you are determined to do this through vba it is probably possible but I would ask that you attach a copy of your workbook so that we can be more efficient with our time.

  3. #3
    Registered User
    Join Date
    10-14-2011
    Location
    chesapeake, va
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: If Cell in column = "Y" then with offset (0, 1).value match to sheet range A3:A return

    I'm certain you are right, but the reason I thought VBA, was due to the Web Queries, Not
    For All the Info on the Master Sheet, that will be pulled using an API, (still waiting
    for my license number to go through), figured a Macro would Just Fall into place with
    the rest.

    I placed notes to correspond to what I was trying to accomplish.. you can see where I
    selected A man apart, and filled in the data I would pull when I have everything in place.

    Attachment:
    Movies.xlsm

  4. #4
    Registered User
    Join Date
    10-14-2011
    Location
    chesapeake, va
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: If Cell in column = "Y" then with offset (0, 1).value match to sheet range A3:A return

    So after a little bit of taring down a recorded Macro, i came up with a working solution to my question
    Please Login or Register  to view this content.
    its not pretty but works well enough for my desired results

+ 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