+ Reply to Thread
Results 1 to 21 of 21

Lookup, Match, structed table

  1. #1
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Lookup, Match, structed table

    Hi All

    Please see spreadsheet

    Im trying to use a lookup formula to return txt in another column but cant get it to work

    =VLOOKUP([@DeliveryPoint],'Lookup table'!B2:E76,2,TRUE)

    More details on the attached spreadsheet

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    Try either,
    =VLOOKUP([@DelPointName],Table2[[DelPointName]:[Reason]],2,0)
    =INDEX(Table2[Reason],MATCH([@DelPointName],Table2[DelPointName],0))

  3. #3
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    Hi Josephteh

    Thanks for the reply

    I'm afraid I cant get the either of the formula's you have provided to work.

    Can you give me a bit more detail please

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    Please see attached file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    Hi Josephteh

    Thanks for the reply

    This is what i originally asked for,

    My mistake but i need the data to lookup D4 and not E4 (Delivery point not delivery name)

    Sorry about my mistake
    Last edited by Morleyb; 05-23-2023 at 07:50 AM.

  6. #6
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    Just change [@DelPointName] to [@DeliveryPoint]

  7. #7
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    Sorry about this but i must be missing something

    I have changed has you have suggested but its not working

    I do thank you for you time and patience

  8. #8
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    Please attach your workbook.

  9. #9
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    Work book attached
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    You only change column Q formula. What exactly is wrong?

  11. #11
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    Trying to get the formula in Q to lookup and match D (DeliveryPoint) with (Lookup table) Coloulm B and then return D (Reason)

    Then the same in R o lookup and match D (DeliveryPoint) with (Lookup table) Coloum B and then return E (Action)

  12. #12
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    Which row is wrong?

  13. #13
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    None of the DeliveryPoint in Planned orders is listed in the Lookup table.

  14. #14
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    Currently lookup and match against Delivery Name and not delivery point

    Del point is unique where the del name can repeat

  15. #15
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    I don't understand you. I give up!

  16. #16
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    When the table updates then there will be some matches

  17. #17
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    See attached

    Data now got matches against del point
    Attached Files Attached Files

  18. #18
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    Just copy one of the DeliveryPoint in Planned orders to the Lookup table and you can see a match.

    If you want to flag errors, like showing nothing if no matches, then change the formula to:
    PHP Code: 
    =IFERROR(INDEX(Table2[Reason],MATCH([@DeliveryPoint],Table2[DeliveryPoint],0)),""
    And, in Action,
    PHP Code: 
    =IFERROR(INDEX(Table2[Action],MATCH([@DeliveryPoint],Table2[DeliveryPoint],0)),""

  19. #19
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    So, now you want to match the date as well?

  20. #20
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Lookup, Match, structed table

    Add in "--" in formula:
    PHP Code: 
    =IFERROR(INDEX(Table2[Reason],MATCH(--[@DeliveryPoint],Table2[DeliveryPoint],0)),""
    PHP Code: 
    =IFERROR(INDEX(Table2[Action],MATCH(--[@DeliveryPoint],Table2[DeliveryPoint],0)),""

  21. #21
    Registered User
    Join Date
    06-15-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    37

    Re: Lookup, Match, structed table

    Thanks for all your help

+ 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. Creating a Structed Reference formula using a variable
    By chuckdiaz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-04-2021, 09:17 AM
  2. Table from another table? lookup/index/match?
    By rk01 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-29-2021, 07:40 AM
  3. Replies: 1
    Last Post: 06-10-2021, 05:01 PM
  4. [SOLVED] Index Match Match for a small table lookup
    By slvrbktom in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 09-05-2018, 06:08 PM
  5. Replies: 3
    Last Post: 06-03-2018, 01:23 AM
  6. [SOLVED] Table lookup for exact match and match between range
    By chris4mayor in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-16-2018, 05:54 PM
  7. Extract structed email content (table) to excel
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2017, 02:27 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