Chart needs to delete future values and axis

Jasperverdam

New Member
Joined
Jan 21, 2016
Messages
9
Hi all,I'm trying to plot a regular line chart for every week this year with sales numbers, that are being extracted from a different sheet.Normally it plots 52 weeks, but since its week 4 now there are 48 empty points on the horizontal axis.I need these to be removed. So not only to I need to data points to be removed (I am aware of the NA() and customizing the format of the cell) but I need those axis to be removed as well so that it only shows week 1 to 4 and its actually a decent looking chart, and not one where 4 weeks of data are pushed to fit within 1cm and then 48 empty weeks on the x-axis. Next week, it will extract new sales information and it will automatically include week 5 in the line chart when it is week 5(I intend to do this using =today() and =weeknum(today()). Any help is much appreciated.Cheers,Jasper
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi Jasperverdam,

You can use dynamic defined names as a range in your chart.
Suggest you to check internet about Excel: Dynamic Defined Names.

Regards,
DILIPandey
 
Upvote 0

Forum statistics

Threads
1,214,375
Messages
6,119,170
Members
448,870
Latest member
max_pedreira

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