Skip to main content

I recently created a 140+ Q training quiz with lots of complex logic for one of our clients.  I am using Document Studio as an extension for Google Sheets and Google Slides to automate PDF creation and email submissions/responses. I used Google slides to create a PDF, which pulls data fields and values from Google Sheets, and creates a nice PDF that shows the question, the correct answer and user’s answer as well as a certificate of completion.  This was accomplished by creating an additional worksheet/tab within the main worksheet that maps all the fields and values using the ARRAYFORMULA in Google Sheets.

HERE’S MY PROBLEM: Document Studio references the mapped fields and values but doesn’t automatically update when the main worksheet updates, resulting in users completing the training quiz and not getting their certificate and results unless I run an manual workflow every time.  This is painful as I have a ton of quizzes and corresponding workflows created in Document Studio. Some of the quizzes work fine. others don’t. 

@john.desborough I watched your video link below. I noticed that I missed the dynamic syntax you used (.e.g. =ARRAYFORMULA(' xxxx'!A2:A)) , which is likely why my additional worksheets don’t dynamically update with the main worksheet. However, when I tried to add the dynamic syntax, I got a #REF! error. Any ideas? Thanks in advance. 

 

 


@dgranzotti - i would say that something is wrong with the logical expression that you used. 

if you want to record a video and post it showing the error in the spreadsheet, i may be able to troubleshoot it for you. 

 

des


@dgranzotti nice call - @john.desborough is definitely your guy when it comes to Document Studio! 🙌🏽


@Liz , yes indeed!! John is the guy when it comes to Document Studio! 

 

@john.desborough, I figured it out as it was shockingly simple! I was getting the #REF! b/c MS Excel’s expectation is that the column MUST BE EMPLTY when mapping and using the dynamic syntax. I was trying to fix the issue by adding the dynamic syntax to a column with values in it, hence the #REF! error. 

 

Thanks to you and the dynamic syntax reference in your video. Appreciate the quick responses from both of you!! Great community!!


@dgranzotti - all of the information in the video is related to Google Sheets.. not Excel. the formula constraints are different between the two products. remember to take that into consideration as well when trying  out these things lol..

 

cheers!. glad you got it sorted.. 

 

des


@john.desborough, roger that! I always seem to forget the differences between Google Sheets vs MS Excel! Again, really appreciate the support/feedback. 


Reply