+ Reply to Thread
Results 1 to 13 of 13

Excel 2016 date formatting

  1. #1
    Registered User
    Join Date
    07-08-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2016
    Posts
    71

    Question Excel 2016 date formatting

    I wonder if anyone could help me please? Its probably really simple but I can't for the life of me get Excel to do as I would like.

    On all our company graphs/pivots etc, date is displayed as 18/06 (yy/mm) I have tried using a custom format but it always defaults to a full date 01/06/2018 in the display bar even though displaying correctly in the data

    05-07-2018 08-32-35.jpg


    It causes havoc for my pivots/filters.


    How can I have the column format my dates as YY/MM to display in the data and in the display bar?

    Please? What is the correct name for the display bar please?

    Thank you, Clair
    Thanks
    Clair

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,947

    Re: Excel 2016 date formatting

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Excel 2016 date formatting

    Have a look at this link - it explains it very well - https://www.extendoffice.com/documen...mat.html#chart

    Right-click on axis \ select appropriate options (dependent on whether a pivot chart or normal chart) \ similar to cell number (date) format
    Last edited by kev_; 07-05-2018 at 04:38 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  4. #4
    Registered User
    Join Date
    07-08-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Excel 2016 date formatting

    Sorry thought picture would be OK, here is a section of the spreadsheet.

    Although the column is custom formatted to YY/MM, it displays that way yet in the view bar it shows as a date.

    I would like to be able to format the entire column as YY/MM so the full date is eliminated. I entre data each month. Graphs/pivots are then linked to the data by a named range.
    Attached Files Attached Files

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel 2016 date formatting

    Clair

    Why do you want values like 18/07 instead of real dates?

    With values like that you won't be able to sort or group properly and it could affect date based calculations.
    If posting code please use code tags, see here.

  6. #6
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Excel 2016 date formatting

    I think the pertinent question is in what way is it wreaking havoc with your pivot tables? Explain, please.
    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.

  7. #7
    Registered User
    Join Date
    07-08-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Excel 2016 date formatting

    Yes I would like them to display solely YY/MM, it does group them by 18/01, 18/02 etc, but unless I can make new data added in the same format, it would pivot/graph 18/01, 18/02 then miss out for instance 18/06 01/06/2018 as they are not formatted according to all the others months/years in the filer (only display a rolling 12 months) I would like to know how to default the entire column to YY/MM with no reference to a full date anywhere, so I do it properly. So each month it does it automatically.

    I'm being abit thick aren't I?

    Clair

  8. #8
    Registered User
    Join Date
    07-08-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Excel 2016 date formatting

    Does this help. I have entered some dummy data for 18/08.

    Even though that entire column is formatted - custom YY/MM it is still separating them out as the full date in the pivot (graph data) and the graph.

    If I am actually doing something wrong, I would like to fix now, so I don't face this every month.

    Does this help you see where I'm coming from?

    Hope so
    Thank you
    Clair
    Attached Files Attached Files

  9. #9
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel 2016 date formatting

    Clair

    If you use full dates throughout you should be able to group things as you want in your pivot tables and graphs.

    The formatting isn't what matters when grouping/sorting, it's the actual underlying values.

  10. #10
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel 2016 date formatting

    See the attached file.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    07-08-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Excel 2016 date formatting

    Hi

    I have now set 2 entire periods (we use periods here not calendar months) the entire company (manufacturing (me), purchasing, sales, finance, etc) all display data by yy/mm so it displays the periods for a year (November-November for us so Period 1 is actually the December - we are now in July which is period 8.

    Does that help with the full date being visible isn't the way for me to go.

    The data could be 01/08/2018 but I would need to be able to change it to read yy/mm in the pivots which would feed through to the chart.

    I know how to change row of column titles but not the data itself. Some graphs get printed each month and displayed in a board displayed in the hall way.

    Thank you
    Clair
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    07-08-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Excel 2016 date formatting

    Wonderful Norie, how did you change the period title's on the pivot please?

    as in my spreadsheet, I have now changed 3 full periods to full date, the entire column is auto formatted yy/mm and I have refreshed but they are still coming up in my pivot and chart as full month dates?

    If I right click and go to field settings it displays Period() which is the row title?

    Getting there thank you for your patience

    Clair

  13. #13
    Registered User
    Join Date
    07-08-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Excel 2016 date formatting

    fixed it, formatted the column as text, and it has pulled the yy/mm (periods) through :-)

+ 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] Conditional Formatting Excel 2016
    By clairh2011 in forum Excel General
    Replies: 7
    Last Post: 05-01-2018, 10:13 AM
  2. [SOLVED] Excel 2016 Custom formatting 18/04 YY/MM
    By clairh2011 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-04-2018, 10:04 AM
  3. [SOLVED] Excel 2016 formatting slicers
    By clairh2011 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-15-2018, 01:07 PM
  4. [SOLVED] Excel VBA 2016 32bit - Vlookup Date after date typed in and return value from named range
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-27-2017, 02:34 AM
  5. Replies: 1
    Last Post: 09-18-2017, 08:27 AM
  6. [SOLVED] Excel 2016 Conditional Formatting
    By excelconditional in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2016, 11:18 AM
  7. Conditional Formatting in Excel 2016
    By Mansfieldexcel in forum Excel General
    Replies: 2
    Last Post: 03-21-2016, 01:56 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