+ Reply to Thread
Results 1 to 6 of 6

lookup value and return value in cell

  1. #1
    Registered User
    Join Date
    08-22-2011
    Location
    Laval quebec
    MS-Off Ver
    MS 365
    Posts
    99

    lookup value and return value in cell

    Hi Team,

    I need the vba code for the following;

    Lookup value in me.textbox1 and search for it in Sheet 'Evaluation Tracker" in range CG1:CG20000 and return the value that's in that same row range A..

    Can you please help me out with this one..

    Thanks

  2. #2
    Forum Contributor
    Join Date
    03-28-2013
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    226

    Re: lookup value and return value in cell

    will this help you?
    Please Login or Register  to view this content.
    Last edited by venkatpvc; 11-22-2013 at 11:53 PM. Reason: changed sheet name
    Give Feedback and Click(*)

  3. #3
    Registered User
    Join Date
    08-22-2011
    Location
    Laval quebec
    MS-Off Ver
    MS 365
    Posts
    99

    Re: lookup value and return value in cell

    thanks Sorry I forgot to mention it needs to return the value in sheet "Quality Grid" Range A4 and i have multiple values to return not just the value in column A

    ps: right now it's returning the value I have in textbox in the sheet quality grid A4...it's supposed to find the value in enterred in textbox in column CG in sheet evaluation tracker and return the value that's on the column A of that same row it find the value
    Last edited by djsouljah; 11-23-2013 at 01:18 AM.

  4. #4
    Forum Contributor
    Join Date
    03-28-2013
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    226

    Re: lookup value and return value in cell

    may this below
    Please Login or Register  to view this content.
    if this above macro did not get what you need please upload workbook with sample data, it will be eaiser for you and me to get desired results.

  5. #5
    Forum Contributor
    Join Date
    03-28-2013
    Location
    *
    MS-Off Ver
    Excel 2010
    Posts
    226

    Re: lookup value and return value in cell

    may this below
    Please Login or Register  to view this content.
    if this above macro did not get what you need please upload workbook with sample data, it will be eaiser for you and me to get desired results.

  6. #6
    Registered User
    Join Date
    08-22-2011
    Location
    Laval quebec
    MS-Off Ver
    MS 365
    Posts
    99

    Re: lookup value and return value in cell

    Thanks Man! Works great..

    Got a question for you..

    I need to have a message box if the value is not found after the search in evaluation tracker..

    How to I insert that in the code?

    Right now if I enter a number that doesn't exist it give me the error "Runtime error 91" Object Variable or With block variable not set
    Last edited by djsouljah; 11-23-2013 at 06:54 PM.

+ 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. [SOLVED] Lookup ****** value and return value in cell
    By kelkelkel08 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-16-2013, 10:33 PM
  2. Lookup zero then return value from another cell
    By uncleslinky in forum Excel General
    Replies: 2
    Last Post: 06-15-2012, 09:59 AM
  3. Lookup and return cell value
    By jenwantz in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-13-2012, 01:24 PM
  4. Return value from another cell (lookup?)
    By matt_the_brum in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 02-23-2007, 05:28 AM
  5. [SOLVED] Return cell reference of lookup value
    By bobm in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 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