Results 1 to 2 of 2

Return previous month and current month in text cells.

Threaded View

  1. #1
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Return previous month and current month in text cells.

    EDIT: I FIGURED IT OUT


    I have a cell that I want to show the previous month, but to also contain text before the month.

    I was going to use this but not sure if I can because it only returns the month and I don't know how to add text to it lol

    =TEXT(TODAY()-DAY(TODAY()),"MMMM") so the cell would say "for the month of =TEXT(TODAY()-DAY(TODAY()),"MMMM")"


    I need to do the exact same thing in a different cell, except for the current month instead of the previous month.

    Is this possible somehow?
    Last edited by DarkSoul; 03-10-2023 at 08:24 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Return Data based on current month and previous month from range of data.
    By kishoremcp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-28-2023, 09:49 AM
  2. Replies: 4
    Last Post: 09-04-2020, 04:02 PM
  3. [SOLVED] Return Month-on-Month growth using current month-prior month/prior month per country
    By losincog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2020, 05:37 AM
  4. VBA code adjustment to include only current month and previous month automatically.
    By ElmerFud in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-05-2015, 03:02 PM
  5. Macro using vlookups comparing 2 months paysheet(previous month and current month)
    By srinivasan1965 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2012, 03:45 AM
  6. Replies: 5
    Last Post: 10-04-2012, 07:06 AM
  7. [SOLVED] VBA to identify the current month and previous month based on system date
    By ravikumar00008 in forum Excel General
    Replies: 10
    Last Post: 07-26-2012, 10:04 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