Excel Arrange multiple Columns -
i have data in excel:
1 1 1 2 2 2 3 2
and want result displayed this:
1 1 1 2 2 2 2 3
its ascending sorting. if number in columna <= columnb, display first, @ same time, columnb have empty cell or blank value. have looked while no 1 has problem this. prefer formula rather vba code. please advise, thanks!
edit: hope explanation easier understand
data (a1:b2) - result (c1:d4). each number in data (a1:b2) result of complicated formula cannot change position
b c d 1 1 2 1 2 3 4 2 3 3 4 4
honestly, if want avoid vba, here's manual process give results want:
- color each column (ie. column
red
, column bblue
) - place values of column b under column a
- sort & filter
sort smallest largest
- copy contents of column column b
- last column find ,
replace all
* formatblue
same column b formatred
. (see below more info on how that).
following steps isn't conventional, give results wanted without vba.
*find , replace based on font color: 1. press ctrl-h
2. click options
3. click format
> font
> select font color > ok
4. find what
blank font color , replace with
blank click replace all
.
Comments
Post a Comment