Project Burndown Chart- Slice and display only visible data

JasMueh

New Member
Joined
Jul 7, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm wondering if there is anyone here that can help me with a burn down chart I have built for a project.
It was tough trying to find anything online regarding excel burn down charts so I built one using this youtube tutorial:
" YouTube .com/watch?v=AR2KgOYAqU8&list=PLWd3I4Gj-9XuEPPs1nGTvVK56K3Zc1PFD&index=3 "

I would like to have the ability to dynamically change the burndown chart using slicers for the MS# and Ref# columns though.
I'm looking to find a way to populate the Planned and Actual columns ('Burndown Chart Data') with visible data only once 'Source Data' table is sliced or filtered.

I was thinking of using a SUMPRODUCT, SUBTOTAL and OFFSET formula in the burn down chart table to help fix the COUNTIFS issue with displaying only visible data like in the article below:
" exceljet. net/formula/count-visible-rows-only-with-criteria#:~:text=To%20count%20visible%20rows%20only%20with%20criteria%2C%20you,criteria%20like%20COUNTIF%20or%20SUMIF%20without%20some%20help "

The issue I'm finding is that the COUNTIFS formula counts all data in the 'Source Data' Planned and Actual columns and not just visible (sliced) data.
I'm having issued trying to get it to display correctly. Just wondering if some of the Excel wizards on here can find a solution.

Here is a link to the example Excel spreadsheet on onedrive:



This is how the Burn down chart is setup:

Data from a SharePoint list is imported into Excel with Power Query and then displayed in the 'Source Data' table

The 'Burndown Chart Data' table then extracts the Planned and Actual dates from 'Source Date' and counts the dates within the range of the Date field in 'Burndown Chart Data'.

The formula used for this is:
Planned Completion:
=COUNTIFS('Source Data'!F:F,">="&A3,'Source Data'!F:F,"<="&MAX(A$1:A$29))

Actual Completion:
=IF(A3>TODAY(),NA(),MAX(B$1:B$29)-COUNTIFS('Source Data'!G:G,">="&$A$3,'Source Data'!G:G,"<="&A3))


The issue I'm finding is that the COUNTIFS formula counts all data in the 'Source Data' Planned and Actual columns and not just visible (sliced) data.

The formula I was modifying and hoping to display visible data only was something like this:
=SUMPRODUCT(('Source Data'!F:F,">="&A3,'Source Data'!F:F,"<="&MAX(A$1:A$29))*(SUBTOTAL(103,OFFSET(A3,ROW('Source Data'!F:F)-MIN(ROW('Source Data'!F:F)),0))))



FYI I have also posted this to 1 other Excel forum:



Thanks for your help!

-Jason
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
One of the forum gurus over at excelforum.com was able to quickly figure this out with AGGREGATE

 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
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