tonylpcs@yahoo.co.uk
Active Member
- Joined
- Dec 19, 2007
- Messages
- 379
Hi Everyone,
Ive been trying to work this out but keep geting stuck, hope someone can help me.
I have a spreadsheet and colum A hold a list of clients names, with each row holding a different name, I need a formular or code that can doe the following.
Look at the name in colum A lets say cell A1, and see if it matches any of the names in colum C on any row, if it does then i need it to put a unique number in colum b next to the name it looked at i.e. if it checking A1 then the number goes in B1, then put the same number in the colum D next to the cell in colum C it matched! i.e. if A1 and C200 have the same name in it the B1 will have a number in it e.g. "1" and D200 will have the same number in it e.g "1".
now i also need it to reconise if the D cell aready has a number in it and if so use that number.
again for example there might be 4 rows with the same name in them, well i need the all to have the same number!
can anyone help please?
Thanks in advance
Tony
Ive been trying to work this out but keep geting stuck, hope someone can help me.
I have a spreadsheet and colum A hold a list of clients names, with each row holding a different name, I need a formular or code that can doe the following.
Look at the name in colum A lets say cell A1, and see if it matches any of the names in colum C on any row, if it does then i need it to put a unique number in colum b next to the name it looked at i.e. if it checking A1 then the number goes in B1, then put the same number in the colum D next to the cell in colum C it matched! i.e. if A1 and C200 have the same name in it the B1 will have a number in it e.g. "1" and D200 will have the same number in it e.g "1".
now i also need it to reconise if the D cell aready has a number in it and if so use that number.
again for example there might be 4 rows with the same name in them, well i need the all to have the same number!
can anyone help please?
Thanks in advance
Tony