Hi All
Ok so I've asked for help a few times on here, and in some cases found the answer from here after being pointed in the right direction.
I am after creating a macro / writing vba code to do the following check.
I have the following column headers on a sheet
<tbody>
</tbody>Now the first 3 rows are generated fine - there is no need to check these as they come from a main database source.
the location is a variable - however again it doesn't need checking
The Last Column QTY is a count as you may of guessed - and this will change row to row so its fine
The ones that need checking at Batch Code and Expiry Date (If Applicable)
I need to create a check code to go through the whole list and find were we have the same batch code and differing expiry dates
For example a
Batch code = 12345
Expiry dates = 01/02/2016 and 02/02/2016
Each batch should have the same date.
I then want to pull out / format in a colour the rows that need checking because of these differences.
I was going to do a countifs were a batch code, and date match - how ever because of the differing locations we could have different locations with the same batch and date.
I was also going to count how many times a batch code+date appear, however again, we could only have 1 batch of this product
Can something be coded to handle this or should I do series of count columns with a final column that if they all equeal the same number then its right, if not its false?
Ok so I've asked for help a few times on here, and in some cases found the answer from here after being pointed in the right direction.
I am after creating a macro / writing vba code to do the following check.
I have the following column headers on a sheet
<colgroup><col><col><col><col><col><col><col></colgroup><tbody> </tbody> | |||||||
<tbody>
</tbody>
the location is a variable - however again it doesn't need checking
The Last Column QTY is a count as you may of guessed - and this will change row to row so its fine
The ones that need checking at Batch Code and Expiry Date (If Applicable)
I need to create a check code to go through the whole list and find were we have the same batch code and differing expiry dates
For example a
Batch code = 12345
Expiry dates = 01/02/2016 and 02/02/2016
Each batch should have the same date.
I then want to pull out / format in a colour the rows that need checking because of these differences.
I was going to do a countifs were a batch code, and date match - how ever because of the differing locations we could have different locations with the same batch and date.
I was also going to count how many times a batch code+date appear, however again, we could only have 1 batch of this product
Can something be coded to handle this or should I do series of count columns with a final column that if they all equeal the same number then its right, if not its false?