+ Reply to Thread
Results 1 to 6 of 6

Lookup based on Cell Criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    10-26-2012
    Location
    Glasgow should be in UK
    MS-Off Ver
    Excel 2016
    Posts
    76

    Lookup based on Cell Criteria

    Hi There,

    I'm half way into the supposedly easy calculation, but need some help. I've entered the formula which when equal to "approve" should give me only the details where it matches from another sheet. So if its "approve" then it should give me the name and other details.. I've attached the spreadhseet to make some sense, I need some help here please.

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lookup based on Cell Criteria

    Personally I'd use a Pivot Table and avoid the need for any formulae.

    See attached. Since you've only apparently got Excel 2003 I've put the Request Status in the Report Filter area of the PT Field List. If you have Excel 2010 or later it would be more elegant to use the Slicer functionality.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-26-2012
    Location
    Glasgow should be in UK
    MS-Off Ver
    Excel 2016
    Posts
    76

    Re: Lookup based on Cell Criteria

    Richard, Thanks for the help.. I'm not sure why it came up as 2003, im on office 365 so the latest, I know how to use the slicer, but the requestor insisted on some format, which made me use formula only..

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lookup based on Cell Criteria

    Quote Originally Posted by nicci113 View Post
    Richard, Thanks for the help.. I'm not sure why it came up as 2003, im on office 365 so the latest, I know how to use the slicer, but the requestor insisted on some format, which made me use formula only..
    Hi,

    Your profile is showing Excel 2003. To avoid any confusion in the future it would be a good idea to change it.

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Lookup based on Cell Criteria

    Array formula ensure [shift+ctrl+enter]
    In "A3"
    Formula: copy to clipboard
    =IFERROR(INDEX(owssvr!F:F,SMALL(IF($F$1=owssvr!$E$2:$E$8,ROW(owssvr!$E$2:$E$8)),ROWS(A$2:A2))),"")

    In "B3"
    Formula: copy to clipboard
    =IFERROR(INDEX(owssvr!B:B,SMALL(IF($F$1=owssvr!$E$2:$E$8,ROW(owssvr!$E$2:$E$8)),ROWS(B$2:B2))),"")

    In "C3"
    Formula: copy to clipboard
    =IFERROR(INDEX(owssvr!C:C,SMALL(IF($F$1=owssvr!$E$2:$E$8,ROW(owssvr!$E$2:$E$8)),ROWS(C$2:C2))),"")

    In "D3"
    Formula: copy to clipboard
    =IFERROR(INDEX(owssvr!D:D,SMALL(IF($F$1=owssvr!$E$2:$E$8,ROW(owssvr!$E$2:$E$8)),ROWS(D$2:D2))),"")

    copy down till blank.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  6. #6
    Registered User
    Join Date
    10-26-2012
    Location
    Glasgow should be in UK
    MS-Off Ver
    Excel 2016
    Posts
    76

    Re: Lookup based on Cell Criteria

    Smashing brilliant. I know I'm asking more, but can you break down the formula post small so I understand a bit better. Please

+ 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: 0
    Last Post: 05-02-2016, 07:59 AM
  2. Replies: 9
    Last Post: 08-20-2014, 04:43 PM
  3. [SOLVED] vba lookup using multiple criteria based no cell values
    By rakeshr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2013, 07:11 AM
  4. Two Page Lookup matching criteria based on cell value
    By G_excel_280 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-01-2009, 03:22 PM
  5. Lookup matching criteria based on cell value
    By G_excel_280 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-19-2009, 02:21 PM
  6. Lookup a cell based on 2 criteria
    By shane24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-17-2007, 01:22 AM
  7. [SOLVED] return cell reference in a table based upon given lookup criteria
    By Travis in forum Excel General
    Replies: 3
    Last Post: 03-15-2006, 10:35 AM

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