Condense a column (by using formula)

Little_Tiger

New Member
Joined
May 7, 2018
Messages
10
I have 2 columns that is as follow:
A B C D
12 0 6
11 0 4
23 3 3
21 4 8
11 0
10 6
17 0
17 0
28 8
10 0

I would like to have in column C, the order from small to large (of column A) based on column B when there is a value greater than 0.
When there is a 0, the formula should ignore and move the the next row. I would like to the formula to condense column B and re-arrange the value in column B based on column A.

Column D shows what I would like to have be done automatically.

Any idea?

thanks, -=LT=-
 
@Rick Rothstein;

Would you mind helping me? I did fix one issue. When the first search was missing. Now the 2 last issue I can't solve.
I have made progress, I can now have a column with none of the '0'. However, I can't order them (because the value is the row number) to another column.

If you can and want, please me let me know

Thanks
-=LT=-
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top