+ Reply to Thread
Results 1 to 5 of 5

LOOKUP formula with 3 conditions and sort/filter function

  1. #1
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    LOOKUP formula with 3 conditions and sort/filter function

    Hi Guys,
    I have a formula that I use to look up a value according to 3 conditions. But when I reorder the rows using a sort & filter function, the formula locks for cells $C11 & $F11 are still locked to the original cell rows (but I don't wish to lock them). I want them to retrieve the value after the sort.

    =IFERROR(LOOKUP(2,1/((Real!$F11='MILL'!$A$1:$A$100000)*(Real!$C11='MILL'!$B$1:$B$100000)*(Real!$J$9='MILL '!$C$1:$C$100000)),'MILL'!$D$1:$D$100000),"-")

    Any help would be great.

    Thanks,

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: LOOKUP formula with 3 conditions and sort/filter function

    In which worksheet is the formula?
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    Re: LOOKUP formula with 3 conditions and sort/filter function

    Thx for the reply legs.
    The formula is on worksheet: Real

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: LOOKUP formula with 3 conditions and sort/filter function

    It should sort correctly if you take out the Real! worksheet names, i.e. like this

    =IFERROR(LOOKUP(2,1/($F11=Mill!$A$1:$A$100000)*($C11=Mill!$B$1:$B$100000)*($J$9=Mill!$C$1:$C$100000),Mill!$D$1:$D$100000),"-")

  5. #5
    Forum Contributor
    Join Date
    08-23-2013
    Location
    Alberta, Canada
    MS-Off Ver
    Excel 365
    Posts
    166

    Re: LOOKUP formula with 3 conditions and sort/filter function

    Looks to be working. Thanks legs!

+ 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. Replies: 3
    Last Post: 06-30-2016, 04:32 PM
  2. Replies: 5
    Last Post: 02-24-2013, 09:36 AM
  3. sort/filter/lookup problem
    By kryt0n in forum Excel General
    Replies: 8
    Last Post: 12-01-2010, 12:24 PM
  4. Sort & Filter Function
    By number46 in forum Excel General
    Replies: 3
    Last Post: 01-23-2010, 09:51 AM
  5. Lookup function with mulitple conditions
    By Tiffany in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-21-2006, 01:45 AM
  6. Sort/Filter/Lookup
    By Mike in forum Excel General
    Replies: 8
    Last Post: 06-29-2006, 03:20 PM
  7. Filter, sort, lookup from other sheet
    By falloutx in forum Excel General
    Replies: 2
    Last Post: 01-18-2006, 12:36 PM

Tags for this Thread

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