+ Reply to Thread
Results 1 to 6 of 6

Lookup Data Query

  1. #1
    Forum Contributor
    Join Date
    05-27-2014
    Posts
    141

    Lookup Data Query

    Hi Guys,

    I am trying to lookup data from one table with a set criteria

    In the table I have attached I would like to know if it is possible

    On Sheet named Sunday in Column B, I would like to know if it is possible to populate the peoples names from Sheet 'Weekly Summary' Column B where they have a 'Y' in in column D

    thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Lookup Data Query

    Are you likely to want to do this for the other days of the week as well, i.e. to have a sheet for Monday, Tuesday Wednesday etc.?

    Pete

  3. #3
    Forum Contributor
    Join Date
    05-27-2014
    Posts
    141

    Re: Lookup Data Query

    I would, yes but I am ok to modify the formula for each day I just cant sole the initial formula

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup Data Query

    Try this array formula

    =IFERROR(INDEX('WEEKLY SUMMARY'!B:B,SMALL(IF('WEEKLY SUMMARY'!$D$5:$D$104="Y",ROW('WEEKLY SUMMARY'!$D$5:$D$104)),ROWS(D$2:D2))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Contributor
    Join Date
    05-27-2014
    Posts
    141

    Re: Lookup Data Query

    Perfect thank you, i figured it would be an array but i'm still learning about them

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Lookup Data Query

    You're welcome. Don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

+ 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/Query Data from one Sheet/Range to another...Need Help
    By djtech2k in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-17-2012, 03:29 PM
  2. Replies: 8
    Last Post: 08-06-2010, 07:27 AM
  3. Row Data lookup/sort query
    By tommy_b in forum Excel General
    Replies: 4
    Last Post: 10-23-2009, 09:03 AM
  4. LOOKUP Query
    By carlosbourn in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-04-2008, 10:35 AM
  5. Lookup query
    By Hywel in forum Excel General
    Replies: 1
    Last Post: 03-03-2005, 09:45 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