
Hi John:
Yeah, it is indeed a bug: the syntax is backwards.
The function GetPivotData exists in both Excel for Mac (04 and 08), and in
the Windows version (03, 07 and 10).
However, while the function performs the same task on both systems, the
syntax is different. The Windows syntax is
GETPIVOTDATA(data_field,pivot_table)
(http://office.microsoft.com/en-us/excel/HP100624771033.aspx)
The Mac syntax is:
GETPIVOTDATA(pivot_table,name) where name refers to the same parameter as
data_field above:
(http://www.microsoft.com/mac/help.mspx?target=9e985a8c-3d6c-4886-9137-d6b82
3e504a71033&clr=99-1-0)
As you can see, the syntax is reversed on the Mac, which causes spreadsheets
to break when viewed on a Mac.
Excel 2007 can use the reverse syntax of the Mac version, so it is
possible to create a pivot table that will work on both platforms, by
flipping the formula parameter values on the Mac. When you send it back to
Windows, it should work...
Cheers
On 16/03/10 6:33 PM, in article 59bb551e.-1@webcrossing.JaKIaxP2ac0,
--
The email below is my business email -- Please do not email me about forum
matters unless I ask you to; or unless you intend to pay!
John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410 | mailto:john@mcghie.name