+ Reply to Thread
Results 1 to 6 of 6

Simple date problem (I think)

  1. #1
    Registered User
    Join Date
    01-24-2020
    Location
    Missouri, United States
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3

    Simple date problem (I think)

    Hello,

    So I'm building a workbook, and I have one cell called Jan (January), cell A1, and I want the cell next to it, cell B2, to equal Feb based off the fact that cell A1 is Jan. A1 is linked to another workbook, so if cell A1 changes to Mar then I want cell B2 to automatically change to Apr. I want B2 to be able to change to the month following A1, whichever month it is. And I also need it to work using only the first 3 letters of the month. How do I do this?

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

    Re: Simple date problem (I think)

    if January in A1 is an actual date then this in B2 will change it by one month =EDATE(A1,1)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Simple date problem (I think)

    Hello and welcome to the forum.

    B2 is not next to A1.

    That being said, assuming that the 3 letter month is text and not an actual date, try this:
    =TEXT(EDATE((A1&" 1")+0,1),"mmm")

  4. #4
    Registered User
    Join Date
    01-24-2020
    Location
    Missouri, United States
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3

    Re: Simple date problem (I think)

    Quote Originally Posted by Sambo kid View Post
    if January in A1 is an actual date then this in B2 will change it by one month =EDATE(A1,1)
    I had already tried this and it didn't work. Probably because A1 isn't an actual date. It's just the name of the month, and on top of that only the first 3 letters of the month.

  5. #5
    Registered User
    Join Date
    01-24-2020
    Location
    Missouri, United States
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3

    Re: Simple date problem (I think)

    Quote Originally Posted by 63falcondude View Post
    Hello and welcome to the forum.

    B2 is not next to A1.

    That being said, assuming that the 3 letter month is text and not an actual date, try this:
    =TEXT(EDATE((A1&" 1")+0,1),"mmm")
    This worked perfectly. Thank you so much. And my mistake regarding B2, I meant B1.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Simple date problem (I think)

    You're welcome. Happy to help.

    Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Couple of simple date issues plus a compound increase problem
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2016, 04:53 PM
  2. Simple date problem
    By Lurkin_ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-16-2015, 10:21 PM
  3. So simple, I can't believe I am posting it: compare date to date in a cell
    By GS7clw in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-14-2014, 12:54 PM
  4. [SOLVED] Simple Date problem
    By ScabbyDog in forum Excel General
    Replies: 1
    Last Post: 02-15-2014, 01:03 PM
  5. Simple Problem I think
    By todd18us in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-01-2014, 07:20 PM
  6. [SOLVED] simple date function is not working/showing ( DATE+30)
    By ryan4646 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-09-2013, 01:44 PM
  7. My problem is simple - no - it's me that's simple...
    By Glenn Kennedy in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-08-2012, 02:20 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