Solved

Insert Table - keep date format for header row

Posted on 2016-10-30
6
24 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 17

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 17

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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 17

Expert Comment

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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now