+ Reply to Thread
Results 1 to 16 of 16

LOOKUP Function Replacement

Hybrid View

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

    Re: LOOKUP Function Replacement

    Try this...

    =INDEX(A:A,INDEX(MAX((C38:C92>=I10)*(E38:E92>=I10)*ROW(A38:A92)),0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  2. #2
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: LOOKUP Function Replacement

    Thank you,
    The formula given works fine, however when applying the same given formula to a different cell formula contains the LOOKUP formula below after changing some values it did not works with me!!

    Would you please edit the following formulas in the same way as you did with the first one.

    INDEX is A38:G92

    =LOOKUP(M10,A38:A92,C38:C92)

    Regards,
    Last edited by Khaldon; 08-17-2013 at 06:21 AM.

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

    Re: LOOKUP Function Replacement

    Quote Originally Posted by Khaldon View Post

    =LOOKUP(M10,A38:A92,C38:C92)
    That formula requires the lookup range A38:A92 be sorted in ascending order to work correctly.

    The equivalent INDEX(...) formula would be:

    =INDEX(C38:C92,MATCH(M10,A38:A92))

    Or, you can use VLOOKUP if your device supports it:

    =VLOOKUP(M10,A38:C92,3)

  4. #4
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: LOOKUP Function Replacement

    The first given formula works fine in the laptop.

    =INDEX(A:A,INDEX(MAX((C34:C86>=I10)*(E34:E86>=I10)*ROW(A34:A86)),0))

    When transferred to an IPAD apple app, the formula returns A1 cell value instead off the resulting formula value from row A34:A86!!

    Changing the A:A Index to A34:A86, the formula will now returns cell A34 value regardless.

    Is there away please to modify the above formula with INDEX function, and have the formula returns the correct value of row A34:A86 on my device maybe this formula function (A:A, INDEX) is not supported by my app?

    Best Regards,
    Last edited by Khaldon; 08-17-2013 at 01:36 PM.

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

    Re: LOOKUP Function Replacement

    Try this one...

    =INDEX(A34:A86,INDEX(MAX((C34:C86>=I10)*(E34:E86>=I10)*ROW(A34:A86)),0)-ROW(A34)+1)

  6. #6
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: LOOKUP Function Replacement

    Unfortunately the formula returen #VALUE! in my device, ok in Laptop

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

    Re: LOOKUP Function Replacement

    Hard to say what's causing that result.

    You could always use a helper column.

    Enter this formula in G34 and copy down to G86:

    =IF(AND(C34>=I$10,E34>=I$10),1,"")

    Then the lookup formula would be:

    =INDEX(A34:A86,MATCH(2,G34:G86))

+ 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] excel lookup function, is there a replacement?
    By robbyweston in forum Excel General
    Replies: 11
    Last Post: 05-10-2012, 09:56 AM
  2. Mod() Function Replacement
    By Kyle123 in forum Excel General
    Replies: 4
    Last Post: 03-08-2012, 08:45 AM
  3. Data Lookup and Replacement Macro in a Table
    By robert_shindorf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-01-2008, 10:31 PM
  4. Replacement Function
    By LOVEDOVE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2008, 05:46 PM
  5. replacement for IF function?
    By fastballfreddy in forum Excel General
    Replies: 7
    Last Post: 05-08-2006, 12:10 PM

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