+ Reply to Thread
Results 1 to 4 of 4

when adding 2 dated and one is blank it returns a value 42354

  1. #1
    Registered User
    Join Date
    02-29-2016
    Location
    arizona
    MS-Off Ver
    10
    Posts
    3

    when adding 2 dated and one is blank it returns a value 42354

    I have 2 columns each with a date in the 3rd column is my formula that subtracts one date from another and displays the remaining days but if one of the date columns is bland it returns a numeric value 42354 How do I add an if blank display nothing in my formula?
    Last edited by GBW.Todd; 04-07-2016 at 05:11 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help with basic formula

    Hi and welcome to the forum. Unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: when adding 2 dated and one is blank it returns a value 42354

    =if(a1="", "", b1-a1)
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: when adding 2 dated and one is blank it returns a value 42354

    One way...

    =IF(COUNT(A1,B1)<2,"",B1-A1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Using a cell containing a VLookup Formula in a Basic Multiplication Formula
    By slampert in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-11-2015, 09:20 PM
  2. I need help with a basic IF formula
    By bgpzone in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-16-2015, 06:51 AM
  3. Need help with a formula (probably very basic)
    By cb4008 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-26-2013, 08:47 PM
  4. Formula for tracking stock & sales figures
    By arobinson1984 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2013, 05:01 PM
  5. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  6. Basic if formula
    By koba in forum Excel General
    Replies: 1
    Last Post: 03-13-2006, 06:55 PM
  7. Can anybody help me with basic sum formula please?
    By andrewsnaith in forum Excel General
    Replies: 4
    Last Post: 03-03-2006, 11:45 AM

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