Remove

%3CLINGO-SUB%20id%3D%22lingo-sub-1119740%22%20slang%3D%22en-US%22%3ERemove%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1119740%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%26nbsp%3Bi%20automatically%20remove%20the%20lowest%20digit%20from%20a%20row%20after%2013%20digits.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJos%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1119740%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1121633%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1121633%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20have%20competition%20over%2019%20evening%2C%20the%20best%2012%20counts.%20So%20if%20someone%20has%20been%2013%20times%20or%20more%2C%20the%20worst%20must%20automatically%20expire.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGr.%20Jos%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1120889%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120889%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F526715%22%20target%3D%22_blank%22%3E%40Jos4841MC%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20do%20mean%20by%20remove%20the%20lowest%20digit%20after%2013%20digits%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20an%20accurate%20representation%20where%20the%20cell%20value%20is%20%3D%2012%2C345%2C678%2C910%2C111%2C212%2C978%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20548px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166338iE15BB3FCA3DAD8E4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%223.png%22%20title%3D%223.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

How can i automatically remove the lowest digit from a row after 13 digits.

 

Jos

9 Replies
Highlighted

@Jos4841MC 

 

What do mean by remove the lowest digit after 13 digits?

 

Is this an accurate representation where the cell value is = 12,345,678,910,111,212,978?

3.png

Highlighted

Hi,

We have competition over 19 evening, the best 12 counts. So if someone has been 13 times or more, the worst must automatically expire.

 

Gr. Jos

Highlighted

@Jos4841MC 

I guess you any case do records for all 19, thus highest could be calculated in another column or row

image.png

as

=IFERROR(IF(LARGE($C$3:$C$21,ROW()-ROW($D$2))<LARGE($C$3:$C$21,MIN(12,COUNTA($C$3:$C$21))),0,LARGE($C$3:$C$21,ROW()-ROW($D$2))),0)
Highlighted

In this example, with every time a number is added, the highest 12 must remain.

Highlighted

@Jos4841MC 

If your goal is actually remove the values which are below top12, that's with VBA programming.

 

If to ignore in calculations that could be done with formulas. To hide such values you may apply conditional formatting rule on the first place

image.png

with formula

=B2<LARGE($B2:$T2,12)

and white on white formatting.

Totals in vertical

=IFERROR(SUMPRODUCT(LARGE($B2:$T2,ROW(INDIRECT("1:"&MIN(12,COUNT($B2:$T2)))))),0)

counting

=MIN(12,COUNTA($B2:$T2))

minimum

=IFERROR(LARGE($B2:$T2,MIN(12,COUNTA($B2:$T2))),0)

totals in horizontal

=SUMPRODUCT( (B$2:B$42>=$AJ$2:$AJ$42)*B$2:B$42)

In attached file I kept your calculations and added above in parallel.

Highlighted

In this example, with every time a number is added, the highest 12 must remain.

Highlighted

@Jos4841MC , in your sample I don't see "12 only", there are all results in the table.

Anyway, I don't have another solution but the one in the file attached to my previous post.

Highlighted

@Sergei Baklan 

Thanks it works perfectly, is it possible that the position changes automatically according to the number of points someone gets. And it is also possible that if someone fails 12 times, they will no longer participate in the final ranking.

 

Thanks

Highlighted

@Jos4841MC 

If automatically that's with VBA programming. But you may add another helper column which will calculate ranks only for >=12 and perhaps to sort entire range based on it.

Related Conversations