Give a try on below formula-
=INDEX(SPLIT(FLATTEN(SPLIT(JOIN("",INDEX(REPT(BYROW(A2:D3,LAMBDA(x,TEXTJOIN("|",0,x)))&"@",E2:E3))),"@")),"|"))
To make it dynamic spill array, use-
=INDEX(SPLIT(FLATTEN(SPLIT(JOIN("",INDEX(REPT(BYROW(A2:INDEX(D2:D,MATCH("zzz",D2:D)),LAMBDA(x,TEXTJOIN("|",0,x)))&"@",E2:INDEX(E2:E,MATCH(9^9,E2:E))))),"@")),"|"))
Related Contents:
- Repeat each row N times in Google Sheets
- ArrayFormula of Average on Infinite Truly Dynamic Range in Google Sheets
- Conditional formatting based on another cell’s value
- Google Sheets importXML Returns Empty Value
- Get the last non-empty cell in a column in Google Sheets
- How to stop / freeze / pause volatile RAND / RANDBETWEEN / RANDARRAY?
- How would I import YouTube Likes and Dislikes and a ratio from YouTube onto Google Sheets? [closed]
- Query is ignoring string (non numeric) value
- What factors determine the memory used in lambda functions?
- ArrayFormula and “AND” Formula in Google Sheets
- How to SUM duration in Google Sheets?
- I get Formula parse error with all formulas
- IMPORTXML and right XPath from Bloomberg price [duplicate]
- How to list all permutations without repetition?
- How to use arrayformula with formulas that do not seem to support arrayformulas?
- How to create all possible pair combinations without duplicates in Google Sheets?
- ARRAY_LITERAL, an Array Literal was missing values for one or more rows
- Is there a way to evaluate a formula that is stored in a cell?
- Import data into Google Colaboratory
- Apps Script: how to get hyperlink from a cell where there is no formula
- Download link for Google Spreadsheets CSV export – with Multiple Sheets
- No permission to call msgBox in Google Apps Scripting
- Generate all possible combinations for Columns(cross join or Cartesian product)
- How to compare dates or date against today with query on google sheets?
- Periodically refresh IMPORTXML() spreadsheet function
- Conditional Formatting from another sheet
- How do I add formulas to Google Sheets using Google Apps Script?
- How to Autofill last row with formula, when data is received from IFTTT on the last row?
- Is there a custom function or script that returns gid of a specific sheet in Google Sheets?
- Google Sheet yields infinitesimal number as remainder of an integer/whole number
- Google Sheets Formula for Extracting Domain From Website?
- Stacking multiple columns on to one?
- New Google Spreadsheets publish limitation
- New Google spreadsheet Concatenate limit 50000 characters
- Difference between two dates expressed as years, months, days (in one column)
- Google Sheet use Importxml error could not fetch url [duplicate]
- How to maintain absolute cell address even when deleting ranges?
- Moving google apps script to v8 file upload stopped working from sidebar
- ultimate short custom number formatting – K, M, B, T, etc., Q, D, Googol
- Google Spreadsheet SCRIPT Check if edited cell is in a specific range
- Generate a repeating sequence based on vector
- How to define global variable in Google Apps Script
- Accessing Google Spreadsheets with C# using Google Data API
- How to auto select range from a filter without having to manually enter it?
- Can no longer produce PDF from Google Sheets spreadsheet for some of the users
- How to copy a row from one google spreadsheet to another google spreadsheet using google apps script?
- Google Sheets API returns “The caller does not have permission” when using server key
- Matlab: repeat every column sequentially n times [duplicate]
- Synchronize independent spreadsheet rows, filled by IMPORTRANGE()
- google script detect empty cell after edit or delete