Skip to main content
Question

Dynamic column selection in Update Spreadsheet Row (Google Sheets)

  • February 14, 2025
  • 3 replies
  • 27 views

tslyons
Forum|alt.badge.img

I keep track of dues payments for our rugby club manually in a Google Sheets workbook.  I have columns headed JAN, FEB, etc and when I  get notice of a dues payment I enter the amount paid in the column for the appropriate month.

I have a Zap that parses date, payer’s name and amount paid from a Gmail generated from Square.  Is there a way to direct Update Spreadsheet Row to the appropriate column based on the content of the date field?

Thank you.

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • February 17, 2025

Hi there ​@tslyons! 👋

Perhaps you could try using paths for this instead? Each path could check whether the date contains a certain month then a Update Spreadsheet Row action inside each path could be set to update the value in the relevant month column. If you haven’t worked with Paths in Zaps before, I’d recommend checking out our Add branching logic to Zaps with paths guide to learn more.

If you get stuck on that or have any follow-up questions, just let us know! 🙂


tslyons
Forum|alt.badge.img
  • Author
  • Beginner
  • February 17, 2025

thanks so much.  I’ll look into it today.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • February 18, 2025

You’re welcome, ​@tslyons! 🤗 Looking forward to hearing how it goes!