Hello Excel-experts,
i need some help because this problem is too tricky for me. First my Data. In Sheet("table1") I have the following data:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Number
[/TD]
[TD]Position
[/TD]
[TD]Date-WE
[/TD]
[TD]Date-XY
[/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]10
[/TD]
[TD]10.10.2014
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]10
[/TD]
[TD]12.10.2014
[/TD]
[TD]24.11.2014
[/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]20
[/TD]
[TD]09.10.2014
[/TD]
[TD]25.12.2014
[/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]08.10.2014
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]04.09.2014
[/TD]
[TD]26.11.2014
[/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]08.10.2014
[/TD]
[TD]28.12.2014
[/TD]
[/TR]
[TR]
[TD]10012
[/TD]
[TD]20
[/TD]
[TD]10.10.2014
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the Sheets("table2") I already evaluated how often the number (column A) with it's (Position) is written in Sheets("table1").
It's looking like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Number
[/TD]
[TD]Position
[/TD]
[TD]#Quantity
[/TD]
[TD]Earliest WE-Date
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]10
[/TD]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]20
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]3
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10012
[/TD]
[TD]20
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Now my problem is to evaluate the earliest WE-Date. I Need to check Sheets("table2).(A2:B2) (Number 10010 and Position 10) in Sheets("table1") and write the earliest date into Sheets("table2").C2. In this case the earliest date is 10.10.2014. Then jump to the next one (A3:B3) and so on until the last one!
I appreciate every help I can get, as this is quite the task for me.
Thank you guys!
i need some help because this problem is too tricky for me. First my Data. In Sheet("table1") I have the following data:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Number
[/TD]
[TD]Position
[/TD]
[TD]Date-WE
[/TD]
[TD]Date-XY
[/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]10
[/TD]
[TD]10.10.2014
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]10
[/TD]
[TD]12.10.2014
[/TD]
[TD]24.11.2014
[/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]20
[/TD]
[TD]09.10.2014
[/TD]
[TD]25.12.2014
[/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]08.10.2014
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]04.09.2014
[/TD]
[TD]26.11.2014
[/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]08.10.2014
[/TD]
[TD]28.12.2014
[/TD]
[/TR]
[TR]
[TD]10012
[/TD]
[TD]20
[/TD]
[TD]10.10.2014
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the Sheets("table2") I already evaluated how often the number (column A) with it's (Position) is written in Sheets("table1").
It's looking like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Number
[/TD]
[TD]Position
[/TD]
[TD]#Quantity
[/TD]
[TD]Earliest WE-Date
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]10
[/TD]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10010
[/TD]
[TD]20
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10011
[/TD]
[TD]10
[/TD]
[TD]3
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10012
[/TD]
[TD]20
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Now my problem is to evaluate the earliest WE-Date. I Need to check Sheets("table2).(A2:B2) (Number 10010 and Position 10) in Sheets("table1") and write the earliest date into Sheets("table2").C2. In this case the earliest date is 10.10.2014. Then jump to the next one (A3:B3) and so on until the last one!
I appreciate every help I can get, as this is quite the task for me.
Thank you guys!