Number vs text format using MATCH function
Results 1 to 3 of 3

Thread: Number vs text format using MATCH function
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Jul 2019
    Location
    Win 10, Office Professional Plus 2016
    Posts
    104
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Number vs text format using MATCH function

    https://1drv.ms/x/s!AvjBsEPEq12ngTMp...cYXLI?e=Hm2JrH

    I am trying to do a Match lookup.
    The value I am looking up could be in text or number format.
    The search value can also be in text or number format.

    What formula could I use that would work for all different combinations of formats, that is:

    Number looking up number
    number looking up text
    text looking up number
    text looking up text

    E.g. in the link, I am looking up an invoice number. It is clearly there but the MATCH formula gets an N/A error.

  2. #2
    Board Regular
    Join Date
    Oct 2011
    Posts
    4,224
    Post Thanks / Like
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Number vs text format using MATCH function

    Maybe something like this.
    This is an array formula and must be entered with CTRL-SHIFT-ENTER.

    ABCD
    1Lookup Match
    2123451 12345
    3223 A45
    4A452 22

    Spreadsheet Formulas
    CellFormula
    B2{=MATCH(TEXT(A2,"#"),TEXT($D$2:$D$4,"#"),0)}
    B3{=MATCH(TEXT(A3,"#"),TEXT($D$2:$D$4,"#"),0)}
    B4{=MATCH(TEXT(A4,"#"),TEXT($D$2:$D$4,"#"),0)}
    Formula Array:
    Produce enclosing
    { } by entering
    formula with CTRL+SHIFT+ENTER!


    Excel tables to the web >> Excel Jeanie HTML 4

  3. #3
    Board Regular
    Join Date
    Jul 2019
    Location
    Win 10, Office Professional Plus 2016
    Posts
    104
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Number vs text format using MATCH function

    Quote Originally Posted by AhoyNC View Post
    Maybe something like this.


    Hi Ahoy,
    Thank you, that's exactly what I needed. I appreciate it.


    Last edited by danhendo888; Aug 7th, 2019 at 11:50 PM.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •