+ Reply to Thread
Results 1 to 5 of 5

Possible simple question regarding a formula and a blank cell.

  1. #1
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Unhappy Possible simple question regarding a formula and a blank cell.

    Dear Excel-specialists,

    I have a problem that can be split in two questions.

    1. I like to show the date that is the most nearest to the current date --> that is: the dates that are filled in the three columns seperatly (a1, b1, c1)
    2. When a date field is not filled in, I get the value "-44736" back . Is it possible to remove that value and just show what I need --> question 1 (without the value -44736)?

    Please see the attached file for more context. I can't figure it out.
    Thank you in advance for your help!

    Best regards,


    Hans
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Possible simple question regarding a formula and a blank cell.

    I changed the formatting of D2 to be a date and set this formula:

    Please Login or Register  to view this content.
    I also changed E2, F2, G2 formulas:
    Please Login or Register  to view this content.
    See attached.

    WBD
    Attached Files Attached Files
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Possible simple question regarding a formula and a blank cell.

    Hi WideBoyDixon,

    This works like a charm (and even improved the current syntax). Thank you very much for your help/support!! :-)

    Best regards,

    Hans

    PS.
    Adding reputation.

  4. #4
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Possible simple question regarding a formula and a blank cell.

    Hi WideBoyDixon,

    I have just one additional question.
    I get a #N/B error when a date field is left blank (please see attached file). Is this easy to solve?
    Thank you in advance for an answer

    Best regards,

    Hans
    Attached Images Attached Images

  5. #5
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Possible simple question regarding a formula and a blank cell.

    You can wrap it an in IFERROR() formula like this:

    Please Login or Register  to view this content.
    WBD

+ 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] Formula question IF cell is blank, leave blank if not D6-E6
    By krisryan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-24-2018, 10:56 PM
  2. [SOLVED] help on a simple if text says this input that, if cell is blank leave it blank
    By Rec1ne in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2013, 10:43 AM
  3. Replies: 2
    Last Post: 02-21-2013, 07:17 AM
  4. [SOLVED] Simple pull exact text from cell, if blank it pulls up a 0. How to leave it as blank?
    By sharpmel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2012, 02:20 PM
  5. Simple Blank Rows Question
    By Maveri9720 in forum Excel - New Users/Basics
    Replies: 13
    Last Post: 06-24-2009, 02:22 PM
  6. Question: How do I leave a cell blank if formula value is #N/A
    By Chobi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2008, 04:08 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