+ Reply to Thread
Results 1 to 6 of 6

Need help with creating VBA code to lookup return values in spreadsheets

  1. #1
    Registered User
    Join Date
    01-25-2014
    Location
    bear,de
    MS-Off Ver
    Excel 2010
    Posts
    27

    Need help with creating VBA code to lookup return values in spreadsheets

    I have 3 workbooks "ID numbers, 07 Car,and 08 Car".

    I need a VBA code that will use the value in column C in each workbook, look up the value in workbook "ID numbers", column C thru G, and return
    values into each workbook:

    Workbook ID number Column C add values to Each workbook (Column B)
    Workbook ID number Columns D thru E) add values to Each workbook (Columns D thru E)

    See 07 Car workbook highlighted in orange, every product below the orange highlight must look like for both workbooks this after the code is ran.
    Attached Files Attached Files

  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: Need help with creating VBA code to lookup return values in spreadsheets

    Hi cwc,

    I can't figure out what you want, can you provide an example that's more explicit?
    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
    01-25-2014
    Location
    bear,de
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Need help with creating VBA code to lookup return values in spreadsheets

    See my enclosed example
    Attached Files Attached Files

  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: Need help with creating VBA code to lookup return values in spreadsheets

    Hi CWC,

    This gets most (except for the Mercedes-Benz) of the entries:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-25-2014
    Location
    bear,de
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Need help with creating VBA code to lookup return values in spreadsheets

    thanks
    for all your help
    Chad

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

    Re: Need help with creating VBA code to lookup return values in spreadsheets

    You're welcome!

    BTW - you should mark this thread as solved.(Up top Thread Tools....)

+ 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: 0
    Last Post: 10-07-2013, 10:24 AM
  2. [SOLVED] Code to lookup values in x and y co-ordinates and return value in that co-ordinate
    By Brumbot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2013, 03:38 AM
  3. Match index from multiple spreadsheets-Return sum of values
    By Bravo33 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2013, 02:03 PM
  4. Sum Values over multiple spreadsheets using lookup
    By lwflip in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-26-2012, 10:33 PM
  5. Help creating complex LOOKUP, IF, and MATCH function over 3 Spreadsheets
    By Xiozee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2012, 08:27 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