+ Reply to Thread
Results 1 to 3 of 3

Comparing multiple text strings and ignoring blanks

  1. #1
    Registered User
    Join Date
    02-08-2017
    Location
    Amsterdam, Holland
    MS-Off Ver
    2016
    Posts
    2

    Comparing multiple text strings and ignoring blanks

    I have a file consisting of 12 columns and several Thousand rows of which not all cells are filled, but the cells that are filled are Always text strings.

    I want to have a formula that PER ROW compares the text strings (thus ignoring blanks) of each filled cell and gives:
    - The text string in case all cells are filled equal
    - an error message in case all cells are not filled equal

    Any ideas?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Comparing multiple text strings and ignoring blanks

    Try this user defined function

    Please Login or Register  to view this content.
    Open the VBA editor by hitting Alt F11.
    Insert a new module with Insert - Module
    Paste in the above function
    Go back to the sheet by hitting Alt F11.

    In a M2 enter =AllTheSame(A1:L1)

    Remember to save the workbook as a macro enabled workbook .xlsm
    Martin

  3. #3
    Registered User
    Join Date
    02-08-2017
    Location
    Amsterdam, Holland
    MS-Off Ver
    2016
    Posts
    2

    Re: Comparing multiple text strings and ignoring blanks

    Is there any way to do this without using macros? So using just formulas.

+ 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. Return most common text from column cells with formula while ignoring blanks
    By rosco01995 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-29-2014, 03:55 AM
  2. [SOLVED] ignoring capitalization when comparing text strings
    By riwiseuse in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-15-2013, 10:18 AM
  3. [SOLVED] 'AdvantageIfs' using multiple criteria returning: #DIV/0!. Help with ignoring blanks+0's
    By shadypops in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-15-2013, 04:12 PM
  4. [SOLVED] max if multiple conditions, ignoring blanks
    By robotlust in forum Excel General
    Replies: 6
    Last Post: 05-29-2012, 07:38 PM
  5. Comparing text strings
    By gmalpani in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-18-2011, 01:59 PM
  6. Multiple IF statements plus ignoring blanks
    By dnewby in forum Excel General
    Replies: 2
    Last Post: 10-31-2011, 12:55 PM
  7. Excel 2007 : sum cells ignoring blanks and text
    By mickurje in forum Excel General
    Replies: 2
    Last Post: 07-04-2010, 03:00 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