Check if one cell of several cells on a row in Excel has length 30 -
i have several rows within each row several cells , want check if 1 of these cells in row has length 30.
i tried using len function, problem have check several cells in row @ 1 moment.
excel treats true 1 , false 0. if array of true/false values comparing each cell in row length of 30 , take maximum, know if @ least 1 cell has length of 30.
to check a2:g2 cell has untrimmed length of 30 characters/digits put in h2,
=and(max(index(--(len(a2:g2)=30),,)))
fill down subsequent rows.
to retrieve first value 30 characters/digits in length put i2,
=iferror(index($a2:$g2, , small(index(column($a:$g)+(len($a2:$g2)<>30)*1e+99, , ), column(a:a))), "")
fill right possible second, third, etc. values 30 characters wide. fill down necessary catch subsequent rows.
Comments
Post a Comment