How to do Name Range dataset for Candle Stick Chart?

Mathman

Board Regular
Joined
Jan 28, 2017
Messages
144
Office Version
  1. 2016
Platform
  1. Windows
I have a candle stick charge with Date/Open/High/Low/Close Columns. I have a drop down menu to select time I want to see, example 1 month 6 months ect. Currently I have about 2 years worth of data, if I want 1 month I have an if statement that if outside the dates the cell is blank "".

The main issue is the dates, I do not want weekends included just the data in the table. I can convert date to text but when I do this and I look at 1 month worth of data I end up with 24months - 1 month of blank data in the chart. I want it so that if I chose 1 week, 1 month or 1 year I only get those data points and exclude any blanks.

data table is (E81:I585) E=header

Can anyone point me in the right direction as to how to address this?

Thank you
MM
 

Some videos you may like

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Watch MrExcel Video

Forum statistics

Threads
1,128,122
Messages
5,628,819
Members
416,342
Latest member
BlueDevil12

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
Top