I have a spreadsheet that needs to be numbered automatically. However, I need it numbered based on cells in the next column. For instance:
1 Apples
1 Apples
1 Apples
2 Oranges
2 Oranges
3 Pears
3 Pears
3 Pears
3 Pears
4 Plums
5 Mangos
I know it's an IF statement but I can't see the wood for the trees.