+ Reply to Thread
Results 1 to 7 of 7

Lookup data formula

  1. #1
    Registered User
    Join Date
    03-11-2013
    Location
    Southampton Hants
    MS-Off Ver
    Excel 2010
    Posts
    3

    Lookup data formula

    Hi All,
    I'm currently trying to put together a record of who takes out store keys for a student union, i'm trying to put together a spreadsheet that will tell me which stores a person is eligible for when i type in their student ID number.question.jpg

    What i'd like is;
    To type the id number into a cell in column A
    Then if the number appears in column Z i'd like it to return the value on the same row from column AB or leave the field blank if it isnt in column Z.
    I was then going to tweak it to so that each store column searches the relevant cells in the ID column (e.g. The Archery column (G) only searches id's from rows 2:15, Balroom (H) searches rows 23:47, etc)

    I've tried lookup formulas people have suggested but so far have had no luck and really dont know where im going wrong. If anyone can help it'd be massively appreciated.
    Thanks
    Scott.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup data formula

    Will be more useful if you upload a small sample workbook. Not a picture.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    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 data formula

    Hi,

    Re the first Q. Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Where A1 contains your ID#

    Re the 2nd Q. It really depends whether the ID number is unique in Column G, Column H etc. If so an adaptation of the above should do. If not upload your workbook so that we can see the request in context.

    Have you considered a Pivot Table which may be able to help depending on your data layout?
    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.

  4. #4
    Registered User
    Join Date
    03-11-2013
    Location
    Southampton Hants
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Lookup data formula

    https://www.dropbox.com/s/iwy7gq2d81...tion%29.xlsm?m

    Hi Both,
    Thanks for the help with this i really appreciate it. I tried the suggested formula and it looks really promising; i've put the link to the document above i hope this is ok. Scott.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup data formula

    Try in W2 and copy down.

    =IF(ISERROR(INDEX($AB$2:$AB$10000,MATCH(A2,$Z$2:$Z$10000,0))),"",(INDEX($AB$2:$AB$10000,MATCH(A2,$Z$2:$Z$10000,0))))

  6. #6
    Registered User
    Join Date
    03-11-2013
    Location
    Southampton Hants
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Lookup data formula

    Hi Fotis,
    THANK YOU SO MUCH. have tweaked it to all the clubs, works perfectly; Hero!!!
    Scott.

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup data formula

    ..................................

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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