In this spreadsheet...I have scrape a webpage using =query( importhtml("https://chancesgames.com/WinningNumbers/WinningList", "table", 1), "select Col1, Col2, Col4, Col5 where Col1 is not null and toDate(Col1) >= date '" & text(B1, "yyyy-mm-dd") & "' and toDate(Col1) <= date '" & text(C1, "yyyy-mm-dd") & "' and lower(Col2) matches '.*(" & lower(D1) & ").*'", 1 )
...it retrieved four columns off that page...which is in Shawn columns A2 :d...I subsequently I generated all possible combinations of the scraped data...using =ArrayFormula(Split(Flatten(Query(if(len(C3:C300),B3:B300&"@"&Split(RegexReplace(Transpose(Query(Transpose(Mid(text(C3:C300,"000")&",", {1,2,3,4,1,3,2,4,3,1,2,4,3,2,1,4,2,1,3,4,2,3,1,4},1)),,69))," ",""),","),),"Where Col1!=''")),"@"))... To find and filter all possible combinations Divisible by 12,13,37,101, 111 to it's lowest common multiple... The result from this filter is in column... Which was later filtered to retrieve all numbers between 0-100...once filtered, the formula =ARRAYFORMULA(if(AE3:AE="",,left(AE3:AE,1)&right(AE3:AE,1)&mid(AE3:AE,2,1))) was applied to generate the reverse of those numbers...which was then filtered in to sheet 2 of the spreadsheet. ..where this formula (arrayformula(if(a:a="",,a:a*{12,13,37,101,111) was applied and used to generate a series of values. These values was conditionally formatted to highlights duplicates against to list which is locate in column I and k of sheet2...
I am seeking...to match all data generated by arrayformula(if(a:a="",,a:a*{12,13,37,101,111) with thematching states and 3/4 digit numbers which are in lists h3:I and j3:k in columns a:f....Is that possible