+ Reply to Thread
Results 1 to 6 of 6

LOOKUP to call reference cells

  1. #1
    Registered User
    Join Date
    02-16-2014
    Location
    Birmingham
    MS-Off Ver
    Excel 2010
    Posts
    14

    LOOKUP to call reference cells

    Is it possible in this example:

    =IF(E1="","",LOOKUP(E1,{0,0.5,1,2}+1/10^10,{21,31,41,61}))

    for this part {21,31,41,61} to obtain the numbers from cell references such as:

    P1 is 21
    P2 is 31
    P3 is 41
    P4 is 61

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: LOOKUP to call reference cells

    Yes. Try it!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    02-16-2014
    Location
    Birmingham
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: LOOKUP to call reference cells

    I did before posting.

    Changed to =IF(E1="","",LOOKUP(E1,{0,0.5,1,2}+1/10^10,{P1,P2,P3,P4}))

    and received 'The formula you typed contains an error'.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: LOOKUP to call reference cells

    Try it like this:

    =IF(E1="","",LOOKUP(E1,{0,0.5,1,2}+1/10^10,P1:P4))

  5. #5
    Registered User
    Join Date
    02-16-2014
    Location
    Birmingham
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: LOOKUP to call reference cells

    Thank you very much Tony Valko, that did it.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: LOOKUP to call reference cells

    You're welcome. Thanks for the feedback!

+ 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. Lookup Cells and Return Reference based on 2 values, from different sheets
    By Samantha_O in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2013, 07:18 AM
  2. Lock Multiple Cells for Reference after lookup and Replace::URGENT PLEASE HELP
    By Samantha_O in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2013, 12:24 PM
  3. Can I reference a cell to call for a sum_range?
    By heyjude16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2012, 03:19 PM
  4. [SOLVED] Hide the cell reference call
    By kbka in forum Excel General
    Replies: 1
    Last Post: 09-10-2012, 07:17 AM
  5. Can Lookup or Index be used to reference to different cells?
    By mrgillus in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-14-2009, 10:16 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