![]() |
Command: If the contents (text not numerical) of A1 in Sheet2 are.
I'm trying to perform this function - can anyone tell me if it is at all
possible? If the contents (text not numerical) of A1 in Sheet2 are equal to the contents of A1 in the Sheet1 (current) then copy the contents of B1 from Sheet2 to B1 in the current sheet (Sheet1). If they are not the same progress down the A column (Sheet1) until they match - eg. A1 of Sheet2 matches A11 of Sheet 1, then copy from B1 Sheet2 to B11 of Sheet1; go onto A2 of Sheet2. Note: The A column of Sheet1 has all possible matches from A column of Sheet2 Regards, Tom |
In Sheet2!B1 put this formula:
=VLOOKUP(A1,Sheet1!$A$1:$B$500,2,0) Adjust the 500 to the correct number of rows in the list on sheet 1. On Wed, 2 Feb 2005 12:29:06 -0800, "tommy" wrote: I'm trying to perform this function - can anyone tell me if it is at all possible? If the contents (text not numerical) of A1 in Sheet2 are equal to the contents of A1 in the Sheet1 (current) then copy the contents of B1 from Sheet2 to B1 in the current sheet (Sheet1). If they are not the same progress down the A column (Sheet1) until they match - eg. A1 of Sheet2 matches A11 of Sheet 1, then copy from B1 Sheet2 to B11 of Sheet1; go onto A2 of Sheet2. Note: The A column of Sheet1 has all possible matches from A column of Sheet2 Regards, Tom |
All times are GMT +1. The time now is 07:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com