I assume I need some ARRAY formula, but not sure how to do it. I have blank cells and cells with a value in column C and Column D is the formula I am trying to make. I want to move all values in Column C to the top of Column D in the order that they are in in Column C with blank cells being on the very bottom. Here is an example
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]A
PRODUCT[/TD]
[TD]B
DATE[/TD]
[TD]C
KNOWN PURCHASE FORMULA[/TD]
[TD]D
FORMULA TO BRING TO TOP OF LIST[/TD]
[/TR]
[TR]
[TD]APPLE 2224[/TD]
[TD]7/25[/TD]
[TD][/TD]
[TD]EGG1013
[/TD]
[/TR]
[TR]
[TD]EGG 1013[/TD]
[TD]8/23[/TD]
[TD]EGG 1013[/TD]
[TD]PEAR 1321[/TD]
[/TR]
[TR]
[TD]GRAPE 3121[/TD]
[TD]4/22[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PEAR 1321[/TD]
[TD]2/22[/TD]
[TD]PEAR 1321[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated.
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]A
PRODUCT[/TD]
[TD]B
DATE[/TD]
[TD]C
KNOWN PURCHASE FORMULA[/TD]
[TD]D
FORMULA TO BRING TO TOP OF LIST[/TD]
[/TR]
[TR]
[TD]APPLE 2224[/TD]
[TD]7/25[/TD]
[TD][/TD]
[TD]EGG1013
[/TD]
[/TR]
[TR]
[TD]EGG 1013[/TD]
[TD]8/23[/TD]
[TD]EGG 1013[/TD]
[TD]PEAR 1321[/TD]
[/TR]
[TR]
[TD]GRAPE 3121[/TD]
[TD]4/22[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PEAR 1321[/TD]
[TD]2/22[/TD]
[TD]PEAR 1321[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated.