default_name
Board Regular
- Joined
- May 16, 2018
- Messages
- 180
- Office Version
- 365
- 2016
- Platform
- Windows
- MacOS
Hey guys,
I have a workbook that charts data for various dates.
I want the chart (called "Chart 6") to display different ranges of data as the years go on.
When I select my chart and go to Select Data, then the Select Data Source window pops up.
Currently, the chart is displaying data from the following Chart Data Range:
I want to implement something like this:
However, trying to do this results in a "That function isn't valid" error. Apparently it cannot be done in this manner.
Can this be done some other way?
Thanks
I have a workbook that charts data for various dates.
I want the chart (called "Chart 6") to display different ranges of data as the years go on.
When I select my chart and go to Select Data, then the Select Data Source window pops up.
Currently, the chart is displaying data from the following Chart Data Range:
Code:
=Visuals!$E$13:$BM$25
I want to implement something like this:
Code:
=IF(YEAR(TODAY()=2020,Visuals!$E$13:$BM$25,IF(YEAR(TODAY()=2021,Visuals!$E$13:$BY$25,Visuals!$E$13:$CK$25))))
However, trying to do this results in a "That function isn't valid" error. Apparently it cannot be done in this manner.
Can this be done some other way?
Thanks