+ Reply to Thread
Results 1 to 9 of 9

Vlookup returning formula

  1. #1
    Registered User
    Join Date
    05-20-2005
    Posts
    22

    Vlookup returning formula

    HI,

    I have a workbook listing part descriptions. Some cells have just a numeric value and some have some formula.

    When I use Vlookup, I just get the value on the cell with formula. Is there a way to get the formula with the Vlookup?

    Thank you.

    Juran
    Last edited by Juran; 04-07-2009 at 07:19 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Vlookup returning formula

    No, there isn't. There may be another way to do what you're trying to do, though.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup returning formula

    Not with Native Excel functionality...

    you can download and install a free addin from here Morefunc.xll and use a formula such as:

    =FORMULATEXT(INDEX(A1:H4,MATCH(X1,A1:A4,0),8))

    where your table is in A1:H4 and you are matching X1 to A1:A4 to get formulas located in H1:H4

    adjust references to suit.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    05-20-2005
    Posts
    22

    Re: Vlookup returning formula

    NBVC,

    Thank you for your reply.

    I tried using the formula, but it is returnig #ref.

    Any suggestion?

    Thank you.

    Juran

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup returning formula

    Did you install the addin successfully?

  6. #6
    Registered User
    Join Date
    05-20-2005
    Posts
    22

    Re: Vlookup returning formula

    NBVC,

    Yes it was installed successfully.

    I tried just the Formulatext and worked fine.

    Juran

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup returning formula

    Great.

    Please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Registered User
    Join Date
    05-20-2005
    Posts
    22

    Re: Vlookup returning formula

    NBVC,

    What I meant was the the addin was installed successfully.

    When I tried your formula, I got #ref.

    To make sure that I installed the Addin successfully, I use =formulatext() and worked.

    I maybe doing something wrong.

    Juran

  9. #9
    Registered User
    Join Date
    05-20-2005
    Posts
    22

    Re: Vlookup returning formula

    NBVC,

    I tried the formula again at hoem and worked. Probably at work I made some syntex error. I will check tomorrow.

    Again thank for your help. I will close the thread.

    Juran

+ 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