+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Contrasting two sets of cells in the same row: problem with blank (null) cells

  1. #1
    Registered User
    Join Date
    11-12-2011
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question Contrasting two sets of cells in the same row: problem with blank (null) cells

    Hi everyone, I'm new, but not new to forums. I have one question, and I would be immensely grateful if someone could help me out with it.

    The aspect of my dataset that is troubling me is structured as such:

    Columns: Language 1(Country A), Language 2(Country A), ..., Language 5(Country A), Language 1 (Country B), ..., Language 5(Country B)

    I want to define a new column that returns TRUE or FALSE values (or just 0, 1) for whether any one of the languages under Country A matches any of the languages under Country B. If at least one match = TRUE. If none match = FALSE.

    The problem is that only (I think) two countries have five languages listed. So for the rest of them, there are null cells. But any formula I've been able to define with my limited Excel skills thinks that these null cells are valid, and matches them, returning me TRUE values inappropriately.

    What can I do to get a formula that ignores null values in the rows?

    Note that the language fields are text, if that is significant at all.

    Any help at all will be greatly appreciated!

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Contrasting two sets of cells in the same row: problem with blank (null) cells

    Welcome to the forum

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

+ 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