• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

Insert Table - keep date format for header row

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
pdvsa
Asked:
pdvsa
  • 3
  • 2
1 Solution
 
Roy CoxGroup Finance ManagerCommented:
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
 
pdvsaProject financeAuthor Commented:
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
 
Roy CoxGroup Finance ManagerCommented:
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Ejgil HedegaardCommented:
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
 
pdvsaProject financeAuthor Commented:
Ok.  Thank you very much for the response.
0
 
Roy CoxGroup Finance ManagerCommented:
What were you actually doing with the headers?
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now