+ Reply to Thread
Results 1 to 4 of 4

question re: adding if statement to existing formula for month number to show month name

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    question re: adding if statement to existing formula for month number to show month name

    Currently I am using this formula to group and sum rows in a spreadsheet by month using the month number: =SUMIF($V$2:$V$992,"5",$D$2:$D$992) with the "5" being May.

    I would like to add to this formula something that tells it if the month is "1" then JAN, if "2" then "FEB," etc.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,458

    Re: question re: adding if statement to existing formula for month number to show month na

    Sorry - I can't picture the outcome you are after. Can you be more explicit?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-15-2017
    Location
    Glasgow
    MS-Off Ver
    2016
    Posts
    12

    Re: question re: adding if statement to existing formula for month number to show month na

    Hi,

    You could try =CHOOSE( yourvalue,"Jan","Feb","Mar",ect…
    or something like =Text( DateValue( yourvalue & Year(today()),"mmm")

    or use a table to lookup the month as it corresponds to the value

  4. #4
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 365
    Posts
    164

    Re: question re: adding if statement to existing formula for month number to show month na

    I am going to close this post, because I figured out a work around for which I do not need a formula. Thank you and I apologize for this.

+ 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. Replies: 7
    Last Post: 08-14-2015, 11:25 AM
  2. [SOLVED] Need Formula that will show 'Month" for date that fall in the particular month
    By JESSHOR60 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-28-2014, 01:47 PM
  3. Month over Month formula to show increase or decrease in rankings for SEO
    By lindsbay in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 03:03 AM
  4. Adding sort by week, month and year to existing formula
    By Throtmorton P. in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-22-2012, 06:41 AM
  5. Replies: 2
    Last Post: 11-09-2012, 12:01 PM
  6. Need a formula to show the week number of the month
    By ROBERTGRAHAM01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-29-2008, 06:44 AM
  7. [SOLVED] show month number as month name in Excel?
    By Phil Hart in forum Excel General
    Replies: 3
    Last Post: 06-20-2005, 02:05 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