Label on Excel

Gildasl

New Member
Joined
Mar 29, 2012
Messages
22
Hi,

I have the following set of Excel data that I would like to get on same graph.

For the sold items, I would like to use the Date as the horizontal axis.
For the milestone, I would also like to use the Date as the horizontal axis, but I want to get the label (G0, G1, G2) displayed on the graph. Currently, I have to re-edit manually all the label :mad:. Is there a trick to get the label from the table?

Date
9/1/20129/8/20129/15/20129/22/20129/29/201210/6/201210/13/201210/20/201210/27/2012
Milestone
G0 G1 G2
Sold
021101112

<colgroup><col span="10"></colgroup><tbody>
</tbody>


Thanks,
Gildas
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Easiest thing to do is rearrange your data. Insert the data in columns rather than in rows. Like this, in 3 columns. Notice there are no headers in the first two columns. That is becuase if you use a header Excel will think it is a series and graph it. Simply highlight the table including the blank columns and insert chart.
Sold</SPAN>
G0</SPAN>9/1/2012</SPAN>0</SPAN>
9/8/2012</SPAN>2</SPAN>
9/15/2012</SPAN>1</SPAN>
G1</SPAN>9/22/2012</SPAN>1</SPAN>
9/29/2012</SPAN>0</SPAN>
10/6/2012</SPAN>1</SPAN>
G2</SPAN>10/13/2012</SPAN>1</SPAN>
10/20/2012</SPAN>1</SPAN>
10/27/2012</SPAN>2</SPAN>

<TBODY>
</TBODY><COLGROUP><COL span=2><COL></COLGROUP>
 
Upvote 0
Select from the word Date to the final 2 under G2. Then insert a column or bar chart. That way Excel makes a lot of decisions for you based on the selection.

Trouttrap2, this works whether you transpose the chart or not.
 
Upvote 0
Jasmith4,

Could you elaborate a bit more?
Let's say I have already a graph with the sold items and the date displayed horizontally. Then from there how to add the Milestone?
Your previous suggestion is creating one more graph :(.

Thanks,
Gildas
 
Upvote 0
When you select the chart, you should see purple, blue and green boxes around the data and headings. Whichever one is surrounding the list of dates, expand it to include also the list of milestones. To expand it, grab the lower-right corner and pull it down one row.
 
Upvote 0
Is there a way I could e-mail you my example file. For now, on the graph I see Jan-00 instead of Go :(
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,115
Messages
6,128,923
Members
449,479
Latest member
nana abanyin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top