Share via

GetPivotData and Time Values as Cell References

Barış Kuzu 26 Reputation points
2021-12-09T00:55:47.103+00:00

Hello,

I seriously think that this is a bug. Actually maybe more than one bug.

First;

Using regular data model, if the source data includes a time value such as 00:00, you can't display those fields as times. 00:00 appears as 00 and changing number format doesn't do anything. In addition to this, you can't make a cell reference to use getpivotdata using a time value, let's says my cell a3 is 00:00 and I want to get that time's value but I can't reference it using a3. you have to hard code it as "0" and this kills the purpose because you can't flashfill this way.

Second,

Using Excel's Data Model,

You can get the pivot to display the time values correctly such as 00:00. However, as you know using getpivotdata with Excel's Data Model, things get complicated and again you can't reference a cell as a time value because excel reads the time as "1899-12-30T00:00:00" and referenced cell doesn't match this value.

Are these really bugs? If so how can I report them? Is there anyway around this?

Microsoft 365 and Office | Excel | For business | Windows

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.