+ Reply to Thread
Results 1 to 5 of 5

Match Formula Didn't Return Value after 11th Column

  1. #1
    Registered User
    Join Date
    01-04-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/10
    Posts
    6

    Match Formula Didn't Return Value after 11th Column

    Hi everybody,
    I tried to use Match formula to code Main Diagnosis for each patient, because some patients may have multiple disease, but I only want to choose 1 Main Diagnosis for each and every patients according to the sequence of the Diagnosis in the Column.
    It works fine for the first 11 column, but not the 12th. The file is uploaded.

    Can anybody please help me with this?
    Thank you very much for your attention and time
    Attached Files Attached Files
    Last edited by suriawati; 03-07-2012 at 11:55 PM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Match Formula Didn't Return Value after 11th Column

    your formula that generates the 1 in the final column has the number 1 in quotes, this makes it a text instead of a number, if you remove the quotes, or put your search criteria in quotes, it will work.

    your other columns work because of the math that you have, adding "1" + "0" will convert it to a number automaticaly.

    hope this helps.
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    01-04-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/10
    Posts
    6

    Re: Match Formula Didn't Return Value after 11th Column

    I don't really get it actually. Could you please explain it a litle bit more? What should I do to get 12 in that D5 cell?

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Match Formula Didn't Return Value after 11th Column

    in cell D5 change your formula to:

    =IF(ISNUMBER(SEARCH("#",C5)),1,0)

  5. #5
    Registered User
    Join Date
    01-04-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2007/10
    Posts
    6

    Re: Match Formula Didn't Return Value after 11th Column

    Thank you very much, that really worked. You've been a great help. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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