+ Reply to Thread
Results 1 to 8 of 8

Match numbers with attached symbol

  1. #1
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Question Match numbers with attached symbol

    I created a MATCH formula with an INDEX cells that contains same numbers with a different added symbol to it.
    Example of cells content are 27# and 27* in the same column in sequence.

    I noticed that the formula resulted in the number that matches 27# instead of the intended 27* corresponding number!!
    Am I missing something, or is it an Excel issue, it does not distinguish symbols, in this case pound sign from asterisk and chosen the first matching number in column regardless of the attached symbol?

    How can I fix this issue please and have the formula distinguish between 27# and 27*?

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Match numbers with attached symbol

    Hi,

    How many other characters do you have apart from those two?

    The *, if unqualified, is treated as a wildcard, so you would need something like (with e.g. 27* in C1 and your list in A1:A3):

    =MATCH(SUBSTITUTE(C1,"*","~*"),A1:A3,0)

    Regards
    Click * below if this answer helped

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

  3. #3
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Match numbers with attached symbol

    Use this.
    =MATCH(A1,$A$1:$A$2)

    Regards,
    Suhas

  4. #4
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Match numbers with attached symbol

    Below is my formula, how it should be edited please?

    =IF(ISNA(MATCH(B8,$A$43:$Z$43,0)),"",INDEX(A43:Z55,MATCH(A8,$A$43:$A$55,0),MATCH(B8,$A$43:$Z$43,0)))

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Match numbers with attached symbol

    Post a sample workbook so we can be clear.

    Regards

  6. #6
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Match numbers with attached symbol

    It is not actually possible to post a sample due to the complexity of the workbook.


    Regards

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Match numbers with attached symbol

    Then create a mocked-up, reduced file which at least illustrates your issue.

    Regards

  8. #8
    Forum Contributor
    Join Date
    04-18-2011
    Location
    Jeddah
    MS-Off Ver
    Excel 2007
    Posts
    362

    Re: Match numbers with attached symbol

    Thanks anyhow, I managed to change the 27* to 27(*) now the formula distinguish between 27# and 27(*) and resulted in the correct number.

+ 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: 8
    Last Post: 01-23-2014, 05:28 AM
  2. Index Match not working - File attached
    By erumhyder in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2011, 11:11 AM
  3. Replies: 4
    Last Post: 10-11-2010, 05:13 AM
  4. Replies: 2
    Last Post: 10-22-2009, 02:50 PM
  5. [SOLVED] Excel -- paper symbol attached to cursor?
    By PRAG0223 in forum Excel General
    Replies: 1
    Last Post: 02-06-2006, 06:15 PM

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