Hi all
i would like an excel VBA that puts in cell B3 FRUITS and in cell B11 vegetables etc..
The results should like like below
Thanks
i would like an excel VBA that puts in cell B3 FRUITS and in cell B11 vegetables etc..
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | ITEM # | DESCRIPTION | CATEGORY | ||
2 | |||||
3 | |||||
4 | |||||
5 | |||||
6 | APPLES | FRUITS | |||
7 | BANANAS | FRUITS | |||
8 | PEARS | FRUITS | |||
9 | WATERMELON | FRUITS | |||
10 | |||||
11 | |||||
12 | |||||
13 | TOMATOES | VEGETABLE | |||
14 | CUCUMBERS | VEGETABLE | |||
Sheet1 |
The results should like like below
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | ITEM # | DESCRIPTION | CATEGORY | ||
2 | |||||
3 | FRUITS | ||||
4 | |||||
5 | |||||
6 | APPLES | FRUITS | |||
7 | BANANAS | FRUITS | |||
8 | PEARS | FRUITS | |||
9 | WATERMELON | FRUITS | |||
10 | |||||
11 | VEGETABLE | ||||
12 | |||||
13 | TOMATOES | VEGETABLE | |||
14 | CUCUMBERS | VEGETABLE | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B3 | B3 | =C6 |
B11 | B11 | =C13 |
Thanks