hi guys,
I am struggeling with this which I hope you can help...
I have a work sheet called 'Cross Ref data' which I want to put a keyword in column A (row 1,2,3,4,5,6,7,8 etc)
I then want to be able to run a macro that will grab the contents of A1 in WS called 'Cross Ref data' and check if it appears in column D and E in WS 'Results'
If there is a match then for the entire line within WS 'Results' be copied to a WS that already exists called "Cross Ref Results" (please see the below heading '88888***********8888' for the layout)
If a match appears in both column D and E in the WS 'Results' then only for 1 of the line items to be copied not both (... i do have remove duplicate macro though that does this but it is a bit dirty).
88888***********8888
Also, this will make it the best..
If a match is found for there to be a heading in the "Cross Ref Results" work sheet titled "Found in both" and for the match to upper below.
If there is not a match for there to be a heading "only appears in your data"
If for example 10 names are entered in the 'Cross Ref data' WS though there 12 names in the 'Results' WS in column D then the 2 line items can appear under a heading "only appears in XXX"
The 3 above said heading can be pre populated in the 'Cross Ref data' WS if that makes it easier...
Thanks soooooo much guys, If this works then i will be over the moon, i hope it can be done.
thanks
Bookmarks