+ Reply to Thread
Results 1 to 5 of 5

Dealing with blank cells with the search formula

  1. #1
    Registered User
    Join Date
    09-29-2014
    Location
    London
    MS-Off Ver
    EXCEL
    Posts
    3

    Dealing with blank cells with the search formula

    Hi guys having a bit of a problem with the below formula,

    What it is intended to do is search a customers email address to see if the customer name is contained in the domain of said email address, the name is split into three parts as seen in the formula below.

    My problem is when one of the customer name cells is blank the formula evaluates as true (E-mail address okay), I've tried using ISBLANK but I can't get it to function properly that code is also displayed below.


    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Any advice would be very welcome!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Dealing with blank cells with the search formula

    cant see that have you a sample workbook showing one that doesnt work?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    09-29-2014
    Location
    London
    MS-Off Ver
    EXCEL
    Posts
    3

    Re: Dealing with blank cells with the search formula

    Quote Originally Posted by martindwilson View Post
    cant see that have you a sample workbook showing one that doesnt work?
    Here's an example workbook, note the last blank cell "name 3".

    In the data I'm working I can't just drop the third customer name column.
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Dealing with blank cells with the search formula

    ok what exactly do you want to match? must the @domain name be exactly the same as c2 or d2 or e2 or must it just contain something in there?

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Dealing with blank cells with the search formula

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Refer attachment
    Attached Files Attached Files
    Click just below left if it helps, Boo?ath?

+ 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. [SOLVED] Dealing with merged cells in a search
    By rcoolb2002 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-04-2014, 12:18 AM
  2. [SOLVED] Cannot search for blank cells
    By LightHeart7 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-20-2013, 12:10 PM
  3. Replies: 3
    Last Post: 07-02-2012, 06:52 PM
  4. dealing with blank cells in a range
    By steve in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2006, 05:00 PM
  5. Search and Replace Blank Cells
    By wpw3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-20-2005, 08:05 PM

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