+ Reply to Thread
Results 1 to 8 of 8

Need the intervals from all date stacked on top of one another, not side by side

  1. #1
    Registered User
    Join Date
    07-15-2020
    Location
    Phoenix
    MS-Off Ver
    Office 360
    Posts
    4

    Need the intervals from all date stacked on top of one another, not side by side

    Is there a quick way to do this? Transpose and pivot table have not been successful...

    Capture of Intervals.PNG

    Stacked on top:

    stacked on top.PNG
    Attached Files Attached Files
    Last edited by Neilsanders1; 07-15-2020 at 07:05 PM. Reason: File Upload

  2. #2
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Need the intervals from all date stacked on top of one another, not side by side

    Hi - can you please attach your file? And exactly what you're looking for

  3. #3
    Registered User
    Join Date
    07-15-2020
    Location
    Phoenix
    MS-Off Ver
    Office 360
    Posts
    4

    Re: Need the intervals from all date stacked on top of one another, not side by side

    Hi Mike, its been uploaded. in the 'Intervals side by side' tab, i need the data from the different dates stacked on top of each other rather than being side by side. I've attached a capture of another file where this has been done. Note that the date 7/6 rolls right into 7/7 as you scroll down.Attachment 686893

  4. #4
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Need the intervals from all date stacked on top of one another, not side by side

    Hi I got your spreadsheet but the other attachment keeps saying invalid attachment

  5. #5
    Registered User
    Join Date
    07-15-2020
    Location
    Phoenix
    MS-Off Ver
    Office 360
    Posts
    4

    Re: Need the intervals from all date stacked on top of one another, not side by side

    I added it to the main post above

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,810

    Re: Need the intervals from all date stacked on top of one another, not side by side

    It looks to me like an "unpivot" operation. I am not familiar with Power Pivot/Get and Transform, but I understand that Get and Transform has an unpivot command:
    https://www.pivot-table.com/2019/07/...get-transform/
    https://excelchamps.com/blog/unpivot-data/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Need the intervals from all date stacked on top of one another, not side by side

    OK - I found a macro that will do some of it, so now your file is a macro-enabled file.

    I created a new tab just to try it out and did 1st two dates for you.
    So this part is a pain (sorry) I copied the Interval column (times) into column B and put the 1st date 5/4 in column A and copied it down. Then I copied the interval again and put the next date and copied that down. Afraid you will have to do that for the rest - unless you can come up with another way (sorry)

    Now for the macro part:
    Go to the View Tab
    Click on Macro
    You will see one named StackColumns
    Click Run
    A box pops up called Select Columns
    Put in your columns (starting at line 2) ie $b$2:$c$49
    Click OK
    Then box pops up Select a cell to place result
    I clicked on the Intervals Stacked Tab and selected C1

    Hope that is what you are looking for.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-15-2020
    Location
    Phoenix
    MS-Off Ver
    Office 360
    Posts
    4

    Re: Need the intervals from all date stacked on top of one another, not side by side

    I'll give it a shot, thank you much for the help!

+ 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 pivot table adddatafield - why fields stacked rather than side by side
    By lynnsong986 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-15-2019, 12:58 PM
  2. Compare 2 sets of values in side-by-side Stacked Column chart
    By dlaudenschlager in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-21-2016, 01:34 PM
  3. Replies: 0
    Last Post: 02-04-2015, 07:02 AM
  4. [SOLVED] Graphing-Two stacked columns side-by-side per year
    By brwneyeirishlady in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-30-2006, 03:25 PM
  5. [SOLVED] How do I make a stacked column chart with side-by-side comparison.
    By Tim in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-08-2005, 11:05 PM
  6. [SOLVED] How do I create stacked columns in xcel rather than side-by-side
    By Gin from Boeing in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-21-2005, 12:06 PM
  7. [SOLVED] Data markers in a stacked chart will not sit side by side by month
    By WCH CHART PERSON in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2005, 12: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