Eurekaonide
Active Member
- Joined
- Feb 1, 2010
- Messages
- 422
Hi All
I'm looking for some code that will enable me to loop through until the end of the data range as not sure how long it will be,
but that looks in column A (cell A2) at a Unique ref and then matches this to whatever the cell is wthin Sheet 2 (will alsoways be Column A in Sheet 2 but not necessarily the same row as Sheet 1).
and if an exact match is found colour the cell in Sheet 1 C2 Yellow. I then need it to do like a VLOOKUP using the reference in A2 sheet 1 finding it in Sheet 2 but checking if the contents in column B matches and colouring the cell in Sheet 1 if it does - and so on to column I.
Ive tried using an If and VLOOKUP formula in a conditional formula which seems to work except for the text as some is numbers and some is text within these cells.
Any Ideas?
It kind of looks like this;
Sheet 1
A B C D E ....
1234 First line of text 0 10/10/2019 10/10/2019
2345 second line of text 2 01/02/2019 02/02/2019
Sheet 2
5678 third line of text 9 01/01/2018 01/01/2018
1234 First line of text 0 10/10/2019 11/10/2019
2345 second line of text 1 01/02/2019 02/02/2019
and so on ....
I'm looking for some code that will enable me to loop through until the end of the data range as not sure how long it will be,
but that looks in column A (cell A2) at a Unique ref and then matches this to whatever the cell is wthin Sheet 2 (will alsoways be Column A in Sheet 2 but not necessarily the same row as Sheet 1).
and if an exact match is found colour the cell in Sheet 1 C2 Yellow. I then need it to do like a VLOOKUP using the reference in A2 sheet 1 finding it in Sheet 2 but checking if the contents in column B matches and colouring the cell in Sheet 1 if it does - and so on to column I.
Ive tried using an If and VLOOKUP formula in a conditional formula which seems to work except for the text as some is numbers and some is text within these cells.
Any Ideas?
It kind of looks like this;
Sheet 1
A B C D E ....
1234 First line of text 0 10/10/2019 10/10/2019
2345 second line of text 2 01/02/2019 02/02/2019
Sheet 2
5678 third line of text 9 01/01/2018 01/01/2018
1234 First line of text 0 10/10/2019 11/10/2019
2345 second line of text 1 01/02/2019 02/02/2019
and so on ....