+ Reply to Thread
Results 1 to 7 of 7

Reading Date as in the data sheet for Pivot Table

  1. #1
    Registered User
    Join Date
    07-03-2019
    Location
    Bangalore, India
    MS-Off Ver
    2013
    Posts
    4

    Reading Date as in the data sheet for Pivot Table

    Hi

    I have a Table as follows

    Date Day Amout1 Amount2 Amount3 Amount4
    ==============================================
    17-05-2019 Friday 7072.00 9605.00 565.00 11287.00
    18-05-2019 Saturday 7213.00 9879.00 523.00 13233.00
    19-05-2019 Sunday 12587.00 17009.00 1962.00 15220.00
    20-05-2019 Monday 23811.00 7019.00 358.00 4622.00
    21-05-2019 Tuesday 28595.00 11132.00 486.00 3151.00
    22-05-2019 Wednesday 4503.00 7858.00 470.00 6494.00
    23-05-2019 Thursday 8995.00 9936.00 491.00 5837.00
    24-05-2019 Friday 16742.00 11241.00 1415.00 5290.00
    25-05-2019 Saturday 9268.00 9128.00 552.00 8568.00
    26-05-2019 Sunday 11971.00 15342.00 627.00 15390.00
    27-05-2019 Monday 6532.00 8524.00 1182.00 7718.00
    28-05-2019 Tuesday 10389.00 9153.00 605.00 4952.00
    29-05-2019 Wednesday 2756.00 11361.00 565.00 7760.00
    30-05-2019 Thursday 11397.00 11334.00 773.00 6202.00
    31-05-2019 Friday 8976.00 10054.00 480.00 5947.00
    01-06-2019 Saturday 14241.00 13978.00 418.00 12184.00

    Day is a formal to bring the date field with the date format "dddd". Therefore displayed as the day

    I would like to create a pivot table with the Day wise summary where the total of Amounts need to be displayed as a summary for Sunday, Monday, Tuesday and so on.

    Expecting a Pivot as below

    DAY SUM OF AMOUNT1
    =====================
    Sunday Sum of Amount1
    Monday Sum of Amount1
    Tuesday Sum of Amount1
    Wednesday Sum of Amount1

    The issue I am facing is with the Day field. System is reading the same as "dd/mm/yyyy" and not as "dddd" for the data does not sorted/summarised by day.

    Please help.
    Last edited by shivaramv; 07-11-2019 at 07:56 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    30,518

    Re: Reading Date as in the data sheet for Pivot Table

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    07-03-2019
    Location
    Bangalore, India
    MS-Off Ver
    2013
    Posts
    4

    Re: Reading Date as in the data sheet for Pivot Table

    Adding an attachment with sample data.
    One sheet with DATA and another sheet with the Pivot result that I am getting and the expected results.
    Hope this bring clarity for my requirement.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-03-2019
    Location
    Bangalore, India
    MS-Off Ver
    2013
    Posts
    4

    Re: Reading Date as in the data sheet for Pivot Table

    Sorry about the multiple post... This is my first post in this forum .....

    Have updated the file with more comments in the sheet "PIVOT" to bring clarity on my requirement.

    Hope this helps. Please ignore the previous attachment.

    Thanks
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2010/2019
    Posts
    7,597

    Re: Reading Date as in the data sheet for Pivot Table

    Try modifying cell D4 on the DATA sheet to read: =TEXT(C4,"dddd")
    Drag the fill handle down to cell D36
    Select a cell in the pivot table (columns B:F on the PIVOT sheet) and select refresh.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Registered User
    Join Date
    07-03-2019
    Location
    Bangalore, India
    MS-Off Ver
    2013
    Posts
    4

    Re: Reading Date as in the data sheet for Pivot Table

    Thanks JeteMc,

    That worked and I got the expected results.

    Thanks Again.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2010/2019
    Posts
    7,597

    Re: Reading Date as in the data sheet for Pivot Table

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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