fitzchivalry
New Member
- Joined
- Mar 23, 2015
- Messages
- 33
I have a spreadsheet as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Customer[/TD]
[TD]Order Detail[/TD]
[TD]Order ID[/TD]
[/TR]
[TR]
[TD]01/01/2015[/TD]
[TD]John[/TD]
[TD]Eggs[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]02/01/2015[/TD]
[TD]Simon[/TD]
[TD]Beans[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]03/01/2015[/TD]
[TD]Anna[/TD]
[TD]Toast[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]04/01/2015[/TD]
[TD]Sinead[/TD]
[TD]Toast[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]05/01/2015[/TD]
[TD]Andrew[/TD]
[TD]Toast[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]06/01/2015[/TD]
[TD]Caroline[/TD]
[TD]Eggs[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]07/01/2015[/TD]
[TD]Bill[/TD]
[TD]Sausages[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]08/01/2015[/TD]
[TD]Leanne[/TD]
[TD]Mushrooms[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]09/01/2015[/TD]
[TD]Mike[/TD]
[TD]Toast[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]10/01/2015[/TD]
[TD]Sarah[/TD]
[TD]Tea[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]01/02/2015[/TD]
[TD]Nicholas[/TD]
[TD]Sausages[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]02/02/2015[/TD]
[TD]John[/TD]
[TD]Bacon[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]03/02/2015[/TD]
[TD]Mike[/TD]
[TD]Sausages[/TD]
[TD]13[/TD]
[/TR]
[TR]
[TD]04/02/2015[/TD]
[TD]Sinead[/TD]
[TD]Eggs[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]05/02/2015[/TD]
[TD]Leanne[/TD]
[TD]Sausages[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]06/02/2015[/TD]
[TD]Bill[/TD]
[TD]Eggs[/TD]
[TD]16[/TD]
[/TR]
[TR]
[TD]07/02/2015[/TD]
[TD]Simon[/TD]
[TD]Toast[/TD]
[TD]17[/TD]
[/TR]
[TR]
[TD]08/02/2015[/TD]
[TD]John[/TD]
[TD]Eggs[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]09/02/2015[/TD]
[TD]Anna[/TD]
[TD]Sausages[/TD]
[TD]19[/TD]
[/TR]
[TR]
[TD]10/02/2015[/TD]
[TD]Anna[/TD]
[TD]Toast[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]01/03/2015[/TD]
[TD]Mike[/TD]
[TD]Sausages[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]02/03/2015[/TD]
[TD]Sinead[/TD]
[TD]Sausages[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD]03/03/2015[/TD]
[TD]Peter[/TD]
[TD]Eggs[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD]04/03/2015[/TD]
[TD]Gabi[/TD]
[TD][/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]05/03/2015[/TD]
[TD]Mohammed[/TD]
[TD]Sausages[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]06/03/2015[/TD]
[TD]Karen[/TD]
[TD]Toast[/TD]
[TD]26[/TD]
[/TR]
[TR]
[TD]07/03/2015[/TD]
[TD]John[/TD]
[TD]Mushrooms[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD]08/03/2015[/TD]
[TD]Leanne[/TD]
[TD]Mushrooms[/TD]
[TD]28[/TD]
[/TR]
[TR]
[TD]09/03/2015[/TD]
[TD]Peter[/TD]
[TD]Eggs[/TD]
[TD]29[/TD]
[/TR]
</tbody>[/TABLE]
Didn't really need that 3rd column. Anyway.
I have a spreadsheet like this and would like to somehow pull just the last mention of each Customer, so I can see when they last ordered, and display these in another table, which could be called most recent order.
Would it require scripting or can this be done with VLOOKUP or something? I'm going to carry on looking for a solution, but this isn't my area of expertise.
I'm continuing to try and figure this out myself, but am a bit stuck so hoping to be pointed in the right direction.
Am currently looking up how to find unique values, thinking that might be the first step.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Customer[/TD]
[TD]Order Detail[/TD]
[TD]Order ID[/TD]
[/TR]
[TR]
[TD]01/01/2015[/TD]
[TD]John[/TD]
[TD]Eggs[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]02/01/2015[/TD]
[TD]Simon[/TD]
[TD]Beans[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]03/01/2015[/TD]
[TD]Anna[/TD]
[TD]Toast[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]04/01/2015[/TD]
[TD]Sinead[/TD]
[TD]Toast[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]05/01/2015[/TD]
[TD]Andrew[/TD]
[TD]Toast[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]06/01/2015[/TD]
[TD]Caroline[/TD]
[TD]Eggs[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]07/01/2015[/TD]
[TD]Bill[/TD]
[TD]Sausages[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]08/01/2015[/TD]
[TD]Leanne[/TD]
[TD]Mushrooms[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]09/01/2015[/TD]
[TD]Mike[/TD]
[TD]Toast[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]10/01/2015[/TD]
[TD]Sarah[/TD]
[TD]Tea[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]01/02/2015[/TD]
[TD]Nicholas[/TD]
[TD]Sausages[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]02/02/2015[/TD]
[TD]John[/TD]
[TD]Bacon[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]03/02/2015[/TD]
[TD]Mike[/TD]
[TD]Sausages[/TD]
[TD]13[/TD]
[/TR]
[TR]
[TD]04/02/2015[/TD]
[TD]Sinead[/TD]
[TD]Eggs[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]05/02/2015[/TD]
[TD]Leanne[/TD]
[TD]Sausages[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]06/02/2015[/TD]
[TD]Bill[/TD]
[TD]Eggs[/TD]
[TD]16[/TD]
[/TR]
[TR]
[TD]07/02/2015[/TD]
[TD]Simon[/TD]
[TD]Toast[/TD]
[TD]17[/TD]
[/TR]
[TR]
[TD]08/02/2015[/TD]
[TD]John[/TD]
[TD]Eggs[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]09/02/2015[/TD]
[TD]Anna[/TD]
[TD]Sausages[/TD]
[TD]19[/TD]
[/TR]
[TR]
[TD]10/02/2015[/TD]
[TD]Anna[/TD]
[TD]Toast[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]01/03/2015[/TD]
[TD]Mike[/TD]
[TD]Sausages[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]02/03/2015[/TD]
[TD]Sinead[/TD]
[TD]Sausages[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD]03/03/2015[/TD]
[TD]Peter[/TD]
[TD]Eggs[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD]04/03/2015[/TD]
[TD]Gabi[/TD]
[TD][/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]05/03/2015[/TD]
[TD]Mohammed[/TD]
[TD]Sausages[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]06/03/2015[/TD]
[TD]Karen[/TD]
[TD]Toast[/TD]
[TD]26[/TD]
[/TR]
[TR]
[TD]07/03/2015[/TD]
[TD]John[/TD]
[TD]Mushrooms[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD]08/03/2015[/TD]
[TD]Leanne[/TD]
[TD]Mushrooms[/TD]
[TD]28[/TD]
[/TR]
[TR]
[TD]09/03/2015[/TD]
[TD]Peter[/TD]
[TD]Eggs[/TD]
[TD]29[/TD]
[/TR]
</tbody>[/TABLE]
Didn't really need that 3rd column. Anyway.
I have a spreadsheet like this and would like to somehow pull just the last mention of each Customer, so I can see when they last ordered, and display these in another table, which could be called most recent order.
Would it require scripting or can this be done with VLOOKUP or something? I'm going to carry on looking for a solution, but this isn't my area of expertise.
I'm continuing to try and figure this out myself, but am a bit stuck so hoping to be pointed in the right direction.
Am currently looking up how to find unique values, thinking that might be the first step.