date comparison in pivot table error

Planner1

New Member
Joined
Sep 27, 2011
Messages
5
I have to generate a report using a pivot table, that tells me what work was done on time and what was late. Entering a formula outside the pivot table sees the scheduled start date drop downs as "blank" and says they are late when they are not. I cannot seem to use the value fields when i try to create a calculation field within the table. any suggestions? I am not familiar with VBA, but I guess I am going to have to learn it. I use 2010 at work, 2007 at home.
Excel Workbook
FGHIJK
10Count of WO No.=IF(G12>=H12, I12," ")=IF(G12<="" td="">
11WO TypeScheduled Start DateCompletion DateTotalONTIMELATE
12ENVIRO/PM9/12/20119/12/201111
139/16/20119/16/201111
149/22/20119/15/201111
15PM9/9/20119/14/201111
169/10/20119/12/201111
179/16/201111
189/12/20119/12/20111616
199/13/201111
209/13/20119/13/20112828
219/14/20119/12/201111
229/13/2011111
239/14/2011222
249/15/201122
259/15/20119/12/201111
269/16/20119/12/201122
279/13/2011111
289/14/2011222
299/15/2011444
sep 11-17
Excel 2007
 
Last edited:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hello and welcome to The Board.

I would have another column, outside the pivot table, to fill in the blanks and then I would have the formula check against that.

For example, in L12 the formula would be:
=IF(G12="",J11,G12)

The column could later be hidden if required.
 
Upvote 0
That doesn't work, the result I get for the "blank" (there are hidden dates there) is<TABLE style="WIDTH: 54pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=72><COLGROUP><COL style="WIDTH: 54pt; mso-width-source: userset; mso-width-alt: 2633" width=72><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: #ece9d8; BORDER-LEFT: #ece9d8; BACKGROUND-COLOR: transparent; WIDTH: 54pt; HEIGHT: 12.75pt; BORDER-TOP: #ece9d8; BORDER-RIGHT: #ece9d8" id=td_post_2879951 class=xl69 height=17 width=72 align=right>1/0/00</TD></TR></TBODY></TABLE>
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,833
Members
452,947
Latest member
Gerry_F

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