excel - Move the last 4 non-blank cells from a number of rows -
i have done bit of digging had no luck, i'm looking move last 4 non-blank cells range of specific row align them.
2a 29h 0 0 0 0 24h 88h 13 7 4 0 35h 44h 71h 7 3 7 1 3a 62h 72a 8 3 8 4 17a 13 3 16 6 61a 67h 75a 10 2 8 3 25h 49h 16 3 5 1 36h 39a 51h 56h 78a 82h 16 6 8 3 20h 29h 45h 48h 79h 82h 90h 22 10 3 1 20a 28a 44h 46a 62h 69h 75h 84h 16 7 7 3
here list starting column e1 in top left corner, think of formula this?
so need move numeric characters away values number , character.
if didn't mind being in separate sheet, try
=if(column()<column($aa$1), if(istext(sheet1!a1),sheet1!a1,""), index(sheet1!$a1:$z1,match(true,index(isnumber(sheet1!$a1:$z1),0),0)+column()-column($aa$1)))
in a1 of sheet 2, , pull across.
this display cells containing text starting @ sheet2!a1, , ones containing numbers starting @ sheet2!aa1.
or prevent zeroes appearing after last number:-
=if(column()<column($aa$1), if(istext(sheet1!ad1),sheet1!ad1,""), if(index(sheet1!$a1:$z1,match(true,index(isnumber(sheet1!$a1:$z1),0),0)+column()-column($aa$1))="","", index(sheet1!$a1:$z1,match(true,index(isnumber(sheet1!$a1:$z1),0),0)+column()-column($aa$1))) )
Comments
Post a Comment