Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Can I add a unique autoincrement field to multiple answers in a column in a Google Spreadsheet based on a Google Form?

$
0
0

I need to add a unique autoincrement field to multiple answers in a column in a Google Spreadsheet based on a Google Form.

I was able to add the function trigger in scripts but I need to add the autoincrement to multiple items from a dropdown in one of the answers. What I am trying to accomplish is create a media database with individual media file codes. For instance if one of my videos was filmed in St. Louis, MO I'd have something like "stl_adv_23" and if one of my videos was filmed in Tulsa, OK, then that entry would be "tul_adv_7" and so on. So when the user fills out the first form question and answers from multiple city codes in a dropdown, I want the auto increment to then add the next sequential number for that specific drop down answer not just the next in line overall for all answers. How do I do this in script editor?

I used this answer as a jumping off point and it worked, but need the above additional function


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>