• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

getpivotdata function in googlesheet with date as reference.

kyegozun

New Member
Hi, i've been searching the internet for a possible solution about the getpivotdata function in googlesheet but can't find a working solution.

In this picture, I want to pull a data in a pivot and show in the table below(red circle).
I'm using this formula

=GETPIVOTDATA("Calls",$Q$1,"DATE",$Q46,"Name",$R46)
where $Q$1 is the reference pivot.
$Q46 is the cell that contains the reference date that I want to change everytime.
$R46 is the cell that contains the reference name that I want to change everytime.

My problem is making the cell Q46 as the reference date doesn't work in googlesheets. But its working fine in excel.
I've attached the sample data. Please is there anyone can help me.

1719482288545.png
 

Attachments

  • Copy of Copy of Weekly Report - Client Care.xlsx
    63.1 KB · Views: 1
Worked for me. I suggest you post a link to your file on google
Hi sir. This is the link i'm working on.
 
Seems to be working in that file with the added text function
Yeah. Someone told me to use the TEXT function. Thank you for your time replying and checking the link. I appreciate it so much.

For those reading this post with the same problem as mine see the details below for the correction.

=GETPIVOTDATA("Calls",$Q$1,"Date",TEXT(Q46,"mmmm d, yyyy"),"Name",$R46)

text function was added to match the reference date format.
 
Last edited:
Reading excelguru's message for cross posting made me realize that doing this may upset people. I'm now fully aware the consequences that this behavior can have. I apologize to everyone, this wont happen again and thank you for all the people contributing in this community.
 
Again, cross-posting is not forbidden, but you must add links to all the cross-posts. This being said, in my experience , the more cross-posts, the less chance of getting an answer... :rolleyes:
 
Back
Top