+ Reply to Thread
Results 1 to 6 of 6

How to copy across table headers that are dates?

  1. #1
    Registered User
    Join Date
    11-16-2015
    Location
    Vancouver Island
    MS-Off Ver
    2010/13
    Posts
    4

    How to copy across table headers that are dates?

    I'm creating a table and I would like the headers to be month-end dates going across. However, once converted to a table and the headers copied across, it no longer recognizes the values as dates and instead copies across nonsensical dates.

    The table will be an ongoing spreadsheet where the next month will be copied across and hopefully populates - I've never had this problem before.

    Are you not allowed to have dates/formulas in table headers? None of these work

    =TODAY()
    =EOMONTH("",+1)
    =DATE(YEAR(A1),MONTH(A1)+1,DAY(A1))

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to copy across table headers that are dates?

    When you have an Excel Table, you can't have Excel Formulas as Field Headers..
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    11-16-2015
    Location
    Vancouver Island
    MS-Off Ver
    2010/13
    Posts
    4

    Re: How to copy across table headers that are dates?

    Thank you - but what about just simply selecting and copying across the dates as month-ends? Does the table not recognize that pattern?

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to copy across table headers that are dates?

    Why not use your formula 1st, make the field headers ready, and then convert it to an excel table? It will automatically remove the formulas, but you will have the headers as required..

  5. #5
    Registered User
    Join Date
    11-16-2015
    Location
    Vancouver Island
    MS-Off Ver
    2010/13
    Posts
    4

    Re: How to copy across table headers that are dates?

    Thought about that, but would prefer to just add a new column/month as needed.

    I suppose I could just do that for 16,000 columns and be done with

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: How to copy across table headers that are dates?

    Do that as required to keep the workbook size optimal..

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. VBA: Fill out column with lookup table refering to table headers
    By AnnaGT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2015, 03:03 AM
  2. [SOLVED] How to Copy a filter data with headers, excluding the headers?
    By Elomaldo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-16-2014, 03:35 PM
  3. Setting variables from table as table headers
    By Slampamper in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-05-2013, 10:48 AM
  4. [SOLVED] Copy Columns that the headers(dates) fall within a user defined date range...
    By Zoediak in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-06-2013, 11:27 AM
  5. Replies: 1
    Last Post: 03-28-2013, 11:31 AM
  6. Ascending dates in headers
    By Whittle82 in forum Excel General
    Replies: 1
    Last Post: 10-15-2012, 08:58 AM
  7. Reformat dates from portfolio as row headers
    By jasontht in forum Excel General
    Replies: 0
    Last Post: 07-14-2011, 09:06 AM

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