+ Reply to Thread
Results 1 to 4 of 4

Vlookup or Macro?

  1. #1
    Registered User
    Join Date
    06-16-2011
    Location
    Omaha, NE
    MS-Off Ver
    Excel 2010
    Posts
    20

    Vlookup or Macro?

    Hi,

    I am not sure what I need to do here a vlookup or possibly a macro.

    I have included an example spreadsheet. I would like to look at column C2 and lookup the number in column G. If the coorresponding cell in H is listed as a project then I would like to change what was listed in Column B2 to Project1 otherwise Project2. And on down the list.
    Any assitance would be appriciated...

    Thanks!

    Book1.xlsx

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Vlookup or Macro?

    Hi graybush,

    In Column B:

    Please Login or Register  to view this content.
    But why do you care about Column G?
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    06-16-2011
    Location
    Omaha, NE
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Vlookup or Macro?

    Yeah I guess I didnt explain properly.
    What I would like to do is...I would like to look at column C2 if the number is listed in column G then check if the coorresponding cell in H is listed as a project then I would like to change what was listed in Column B2 to Project1. If the number in column C is in column G and is not a project then list as Project2. If the number in column C is not in column G then do nothing.

    I went ahead and changed the attachment to more clearly reflect what I would like to accomplish.

    Thanks,

    Book1.xlsx

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Vlookup or Macro?

    Hi graybush,

    Perhaps this is what you want:

    Please Login or Register  to view this content.

+ 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