Automatic date chart

meviusl

New Member
Joined
Mar 20, 2019
Messages
1
All,

I have a sheet in which in column A contains the all the dates of 2019. In columns B and C calculations are automatically performed when data for that day is available from an external database. If no data is available (e.g. tomorrow; 21-3-2019) the cell will be left blank using an IF function.

Column A | B | C |
1-1-2019 | 5 | 3 |
2-1-2019 | 5 | 4 |
3-1-2019 | 2 | 4 |
... | 2 | 2 |
20-3-2019 | 3 | 1 |
21-3-2019 | | |
22-3-2019 | | |

For reporting purposes I would like to make graph with YTD results every week. Does anyone know a way to have a dynamic x-axis selecting the cells from 1-1-2019 untill today (in this case 20-3-2019)? In this way I don't have to update the data in this graph every week.

Thanks!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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