I have a bunch of dates with two numbers connected to it. They are not in order and relate to many different items.
I need to be able to output into a different table the next following date and the next two numbers if one or both of the numbers change.
Example: "Current" Data
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Date[/TD]
[TD]# One[/TD]
[TD]# Two[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/4/17[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item002[/TD]
[TD]1/4/18[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/30/17[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/4/19[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Item002[/TD]
[TD]1/4/20[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
For example, currently Item001 is 1 and 1.
In a different table, If # One and/or # Two changed, I need to display it in a table. If either changed, both numbers will be recorded with the date.
In this case, Item001 changed in the # Two column from 1 to 2 so now it should display: 1/4/19 and 1 and 2
2nd Table: "Next" Data
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Next Date[/TD]
[TD]Next # One[/TD]
[TD]Next # Two[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/4/19[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
I am having trouble figuring out what formula to put into each of the three cells (Next Date, Next One, Next Two) that will output even if only one number changes. Sometimes it will result in the next change in both numbers, when I only want the next set.
I was trying to use MAX-IF, but it gives me the highest One and Two, when I just want the next one in order.
I need to be able to output into a different table the next following date and the next two numbers if one or both of the numbers change.
Example: "Current" Data
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Date[/TD]
[TD]# One[/TD]
[TD]# Two[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/4/17[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item002[/TD]
[TD]1/4/18[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/30/17[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/4/19[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Item002[/TD]
[TD]1/4/20[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
</tbody>[/TABLE]
For example, currently Item001 is 1 and 1.
In a different table, If # One and/or # Two changed, I need to display it in a table. If either changed, both numbers will be recorded with the date.
In this case, Item001 changed in the # Two column from 1 to 2 so now it should display: 1/4/19 and 1 and 2
2nd Table: "Next" Data
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Next Date[/TD]
[TD]Next # One[/TD]
[TD]Next # Two[/TD]
[/TR]
[TR]
[TD]Item001[/TD]
[TD]1/4/19[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
I am having trouble figuring out what formula to put into each of the three cells (Next Date, Next One, Next Two) that will output even if only one number changes. Sometimes it will result in the next change in both numbers, when I only want the next set.
I was trying to use MAX-IF, but it gives me the highest One and Two, when I just want the next one in order.