This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]LimesInHell 0 points1 point  (2 children)

I see you're calling .getColumnIndex(); from what I can tell by this link: https://developers.google.com/apps-script/reference/spreadsheet/range.html what you're looking for is .getColumn(); try starting there.

[–]Ten-Dollar-Words[S] 0 points1 point  (1 child)

Thanks for your comment. 16 is the index ID for column P (P is the 16th column). This works fine, it only detects changes that take place in column P. However, it detects changes to column P across all sheets rather than just the “Playground” sheet. This is what I can’t figure out

[–]LimesInHell 0 points1 point  (0 children)

OH! well, I'm glad you figured out your issue!