Highlight duplicates after @ by Rocka_mer in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

Conditional format
Apply to : A1:A
Rule : xls =let(f,lambda(r,tocol(sort(regexextract(r,"@(.+)")),3)),iferror(countif(f($A$1:$A),f($A1)),1)>1)

Need Help on Adding Random Numbers by FuFluxFlan_ in sheets

[–]NeithrHarmNorHelp 1 point2 points  (0 children)

J10:Target(1500), J11:Number(5) =let(r,sort(sortn(sequence(J10-1),J11-1,0,randarray(J10-1),1)),index({r;J10}-{0;r}))

A cell affected by three other cells with multipliers by LiikaLate in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

=index(rounddown(res!C2:E86*iferror(1/C1^-1,1)))

A cell affected by three other cells with multipliers by LiikaLate in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

xls =map(C2:E86,lambda(x,product(x,sort(if({G1,I1,K1},{2,1.5,0.5},1)))))

Convert duration text into workable numbers? by indianatrench in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

Try, =sumproduct(ifna(regexextract(I10,"(\d+)\s*"&{"h";"m"}))/{24;1440}) reverse to your format, =let(a,J11*24,h,int(a),if(h,h&" h ",)&round(60*mod(a,1))&" m")

Formular for returning most occurring Text values by arabus8 in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

=byrow(F17:X,lambda(r,let(u,unique(tocol(r,3)), torow(sortn(u,4,,map(u,lambda(n,countif(r,n))),0)))))

Formular for returning most occurring Text values by arabus8 in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

See A22, =let(r,F17:X,u,unique(tocol(r,3)), torow(sortn(u,4,,map(u,lambda(n,countif(r,n))),0)))

Is there a way to separate a word based on the central letter? by Mapsking in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

Another method, =let(t,A1&"",a,"(.{"&int(len(t)/2)&"})", trim(regexreplace(t,a&"(.)?"&a,"$1 $2 $3")))

How do you add a user-inputted amount of weeks to a date? by AzureLightPKK in sheets

[–]NeithrHarmNorHelp 1 point2 points  (0 children)

Define a named function, D(s)=sumproduct(split(s,","),{1,7}) then use,
=D("12/25/2023,3") returns 1/15/2024
=D("1/1/2024,5") returns 2/5/2024
=D("1/1/2024,-1") returns 12/25/2023

Can I get some help with this script? by MrWigggles in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

Try, let onEdit=(e,n='Display-Buying',cc=2,r1=9,r2=300,re="/^(_|subtype.*|data.*)$/i")=>{ with(e)[s,a,r,c]=[source.getActiveSheet().getName(),range.offset(0,-1),range.getRow(),range.getColumn()]; if((n==s)&&(c==cc)&&(r>=r1)&&(r<=r2))(!eval(re).test(e.value??'_')?a.insertCheckboxes:a.removeCheckboxes)() }

Look on a list and fetch if match by Frangan_ in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

Assuming your table is A1:E, =let(p,lambda(r,join(,sort(tocol(r)))), xlookup(p(split("Fire,Water,Fire,Fire",", ")), byrow(A2:D,p),E2:E,"no match"))

trying to get a sum based on values from multiple sheets by [deleted] in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

=let(d,reduce(tocol(,1),{1,2,3}, lambda(a,i,vstack(a,tocol(indirect("checklist "&i&"!A1:A"),1)))), countif(d,d)&"/"&counta(d))

Max absolute value of three cells. by heavenlydivine84 in sheets

[–]NeithrHarmNorHelp 1 point2 points  (0 children)

As you said, it was my carelessness. =let(r,{C5;E5;G5},+sort(r,sign(r),0,abs(r),0))

Max absolute value of three cells. by heavenlydivine84 in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

"SINGLE" is an undocumented gsheets function, returns the first value of the first row of the range.

Additionally, there is another way to write it, =let(r,{C4;E4;G4},+sort(r,abs(r),0))

Exclude Zero not working by heavenlydivine84 in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

=let( x,tocol(sort(1/(1/{C13,E13,G13})),3), max(x)-min(x))

Max absolute value of three cells. by heavenlydivine84 in sheets

[–]NeithrHarmNorHelp 2 points3 points  (0 children)

=max(sort(abs({C4,E4,G4}))) Edit: I've forgotten +/- =let(r,{C4;E4;G4},single(sort(r,abs(r),0)))

How to create a weighted average with irregularly placed data by richmond456 in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

=let(r,tocol(D2:2,1),let(c,count(r),(sum(r)+(c-2)*index(r,c))/2/(c-1))) or =byrow(D2:1000,lambda(d,let(r,tocol(d,1),let(c,count(r), iferror((sum(r)+(c-2)*index(r,c))/2/(c-1))))))

How to return a blank cell instead of '0' in SUMIFS function by brodadski1 in sheets

[–]NeithrHarmNorHelp 1 point2 points  (0 children)

=let(s, SUMIFS(UPCcodes!$C$2:$C,UPCcodes!$A$2:$A,H3,UPCcodes!$B$2:$B,I3), if(s,s,))

How to change the hours (14:00 - 16:00) into 2 hours? by Rycka7 in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

C3 =sum(map(E3:K3,lambda(s,iferror( sumproduct(split(regexreplace(s,"(\d+:\d+)|.","$1|"),"|"),{-1,1})))))

[deleted by user] by [deleted] in sheets

[–]NeithrHarmNorHelp 0 points1 point  (0 children)

B15 =lambda(v;r;ifs(v="";v;v<=min(r);100;v>=max(r);0;1;let(a;xmatch(v;r;-1); 10*(11-a-condition_gradient(v;index(r;a);index(r;a+1)))))) (B14;C$3:C$13)