Excel PivotChart Treadline Horizontal Label - excel

I've created a Pivot Chart from my Pivot Table, and added a Treadline to forecast the next four quarters. However, the horizontal axis for the new forecasts is blank. How can I add a label to the horizontal axis for the forecasted values (i.e. Q1, Q2, Q3, Q4)?
Thank you.

Add four rows to your data table, one for each quarter, with the appropriate dates, but blank values for revenue (or whatever it is you're tracking).
Excel is looking for labels for the category and can't find any because it's not in your data. Adding blank rows will provide the category labels without adding revenue figures.

Related

Excel Pivot Table - Display Year and Month Separately

I'm wondering how I can create a pivot table so that the Year is populated on each row (vs. collapsed).
Below is what I want to get. I have Year on each row and there isn't an empty row when I collapsed the Year.
This is what I'm currently have. As can be seen, there is an aggregated row for each Year.
Assuming your dates are in a single column:
For the Report Layout, select to
Show in tabular form
Repeat all item labels
no subtotals
original data
uncollapsed
Collapsed
So, if year and month are different columns in your data, then I don't see a problem. No subtotals, no grand totals, design in tabular form, repeat all labels.
Here is picture when year is collapsed. Is this not what you want to see?

Excel: graphing a 3 colums table (column label, column date, column position)

I have a set of 3 columns:
keyword (consider it as a kind of tag; there are only 5 distinct)
dates (today, yesterday, ... 30 days ago)
a value for each combination of keyword and date
I can easily plot one Line Graph (see the picture below), but I need to plot all the lines. I'd like Excel to understand that each different Keyword is a different series.
Is this a pivot table or just a table?
If it's a table create a pivot table with the keywords in the Legend series on the top, the dates in the Axis (category) box on the bottom left side and the values in the Values area.
Create a line chart and there you go.
You need to use the pivot table to gather the data in series. You have to present the data in a way that will work for your chart. A flat table is not going to give you what you want.

Offset function for dynamic range not ignoring cells with #N/A in Line Chart

I am facing an issue with excel offset function for a range which increases horizontally and vertically.
I have a pivot table built from raw data which keeps on updating. I am mainly concerned with products and corresponding price per quarter in the pivot.
I have created another sheet pulling the products from the pivot and corresponding blended price (calculated based on pivot values - Sales/Units).
Below is the code:
Formula to pull the products from the pivot:
IFERROR(INDEX($A$10:$A$155, AGGREGATE(15,3,ROW($A$10:$A$155)-ROW($A$9)/($A$10:$A$155<>""),ROWS($A$10:A10))),#N/A)
Formula to display the corresponding blended price for the product:
IFERROR(INDEX(AZ$10:AZ$155, MATCH($CC10,$A$10:$A$155,0)),#N/A)
Now I need to create a line chart for the above data. Below is the code for Name Manager:
Quarters=OFFSET('Blended Price Calculation'!$CD$9,0,0,1,COUNTA('Blended Price Calculation'!$CC$9:$DA$9)-1)
0.45_Saline=OFFSET('Blended Price Calculation'!$CD$10,0,0,1,COUNTA('Blended Price Calculation'!$CC$10:$DA$10)-1)
0.9_Saline=OFFSET('Blended Price Calculation'!$CD$11,0,0,1,COUNTA('Blended Price Calculation'!$CC$11:$DA$11)-1)
10_Dextrose=OFFSET('Blended Price Calculation'!$CD$12,0,0,1,COUNTA('Blended Price Calculation'!$CC$12:$DA$12)-1)
Similarly for the rest of the products
I want to the horizontal axis to be Quarters and not Products.
Dashboard - Filter based on Slicer
Original Excel without filter
Excel when Slicer filter is applied (to display only 2 products)
Problem:
The chart displays #N/A when I filter data using Slicer in the dashboard. Slicer is acting on pivot table. Basically I need help on offset function which will pick only those values which has data for both rows and columns. Currently I have the formula working for Columns but it is not working for rows, hence the line chart is considering all the rows. But since I have selected only a couple of products (using slicer) out of 100 odd products, line chart shows graph perfectly for those selected products and shows #N/A for the rest.
How can I not display #N/A in my chart legend? I think having a combination of vertical and horizontal offset function should solve my problem but I am struggling to find the solution.
Any help is really appreciated! Thank you!
The issue here is that you have hard-wired ten series into the chart. You can use range names to dynamically change the number of data points in a series, but you can't use a formula approach to dynamically change the number of series in a regular Excel chart. That will require VBA.
If you use a pivot chart instead, you can select the series with a slicer and the legend will show only the visible series.
Edit: Here is a screenshot to illustrate how a pivot chart can be filtered and unused series will not show in the legend.

Excel create chart from date, hh, mm, ss columns

I have a csv file with the date and time (h,m,s) all split in separate columns. I would need to display the count in a chart with the appropriate date/time value. I really can't figure out how
screenshot
Remove blank rows or rows without dates, then create a pivot table. Drag date into the rows area, then hours below date, then minutes below hours, if that level of detail is desired.
Drag any field into the Values panel and set it to count. Create a chart from that.
If that does not do what you want, you need to edit your question with A LOT more detail to describe the desired output.
Edit: Another approach: construct a complete date/time value with a formula
=B1+time(0,0,C1)
(assuming that column C has time values in seconds.) Now create a pivot table with the new columns in rows and a count of CT in the Values. Build a chart from that.
If you need the X axis to be a time axis, you need to build a regular chart from the pivot table, not a pivot chart.

Order Stacked Column Chart in Excel by values

I was looking at the stacked column example here: http://office.microsoft.com/en-us/excel-help/present-your-data-in-a-column-chart-HA010218663.aspx.
I wanted to know how I can re-arrange the 3-D column chart to show regional sales by descending order of total sales without modifying the excel sheet data.
Basically, how can I modify how the data is being displayed in the chart without making any external changes.
Although normally stacked bar charts are plotted as ranges they can be plotted cell by cell. Once you have decided the order (ie Southwest, Northwest etc in the linked example) the horizontal axis can be plotted as =(Sheet1!$A$5,Sheet1!$A$2,Sheet1!$A$4,Sheet1!$A$6,Sheet1!$A$3) and each of the data series in the same way.

Resources