Pivot Table Issue - Date Comparison | Two Date Columns

ThereIsLeo

New Member
Joined
Jan 31, 2018
Messages
1
Hello, I hope y'all doing well.

I am having a hard time trying to get a pivot graph showing a Plan vs Actual based on counts of ID's and dates.

[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]ID_Name[/TD]
[TD]Status[/TD]
[TD]Plan Date[/TD]
[TD]Actual Date[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]UAT[/TD]
[TD]Pass[/TD]
[TD]1/28/2018[/TD]
[TD]1/30/2018[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]SmokeTest[/TD]
[TD]Fail[/TD]
[TD]1/31/2018[/TD]
[TD]1/30/2018[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]YourCodeIsBadTest[/TD]
[TD]Fail[/TD]
[TD]1/30/2018[/TD]
[TD]2/2/2018[/TD]
[/TR]
</tbody>[/TABLE]

I need to have a line be represented for Plan and Another for Actual. The way I've worked around this is doing some "duct-tape" workaround, which was to copy the *Actual Date* column, paste it below the last value on *Plan Date* Column, and delete the actual date, and create a new column called PlanVsActuals and Classify the rows by Plan & Actuals.
*Below is duct taped workaround*
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]ID_Name[/TD]
[TD]Status[/TD]
[TD]Dates[/TD]
[TD]PvA[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]UAT[/TD]
[TD]Pass[/TD]
[TD]1/28/2018[/TD]
[TD]Plan[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]SmokeTest[/TD]
[TD]Fail[/TD]
[TD]1/31/2018[/TD]
[TD]Plan[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]YourCodeIsBadTest[/TD]
[TD]Fail[/TD]
[TD]1/30/2018[/TD]
[TD]Plan
[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]UAT[/TD]
[TD]Pass[/TD]
[TD]1/30/2018[/TD]
[TD]Actual[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]SmokeTest[/TD]
[TD]Fail[/TD]
[TD]1/30/2018[/TD]
[TD]Actual[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]YourCodeIsBadTest[/TD]
[TD]Fail[/TD]
[TD]2/2/2018[/TD]
[TD]Actual[/TD]
[/TR]
</tbody>[/TABLE]

Is there a way to create a comparative line graph without having to do this?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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