+ Reply to Thread
Results 1 to 10 of 10

Make forumla lookup value rather than forumla

  1. #1
    Registered User
    Join Date
    03-02-2015
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    2010
    Posts
    7

    Make forumla lookup value rather than forumla

    Ok here's the deal. In column C("enter time" tab) I have a drop down box of numbers. In column D("enter time" tab) I have =LOOKUP([@[CONTROL '#]],Sheet1!$A:$A,Sheet1!$D:$D). My problem is that Sheet1, column A is ='Z:\Database\[CONTROL NUMBERS OFFICIAL FILE.xls]Sheet1'!B3. So when the first formula looks up a certain control number in sheet 1 col A all it sees is a bunch of formulas rather than the value the formula looked up. When I look at sheet 1 column A it shows me the value I want, but my lookup formula on the "enter time" tab doesn't see the value it only sees the formula and therefore doesn't find the number it's looking for from column C("enter time" tab) and does not return a value.
    I hope this makes sense and there is a way to make it all work. Thanks for your help!

  2. #2
    Registered User
    Join Date
    12-11-2014
    Location
    Dallas, TX
    MS-Off Ver
    2010
    Posts
    94

    Re: Make forumla lookup value rather than forumla

    Sounds like a job for the INDIRECT() function! Let me know if that works or not.
    If I have helped you, please add to my reputation!

  3. #3
    Registered User
    Join Date
    03-02-2015
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    2010
    Posts
    7

    Re: Make forumla lookup value rather than forumla

    Thanks for the suggestion! I had never heard of that function before but it sounds like it may be the key to what I'm trying to do, unfortunately I can't figure out how to make it work. I think the indirect formula should go somewhere in column D("enter time" tab) but I just don't know.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Make forumla lookup value rather than forumla

    LOOKUP only ever looks at the value, it doesn't look at the formula.
    If posting code please use code tags, see here.

  5. #5
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Make forumla lookup value rather than forumla

    Probably best to attach a sample workbook. Click Go Advanced --> Manage Attachments to upload.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  6. #6
    Registered User
    Join Date
    03-02-2015
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    2010
    Posts
    7

    Re: Make forumla lookup value rather than forumla

    Files attached. Thanks for helping! I've spent way more time on this that I should have.
    Attached Files Attached Files

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Make forumla lookup value rather than forumla

    Try VLOOKUP instead of LOOKUP.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    03-02-2015
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    2010
    Posts
    7

    Re: Make forumla lookup value rather than forumla

    It gives a #REF! error.

  9. #9
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Make forumla lookup value rather than forumla

    Works for me as long as both files are open.

  10. #10
    Registered User
    Join Date
    03-02-2015
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    2010
    Posts
    7

    Re: Make forumla lookup value rather than forumla

    Oops, I didn't type the whole formula. That seems to work great! If you don't mind, please explain how your formula is different than what I was using. What significance does the ,4,0 have?

+ 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. how to make forumla that treat blank cells as a zero?
    By Bingsmart in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-06-2017, 11:58 AM
  2. Conditional Forumla with Forumla assigned- Help needed
    By MarkoPolo in forum Excel General
    Replies: 3
    Last Post: 03-06-2014, 06:46 PM
  3. How to make a forumla go in a pattern rather than in order?
    By ojhall123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2013, 12:30 PM
  4. [SOLVED] If/Lookup Forumla
    By pauldaddyadams in forum Excel General
    Replies: 2
    Last Post: 04-10-2012, 09:09 AM
  5. Replacing a cell's forumla with the forumla's results?
    By Mooncalf in forum Excel General
    Replies: 2
    Last Post: 01-04-2005, 12:35 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