+ Reply to Thread
Results 1 to 4 of 4

Simple IF Formula to Ignore Blanks

  1. #1
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Simple IF Formula to Ignore Blanks

    I don't think a work book upload is necessary for this question. I'm sure someone knows the answer pretty quickly.

    I can't figure out how to make the following formula ignore blanks. Column A is someone's first name and column B is the second name. Column C would automatically populate with: [email protected]. Currently if column A and B are blank, I get: [email protected]

    I just want it to be blank if there are no names listed in column A or B

    Current Code:
    Please Login or Register  to view this content.
    Can someone help me solve this one? Again... I'm sure it's probably an easy one. It's eluding me, though.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,513

    Re: Simple IF Formula to Ignore Blanks

    try...
    =IF(AND(A10="",B10=""),"",A10&"."&B10&"@gmail.com")
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor Gtrtim112's Avatar
    Join Date
    04-12-2013
    Location
    Alabama, USA
    MS-Off Ver
    Excel 2016
    Posts
    332

    Re: Simple IF Formula to Ignore Blanks

    Quote Originally Posted by Sambo kid View Post
    try...
    =IF(AND(A10="",B10=""),"",A10&"."&B10&"@gmail.com")
    Perfect... thank you! I knew I wasn't holding my tongue right... haha.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.85 for Mac MS 365
    Posts
    8,513

    Re: Simple IF Formula to Ignore Blanks

    You're welcome. And thank you for the rep!

+ 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] MIN formula to ignore 0 and blanks
    By D-smoke in forum Excel General
    Replies: 3
    Last Post: 06-05-2018, 08:56 AM
  2. Formula to return unique value and ignore blanks..
    By tangmere.milli in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-23-2015, 10:45 AM
  3. [SOLVED] Formula to ignore blanks and no numeric data
    By ungers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2014, 04:47 PM
  4. [SOLVED] Formula to Compute Averages - Ignore Zero (Blanks)
    By Neane in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-13-2012, 07:08 PM
  5. Ignore blanks in sumproduct formula
    By Rhyl in forum Excel General
    Replies: 4
    Last Post: 02-02-2012, 11:42 AM
  6. Validation List ignore blanks (formula)
    By portmontreal in forum Excel General
    Replies: 2
    Last Post: 07-16-2009, 02:52 PM
  7. [SOLVED] USING IGNORE BLANKS IN FORMULA
    By Roger H. in forum Excel General
    Replies: 5
    Last Post: 04-06-2005, 12:06 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