LOADING: An error occurred. Update Chrome, try Firefox, or visit this post for more details.

⚠️Reddit changed how removals work, which breaks Reveddit's website. Install the extension to track removed content:Add to chromeAdd to firefoxWhat changed?
✖︎
about reveddit
⚙F.A.Q.add-ons
r/
status
copy sharelink
[+] show filters
20
SOLUTION MEGATHREAD-❄️- 2023 Day 19 Solutions -❄️-(self.adventofcode)
submitted 2 years, 1 month ago* (edited 29 minutes after) by daggerdragon to /r/adventofcode (134.8k)
465 commentsredditother-discussionssubreddit-indexmessage modsop-focus

THE USUAL REMINDERS

  • All of our rules, FAQs, resources, etc. are in our [community wiki](https:...

... view full text

since 2 years, 1 month ago
3 of 3

Tip Reveddit Real-Time can notify you when your content is removed.

your account history
(check your username's removed content. why?)
Tip Check if your account has any removed comments.
view my removed comments
you are viewing a single comment's thread.
view all comments
[–][deleted]3 points2 years, 1 month ago* (edited 1 week, 4 days after)

[LANGUAGE: Google Sheets]

Part 1

Input expected in A:A

=SUMPRODUCT(LET(in,A:A,sp,SPLIT(FILTER(in,LEFT(in)<>"{"),",{}"),
workflow,INDEX(sp,,1),conditions,CHOOSECOLS(sp,SEQUENCE(COLUMNS(sp)-1,1,2)),
ratings,FILTER(in,LEFT(in)="{"),SPLIT(FILTER(ratings,"A"=MAP(ratings,LAMBDA(ratings,
REDUCE("in",SEQUENCE(10),LAMBDA(cur_,_,IFERROR(LET(cur,XLOOKUP(cur_,workflow,conditions),
QUERY(REDUCE(TOCOL(,1),SEQUENCE(COUNTA(cur)-1),
LAMBDA(_,i,VSTACK(_,LET(val,INDEX(cur,,i),cat,
REGEXEXTRACT(val,"\w+"),op,REGEXEXTRACT(val,"[<>]"),bound,
--REGEXEXTRACT(val,"\d+"),next,REGEXEXTRACT(val,"\w+$"),rating,
VLOOKUP(cat,WRAPROWS(SPLIT(ratings,"=,{}"),2),2,),IF(op="<",
IF(rating<bound,next,INDEX(cur,,i+1)),
IF(rating>bound,next,INDEX(cur,,i+1))))))),
"where not Col1 contains ':' limit 1",)),cur_)))))),"{xmas,=}")))
permalinkhide replies (1)as-of
[–]photoshopgod694204 points2 years, 1 month ago

how does one get this good at google sheets

permalinkparentcontexthide replies (1)author-focusas-ofpreserve
[–]daggerdragon1 point2 years, 1 month ago

Practice. Lots and lots and lots of practice.

permalinkparentcontextauthor-focusas-ofpreserve
r/revedditremoved.substack.com
🚨 NEWS 🚨
✖︎

Important: Reddit Changed How Removals Work

A recent Reddit update makes mod-removed content disappear from profile pages, which breaks Reveddit's website.

Install the browser extension to receive removal alerts.

Add to chromeAdd to firefox

What changed?

r/revedditremoved.substack.com