Trying to have excel scan down a column of dates and insert a value that corresponds to a changing date. As the column is scanned if there are duplicates a value of 2 would be entered in the cell adjacent to the bottom most duplicate cell leaving the the remaining adjacent cells blank. If there is not a duplicate value above then a 1 would be entered in the adjacent cell. Have tried many formulas with no success. Below is an example of the result I am looking for utilizing a snapshot of my data:
[TABLE="width: 158"]
<tbody>[TR]
[TD]2/24/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/24/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3/31/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3/31/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]4/29/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4/29/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]4/30/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5/29/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5/29/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]6/27/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6/27/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7/29/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/29/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]8/28/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8/28/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]9/18/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9/18/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/13/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10/13/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]11/9/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11/9/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]2/13/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]3/13/2015[/TD]
[TD]1[/TD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TD]
[/TR]
[TR]
[TD]10/14/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]11/9/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]12/4/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2/20/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/20/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3/7/2015[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Any and all help would be greatly appreciated!!!
[TABLE="width: 158"]
<tbody>[TR]
[TD]2/24/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/24/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3/31/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3/31/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]4/29/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4/29/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]4/30/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5/29/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5/29/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]6/27/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6/27/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7/29/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/29/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]8/28/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8/28/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]9/18/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9/18/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]10/13/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10/13/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]11/9/2015[/TD]
[TD][/TD]
[/TR]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R]
[TR]
[TD]7/11/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]8/11/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]9/13/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]10/14/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]11/9/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]12/4/2015[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2/20/2015[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/20/2015[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3/7/2015[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
Any and all help would be greatly appreciated!!!