Solved

Insert Table - keep date format for header row

Posted on 2016-10-30
6
40 Views
Last Modified: 2016-10-30
Hello, I have an excel file with dates in the first row.  Once I apply a table format (Insert>Table)  I lose the date formatting and the dates become text.  I am not sure how I can keep the table formatting and keep the date formatting as well?

thank you

datesTopRow
0
Comment
Question by:pdvsa
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:Roy_Cox
ID: 41865819
The format should not change when converting to a Table. If the dates are the result of formulas then Table headers do not support formulas.

What I do in this case is add the dates(formulas) two rows above and hide the header row of the Table

Table.png
0
 

Author Comment

by:pdvsa
ID: 41865948
Hi Roy,

Thank you for the response.  The dates along the header are hard coded (not formulas). What excel does is change the date to text.  It is because the date row is the header row.  It seems as though it does change the format to me.  Let me know what you think.
0
 
LVL 18

Expert Comment

by:Roy_Cox
ID: 41865956
If you mean that the dates are typed in then I can't see why they would change. When I create a Table with dates in header row the format remains unchnaged. Can you attach an example with the problem
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 21

Accepted Solution

by:
Ejgil Hedegaard earned 500 total points
ID: 41865994
Table headers are text, so when the table is created, the headers are converted to text.
The 'date' format is like the previous formatted date.
But since it is text, you cannot calculate with the 'date'.
If it is a simple date format, Value or DateValue can convert it back to a date to use in a formula.
If it is more complex, the date to use in a formula must be made using the Date function, extracting the elements with text functions Left, Mid or Right.
0
 

Author Closing Comment

by:pdvsa
ID: 41866040
Ok.  Thank you very much for the response.
0
 
LVL 18

Expert Comment

by:Roy_Cox
ID: 41866053
What were you actually doing with the headers?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question