+ Reply to Thread
Results 1 to 4 of 4

Alternative way to chart data

  1. #1
    Registered User
    Join Date
    07-19-2019
    Location
    Pittsburgh, PA
    MS-Off Ver
    2013
    Posts
    2

    Alternative way to chart data

    Can I recreate Chart 1 in the attached image (generated as a stacked area chart from the Format 1 data), from the Format 2 data?
    Attached Images Attached Images

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

    Re: Alternative way to chart data

    It maybe depends on exactly what you mean by "create the chart from the format 2 data". I do not see any way to create the chart directly from the format 2 table. I could easily see using formulas based on the format 2 table to create the format 1 table, then the chart is built on the format 1 table. If I don't like seeing the format 1 table, I can hide that table.

    Does using formulas to build the format 1 fit within your goal of building a chart from the format 2 data?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    07-19-2019
    Location
    Pittsburgh, PA
    MS-Off Ver
    2013
    Posts
    2
    It does and I could maybe work through generating those formulas on my own, but I was curious to see if there was any way to do it directly from my source data.

    If you've got any pointers on the formulas, I'd appreciate hearing them!

    Thanks!

    Quote Originally Posted by MrShorty View Post
    It maybe depends on exactly what you mean by "create the chart from the format 2 data". I do not see any way to create the chart directly from the format 2 table. I could easily see using formulas based on the format 2 table to create the format 1 table, then the chart is built on the format 1 table. If I don't like seeing the format 1 table, I can hide that table.

    Does using formulas to build the format 1 fit within your goal of building a chart from the format 2 data?

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

    Re: Alternative way to chart data

    The formulas should be fairly simple IF() functions. The basic logic is If the time in row 2 is between the start and end times in columns L and M, then return the staff value from column K, else return 0. Assuming the upper left of your screenshot is A1, this formula might look like =IF(AND($L3<=B$2,B$2<=$M3),$K3,0). Note the mix of relative and absolute references. Then copy/paste/fill into the rest of the format 1 table.

    I note that your screenshot shows the times left aligned in the cells -- which is default behavior for text strings. Numbers/times/dates are usually right aligned by default. If your times are really text and not true date/time serial numbers, then you will need to add a "convert time stored as text to real time" step.

+ 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. Replies: 9
    Last Post: 07-02-2020, 11:48 AM
  2. Get Pivot Data Formula or Alternative
    By Excel-Access in forum Excel General
    Replies: 1
    Last Post: 11-14-2015, 04:05 PM
  3. Display Chart on alternative sheet
    By jasonjhc in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-22-2014, 04:54 AM
  4. Alternative to N/A in chart
    By Renno in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-12-2013, 04:56 AM
  5. [SOLVED] Combine data from alternative cells
    By daniellouwrens in forum Excel General
    Replies: 7
    Last Post: 07-11-2013, 07:37 PM
  6. [SOLVED] Alternative for Pivot table - row data
    By mmor79 in forum Excel General
    Replies: 2
    Last Post: 04-04-2012, 02:15 PM
  7. displaying data in an alternative format
    By Simon L in forum Excel General
    Replies: 2
    Last Post: 07-13-2010, 04:25 AM

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