+ Reply to Thread
Results 1 to 5 of 5

Format Cells Question

  1. #1
    Registered User
    Join Date
    05-14-2018
    Location
    Manchester, England
    MS-Off Ver
    Office Professional Plus 2021
    Posts
    9

    Question Format Cells Question

    Good evening all.

    Still fairly new to the forum and haven't posted in a while so please be gentle :-)

    I'm hoping to find out if it's possible to have a cell formatted so that whenever you place a date inside it will automatically change it to 113 or 120 days in the future. I'm looking to do this as part of the spreadsheet I use is there to remind me when I should be contacting certain people. I have breaks in the spreadsheet (yellow wrapped boxes) to differentiate between jobs.

    I'm aware that I can use the formula =SUM(B3)+113 (see image for clarification but I'm hoping instead I can format the cell instead that way the cell can stay blank rather than having to be filled all the time if that makes sense?

    Excel.jpg

    I did try ask ChatGPT which give the method of:

    Select the cell where you want the result to appear.

    Press Ctrl + 1 (or right-click the cell and select "Format Cells").

    In the "Number" tab, select "Custom" from the Category list.

    In the "Type" field, enter the following formula:

    bash
    Copy code
    mm/dd/yyyy + 113
    Note: Replace "mm/dd/yyyy" with the date format you are using. For example, if you use the format "dd/mm/yyyy," the formula would be:

    bash
    Copy code
    dd/mm/yyyy + 113
    Click "OK" to apply the format.

    However this fails with the below message:

    Excelissue.jpg

    Any help or advice you can provide would be greatly appreciated.

    Metrix

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Format Cells Question

    =SUM(B3)+113 (see image for clarification but I'm hoping instead I can format the cell instead that way the cell can stay blank rather than having to be filled all the time if that makes sense?
    What's wrong with that? You don't see the formula in the cell or anything else do you, as long as nothing is entered in the B column ?
    And BTW in your formula the SUM function is redundant

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Format Cells Question

    I suspect you mean:

    =IF(B3="","",B3+113)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    05-14-2018
    Location
    Manchester, England
    MS-Off Ver
    Office Professional Plus 2021
    Posts
    9

    Re: Format Cells Question

    Thank you both for your swift replies.

    Glenn, your answer has fixed my issue. Thank you very much for your assistance.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Format Cells Question

    You're welcome!

+ 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] Best Practices question regarding the format of numeric cells
    By damngroundhog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2019, 10:48 PM
  2. Replies: 0
    Last Post: 10-02-2016, 07:30 AM
  3. Replies: 2
    Last Post: 02-21-2013, 07:17 AM
  4. [SOLVED] Question regarding conditional format question that covers two range criteria
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-06-2013, 12:32 PM
  5. [help]format cells and links question
    By bman1u in forum Excel General
    Replies: 1
    Last Post: 04-30-2008, 03:45 PM
  6. want format cells alignment not format cells font style
    By Jeannie Bean in forum Excel General
    Replies: 2
    Last Post: 02-10-2006, 05:35 AM
  7. Replies: 1
    Last Post: 01-26-2006, 10:10 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