+ Reply to Thread
Results 1 to 3 of 3

Pivot Table and Cell Type won't save formatting when refreshing

  1. #1
    Registered User
    Join Date
    12-09-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    MS Office 2010
    Posts
    19

    Pivot Table and Cell Type won't save formatting when refreshing

    Hi Everyone,

    So the problem I am having is that the cell type of my columns are changing everytime I refresh. The formula is correct, but I need to update the cell type to "Number" or "Text" to view it properly.

    I have a spreadsheet that is connected to an Access Database. In this spreadsheet, I added some columns to calculate some things. Specifically, I have a "DateCalled" column that is from the database, and I created columns next to it so that I can see the month and year as separate entities. I did this so I can create the pivot table by month and year.

    To be specific:
    Column C= "DateCalled", cell type is Date. This is the date when people call in the office, from a database
    Column D="DateCalledYear", cell type is number. I have a formula for this =IF([@DateCalled]>=1,MONTH([@DateCalled]),"")------works just fine.

    When I format the cell type to Number for column D, it gives me the year of the cell from Column C. After I save&close, I reopen the file and the cell type changes to "General" and gives me a random date like 8/1/1905.

    When this occurs, it affects my pivot table. I don't understand what I did wrong, since the formulas are calculating without a problem but I would need to reformat the cell type everytime so that it gives me the right numbers.

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Pivot Table and Cell Type won't save formatting when refreshing

    If the formatting is in the pivot table, right click anywhere inside the pivot table and select <Pivot Table Options>. Make sure that <Preserve cell formatting on update> is ticked.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Registered User
    Join Date
    12-09-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    MS Office 2010
    Posts
    19

    Re: Pivot Table and Cell Type won't save formatting when refreshing

    yes, it is checked off

    When I select the columns and change the alignment to center (just to organize it), it changes the cell type for SOME to the correct one. In the same column, some cells are in the number type, while others are in the date type.

+ 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. Refreshing Pivot table based on cell data
    By boolucy1984 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-06-2014, 11:05 PM
  2. Pivot table not refreshing
    By Zealotwraith in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-18-2013, 12:02 PM
  3. Save old data when refreshing query in pivot table
    By jordanmix in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2013, 08:10 PM
  4. Pivot Table loses formatting when refreshing data
    By Inigo Montoya in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-18-2013, 12:19 PM
  5. Refreshing Pivot Table
    By yawnzzzz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2009, 04:59 PM
  6. Pivot Table refreshing by changing a cell
    By Johny1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-18-2009, 04:22 PM
  7. How do I keep my own formatting for a pivot-chart on refreshing
    By bensellars1212 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 06-13-2006, 09:35 AM
  8. Refreshing a pivot table
    By Louise in forum Excel General
    Replies: 2
    Last Post: 05-23-2005, 09:06 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