+ Reply to Thread
Results 1 to 5 of 5

TEXT Formula to identify rows of cells with Matching TEXT *** Actual Worksheet attached.

  1. #1
    Registered User
    Join Date
    04-28-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    18

    TEXT Formula to identify rows of cells with Matching TEXT *** Actual Worksheet attached.

    TEXT_Excel_Example_Need_Formula.xlsx

    Please review my attached worksheet - of the actual document that I am trying to find a formula for...

    What I need is explained within the document.

    I hope this makes it more clear than my previous post.

    Thanks for your help.

    Steve
    Last edited by steve08087; 04-29-2013 at 12:43 PM. Reason: Title Change

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,277

    Re: TEXT Formula to identify rows of cells with Matching TEXT *** Actual Worksheet attache

    Try this in A8, copied into other relevant cells

    =SUMPRODUCT(($C$3:$S$3=$C$3)*($C8:S8=$C8))*SUMPRODUCT(($C$3:$S$3=$D$3)*($C8:$S8=$D8))=36
    Does that work for you?
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    04-28-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: TEXT Formula to identify rows of cells with Matching TEXT *** Actual Worksheet attache

    Thank you ChemistB - That's working - EXCEPT,,,,

    When I have any blank cells - it results in a FALSE - when it should be TRUE for the text that is shown (when they are all the same text - that is)

    Two ?s

    1. Can this code be set to ignore blank cells in a row?

    2. If not, how do I adjust it to work - when I'm dealing with only 5 columns of text, or 4 columns, etc?

    Thanks
    Steve

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,277

    Re: TEXT Formula to identify rows of cells with Matching TEXT *** Actual Worksheet attache

    Okay, this one will work also if there are any blanks (but only if there are blanks in both Exam Code and Body Site AND they are in the same pair). Is that what you want?

    =SUMPRODUCT(($C$3:$S$3=$C$3)*($C8:S8=$C8)*COLUMN($C8:$S8))=SUMPRODUCT(($C$3:$S$3=$D$3)*($C8:$S8=$D8)*(COLUMN($C8:$S8)-1))

  5. #5
    Registered User
    Join Date
    04-28-2013
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: TEXT Formula to identify rows of cells with Matching TEXT *** Actual Worksheet attache

    That works Great !!!

    Thank you...

    Steve

+ 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