Hi All
Can someone help me to combine/stack two columns so they appear as one column please? The issue is that both columns will change in length and could be longer/shorter over time. The example I've added below is just dummy data and the actual data is much longer and more complicated and obviously not fruits
Can someone help me to combine/stack two columns so they appear as one column please? The issue is that both columns will change in length and could be longer/shorter over time. The example I've added below is just dummy data and the actual data is much longer and more complicated and obviously not fruits
Fruit Example.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Fruit | Fruits Alphabetical | Veg | Concat | Stacked List | ||||
2 | Strawberries | Apples | Potatoes | Whole Apples | Whole Apples | ||||
3 | Apples | Blueberries | Turnips | Whole Blueberries | Whole Blueberries | ||||
4 | Pears | Melon | Carrots | Whole Melon | Whole Melon | ||||
5 | Blueberries | Pears | Swede | Whole Pears | Whole Pears | ||||
6 | Melon | Pineapple | Peas | Whole Pineapple | Whole Pineapple | ||||
7 | Pineapple | Strawberries | Whole Strawberries | Whole Strawberries | |||||
8 | Whole | Potatoes | |||||||
9 | Whole | Turnips | |||||||
10 | Whole | Carrots | |||||||
11 | Whole | Swede | |||||||
12 | Whole | Peas | |||||||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B7 | B2 | =IF(COUNTA(FruitList)>=ROWS($B$2:B2), INDEX(FruitList, MATCH(SMALL(COUNTIF(FruitList, "<"&FruitList), ROW(B2)), COUNTIF(FruitList, "<"&FruitList), 0)), "") |
E2:E12 | E2 | =CONCAT("Whole ",B2) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
FruitList | =OFFSET(Sheet2!$A$2,0,0,(COUNTA(Sheet2!$A$2:$A$600)+1)) | B2:B7 |