+ Reply to Thread
Results 1 to 5 of 5

Transpose Holidays in Column to Rows

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Question Transpose Holidays in Column to Rows

    HI

    I have this list of holidays in table format

    01/01/2021 New Year's Day
    01/18/2021 Martin Luther King Day
    02/15/2021 Presidents Day and Washington's Birthday
    05/31/2021 Memorial Day
    07/04/2021 Independence Day
    09/06/2021 Labor Day
    10/11/2021 Columbus Day
    11/11/2021 Veterans' Day
    11/25/2021 Thanksgiving
    12/25/2021 Christmas Day
    01/01/2021 New Year's Day
    01/17/2021 Martin Luther King Day
    02/21/2021 Presidents Day and Washington's Birthday
    05/30/2021 Memorial Day
    07/04/2021 Independence Day
    09/05/2021 Labor Day
    10/10/2021 Columbus Day
    11/11/2021 Veterans' Day
    11/24/2021 Thanksgiving
    12/25/2021 Christmas Day


    I want to transpose dates only to row format

    In Cell, C33 (or any cell), have 01/01/21

    When attempting to use: =TEXT(C33&C11&", ","mm/dd/yy")

    Not getting desired date format

    How to get desired date format?



    01/01/21
    4419744347,
    4419744347, 44381,
    4419744347, 44381, 44445,
    4419744347, 44381, 44445, 44480,
    4419744347, 44381, 44445, 44480, 44511,
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,872

    Re: Transpose Holidays in Column to Rows

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Transpose Holidays in Column to Rows

    The first parameter of the text() function needs to be numeric (which a date serial number is). Once you have appended C33&C11 you no longer have a numeric value, it is text at that point so the formatting will not work in the way that you intended.
    Instead of:
    =TEXT(C33&C11&", ","mm/dd/yy")
    Try:
    =TEXT(C33, "mm/dd/yy, ")&TEXT(C11, "mm/dd/yy, ")

    I'm not certain what end result you want. To reproduce your table that looks like:
    01/01/21
    4419744347,
    4419744347, 44381,
    4419744347, 44381, 44445,
    4419744347, 44381, 44445, 44480,
    4419744347, 44381, 44445, 44480, 44511,

    but with intelligible dates then in C33 copied down, try in C33 copied down:
    =C32&TEXT(C11, "mm/dd/yy, ")
    This yields:
    01/01/21,
    01/01/21, 01/18/21,
    01/01/21, 01/18/21, 02/15/21,
    01/01/21, 01/18/21, 02/15/21, 05/31/21,
    01/01/21, 01/18/21, 02/15/21, 05/31/21, 07/04/21,


    Or are you looking for a list that is a particular subset of the holidays, in which case how is that subset defined? What does your expected end result look like?

    If I have misunderstood what you want or if the above is not enough to point you in the right direction then, as Alan says above, please provide a sample workbook and additional details.
    Geoff

    Did I help significantly? If you wish, click on * Add Reputation to say thanks.
    If your problem has been resolved please select ?Solved? from the Thread Tools menu

  4. #4
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Transpose Holidays in Column to Rows

    GeoffW283

    Thanks!!!

    This, =C32&TEXT(C11, "mm/dd/yy, ") worked well!!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: Transpose Holidays in Column to Rows

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

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Transpose rows to column and insert new rows to fill in data
    By Apple Ling in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-24-2019, 04:02 AM
  2. [SOLVED] Transpose- Rows to column
    By aganesan99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2015, 10:15 AM
  3. Transpose every 5 cells in column A to indidual rows in column B
    By meridklt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-14-2013, 12:35 AM
  4. Insert rows, transpose data from column in to rows, in steps
    By mchevalier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2012, 08:14 PM
  5. transpose Rows to column
    By gcol in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-01-2011, 05:12 PM
  6. Transpose rows to column
    By MaxBrit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2005, 03:07 AM
  7. [SOLVED] transpose a column into many rows
    By GMed in forum Excel General
    Replies: 1
    Last Post: 01-21-2005, 04:06 PM

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