Vigyata.AI
Is this your channel?

VIBE CODE GOOGLE SHEETS

385 views· 10 likes· 11:09· Feb 16, 2026

🛍️ Products Mentioned (1)

Google Sheets Crochet Patterns: Repeat Color Blocks with REPT/SPLIT and an Apps Script Menu (with ChatGPT) Quick Course for Learning Automations: https://www.udemy.com/course/spreadsheet-automation-101/?referralCode=993940D0DB146D780A92 The episode shows how to generate crochet pattern rows in Google Sheets by repeating color names across cells. It starts with using SEQUENCE to create 140 positions and explains why copying/transposing is cumbersome. It then demonstrates a formula approach using REPT to repeat a color word (e.g., "white" 140 times) and SPLIT to turn the repeated text into separate cells, and combines multiple segments (e.g., 82 white, 1 gray, 1 green, 56 white) using array/curly-brace notation. Next, it builds a Google Apps Script solution with ChatGPT: adding a custom onOpen menu (e.g., “Crochet” → “Enter row words”), prompting the user for input like “89 blue, 45 green, 55 white,” reading the active row and starting cell, and filling the row left-to-right with the specified counts and colors. The script is tested in the sheet, including first-run authorization, and verified by checking the filled counts. 00:00 Crochet Pattern Problem from the ‘I Love Google Sheets’ Group 00:31 Using SEQUENCE to Generate 140 Cells (and Why It’s Clunky) 02:24 Better Formula: REPT + SPLIT to Repeat Colors Across Cells 03:28 Can We Automate This? Turning Color Counts into an Apps Script Tool 04:52 Setting Up Apps Script: Custom Menu + Prompt + Active Row/Range 07:30 ChatGPT Generates the Script: Paste, Review, and Fix Naming Issues 09:16 Run & Test: Authorize and Fill the Row Automatically 09:38 Second Test Pattern + Wrap-Up, Course Plug, and Subscribe

🎬 More from Better Sheets