Creating multiple separate line graphs at once

Jithe

New Member
Joined
Apr 17, 2017
Messages
18
​Hi,

I have about 400 SKUs and I would like to track the demand trend using the sales figures. Is it possible generate multiple separate line graphs for each SKU?

I'm aiming to get an output similar to the image below.

M2DTI6b.jpg


Table 1
[TABLE="class: grid, width: 550, align: left"]
<tbody>[TR]
[TD]ITEM_SIZE[/TD]
[TD]ITEM CODE (SKU)[/TD]
[TD]Apr[/TD]
[TD]May[/TD]
[TD]Jun[/TD]
[TD]Jul[/TD]
[TD]Aug[/TD]
[TD]Sept[/TD]
[TD]Oct[/TD]
[TD]Nov[/TD]
[TD]Dec[/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[/TR]
[TR]
[TD]200 X 1140 MM[/TD]
[TD]RC.TOM.000045.MA.AG[/TD]
[TD]0[/TD]
[TD]12[/TD]
[TD]15[/TD]
[TD]9[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]15[/TD]
[TD]22[/TD]
[TD]17[/TD]
[TD]10[/TD]
[TD]13[/TD]
[/TR]
[TR]
[TD]200 X 1140 MM[/TD]
[TD]RC.TOM.000046.MA.AG[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]13[/TD]
[TD]18[/TD]
[TD]25[/TD]
[TD]36[/TD]
[TD]9[/TD]
[TD]22[/TD]
[TD]17[/TD]
[TD]13[/TD]
[TD]18[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]200 X 1140 MM[/TD]
[TD]RC.TOM.000047.MA.AG[/TD]
[TD]1[/TD]
[TD]9[/TD]
[TD]3[/TD]
[TD]7[/TD]
[TD]13[/TD]
[TD]15[/TD]
[TD]25[/TD]
[TD]11[/TD]
[TD]7[/TD]
[TD]8[/TD]
[TD]7[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]200 X 1140 MM[/TD]
[TD]RC.TOM.000048.MA.AG[/TD]
[TD]5[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]25[/TD]
[TD]30[/TD]
[TD]17[/TD]
[TD]13[/TD]
[TD]14[/TD]
[TD]16[/TD]
[TD]11[/TD]
[TD]8[/TD]
[TD]35[/TD]
[/TR]
[TR]
[TD]200 X 1140 MM[/TD]
[TD]RC.TOM.000049.MA.AG[/TD]
[TD]3[/TD]
[TD]5[/TD]
[TD]9[/TD]
[TD]7[/TD]
[TD]12[/TD]
[TD]18[/TD]
[TD]16[/TD]
[TD]14[/TD]
[TD]25[/TD]
[TD]26[/TD]
[TD]29[/TD]
[TD]36[/TD]
[/TR]
</tbody>[/TABLE]

Thank you
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
it is possible using VBA. the data in the table and that in the graphs does not match though, am i missing something? then I guess the red line is a trend line

you may also consider the use of sparklines as it would be much quicker to add

eRz4D3C.png
 
Upvote 0
Hi VBA Geek,

What you have done is exactly what I am looking for. The graphs don't match because I jumbled up values for the financial year, (actual values were larger). Also yes, the red line is the trend line. Could you please tell me the steps on how to do this using VBA?

Thank you.
 
Upvote 0
Hi VBA Geek,

What you have done is exactly what I am looking for. The graphs don't match because I jumbled up values for the financial year, (actual values were larger). Also yes, the red line is the trend line. Could you please tell me the steps on how to do this using VBA?

Thank you.

The image that I have posted includes sparklines which you can add very easily without the need of VBA. Are you happy with the sparklines or do you really want to add 400 charts?
You also have the option to add one dynamic chart which shows the line of the series that you select
 
Upvote 0
HI VBA Geek,

Actually I am required to show 400 charts on this occasion. I did attempt the sparklines, but my colleagues preferred the individual charts method.

Thank you
 
Upvote 0
Hi VBA Geek,

Actually on the contrary, sparklines will work too. Thank you so much for your support, I really appreciate it.

Regards
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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