+ Reply to Thread
Results 1 to 6 of 6

Pivot table date Format Mismatch - Pls.Help

  1. #1
    Registered User
    Join Date
    05-09-2014
    Location
    India
    MS-Off Ver
    Excel 2010 on Windows 10
    Posts
    16

    Pivot table date Format Mismatch - Pls.Help

    Dear All

    I extracted website data for a specified time period from Tool1 & Tool2 and try to compare date wise report between two tools Via Pivot table. But the date format is not matching between the tool even though the date format is same (YYYYMMDD) 20190201. How to sync the dates of different tools in Pivot table. Pls. find attached the excel sheet with pivot table for your kind reference. Pls. Help
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Pivot table date Format Mismatch - Pls.Help

    I looked at the data. All the dates for Tool 1 are in March 2019. All the dates for Tool 2 are in February 2019. There is no overlap in the dates and the pivot table is working as it should.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    05-09-2014
    Location
    India
    MS-Off Ver
    Excel 2010 on Windows 10
    Posts
    16

    Re: Pivot table date Format Mismatch - Pls.Help

    Hi:

    Thanks for the response. I am extremely sorry. I updated the excel sheet with incorrect data. Now, I attached the excel sheet with data
    and pivot table. Also i attached the screenshot DataFormatMismatch.jpg that brief the problem. Requesting for solution.

    Pls. Note: I did not added this query to any other excel forum. This is a genuine post & query. Pls. help
    Attached Files Attached Files

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Pivot table date Format Mismatch - Pls.Help

    The reason for the split is with the source data. The data associated with Tool1 are numbers. The data associated with Tool2 are strings. You have to change them to the same type.

    I chose to change them into strings. I added a helper column in Column G with the formula, =B2&"", Concatenating a null string to a number forces it to be a string,. Concatenating the null string to a string does nothing; it leaves it unchanged.

    I could have copied -> paste values only the results back into column B. Instead I chose to extend the data source of the pivot table to include Column G and use that as the column headers.
    Attached Files Attached Files

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Pivot table date Format Mismatch - Pls.Help

    Now that I think about it, there was an easier way. I could have chosen to convert all to numbers instead of strings. I can do this without the use of a helper column.

    Type the digit 1 into an unused cell. Then select it and copy it. Select the range containing the original dates. Select Paste -> Special and click the box for Multiply. This action multiplies the range being pasted into by the copied value. Multiplying a number by 1 does not change it. "multiplying" a string by 1 converts it into its numerical equivalent. Then all you have to do is refresh the pivot table.

  6. #6
    Registered User
    Join Date
    05-09-2014
    Location
    India
    MS-Off Ver
    Excel 2010 on Windows 10
    Posts
    16

    Re: Pivot table date Format Mismatch - Pls.Help

    Thanks dflak for your prompt support and providing right solution. Very kind of 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. [SOLVED] date format with Pivot Table
    By adamheon in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-08-2016, 03:56 AM
  2. Date format in pivot table
    By Shadmani in forum Excel General
    Replies: 2
    Last Post: 07-26-2016, 10:29 AM
  3. Cant change date format in Pivot Table
    By Ricksterr94 in forum Excel General
    Replies: 0
    Last Post: 08-01-2014, 12:34 PM
  4. Date format in Pivot table.
    By srmani44 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-25-2012, 08:03 AM
  5. [SOLVED] Macro to update pivot item (date format) in pivot table to latest date from data source.
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 03:18 AM
  6. How to format date for pivot table graph
    By Onestopfanshop in forum Excel General
    Replies: 3
    Last Post: 09-11-2010, 06:43 AM
  7. Excel 2007 : Pivot Table Date Format
    By techiemom60 in forum Excel General
    Replies: 0
    Last Post: 02-16-2010, 04:29 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