+ Reply to Thread
Results 1 to 4 of 4

Date format error for SUMIFS

  1. #1
    Registered User
    Join Date
    08-10-2014
    Location
    India
    MS-Off Ver
    MS Office 2010
    Posts
    48

    Date format error for SUMIFS

    Hi,

    Im using a Textbox in a userform which will auto populate previous month in format MMM-YY and once I give save it will save it in sheet1. It displays me in the same MMM-YY for Jun-16 but when I click on the cell its in format 16-06-2016.

    Here is the code
    Please Login or Register  to view this content.
    Based on that cell I need to put SUMIF formula but my output is not accurate due to this format. But if it displays as 01-06-2016 for Jun-16 im getting accurate result in SUMIFS.

    Can anyone let me know the solution for this?

  2. #2
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: Date format error for SUMIFS

    use this

    Please Login or Register  to view this content.
    and you can use cell format as mmm-yy of sheet to display month-year format
    Kamboj
    _________________________________________________________________________________
    Mark the thread as SOLVED if my answer satisfy you.

  3. #3
    Registered User
    Join Date
    08-10-2014
    Location
    India
    MS-Off Ver
    MS Office 2010
    Posts
    48

    Re: Date format error for SUMIFS

    Thank you so much Kamboj. Its working perfect.

  4. #4
    Valued Forum Contributor Kamboj's Avatar
    Join Date
    09-25-2014
    Location
    India
    MS-Off Ver
    2003 - 2010
    Posts
    430

    Re: Date format error for SUMIFS

    Glad to help you.

+ 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. SUMIFS where data source is regular Date format
    By rz6657 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2016, 10:15 AM
  2. Show Error when a cell with number format change to date format
    By delroba in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2015, 02:57 AM
  3. Sumifs date format (US vs UK)
    By Nimitta in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-11-2015, 10:15 AM
  4. [SOLVED] Dates in both date and text format mess up autofilter and sumifs in VBA
    By Maxdehaas in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-22-2014, 12:01 PM
  5. [SOLVED] help on vba code to change the error date format as standard format mm/dd/yyyy
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2013, 01:10 AM
  6. [SOLVED] Use TEXT function as Criteria on Sumifs to convert month/year to date format
    By chico.corrales in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-08-2012, 07:49 PM
  7. SUMIFS formula with date format issues
    By swanseaexcel in forum Excel General
    Replies: 4
    Last Post: 04-18-2011, 05:25 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