Find a value in a cell and return another value in a differant cel
I have a list in column A and another list in column B:
A B Eagle EAG Lonely LNY Bradys BRY The list in column A is 35 names long. The list in column B is also 35 names long. Cell C1 contains a validation dropdown box which is the list in column A. If "Eagle" is selected and put into cell C1, "EAG " should automaticly be put into cell C2; if "Lonely" is selected and put into cell C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each contain 35 entries the "IF" function will not work since "IF" can only contain 7 statements. Any ideas |
Find a value in a cell and return another value in a differant cel
In C2, use the vlookup function to find the corresponding entry from column
B: =vlookup(c1,a:b,2,false). "Lew" wrote: I have a list in column A and another list in column B: A B Eagle EAG Lonely LNY Bradys BRY The list in column A is 35 names long. The list in column B is also 35 names long. Cell C1 contains a validation dropdown box which is the list in column A. If "Eagle" is selected and put into cell C1, "EAG " should automaticly be put into cell C2; if "Lonely" is selected and put into cell C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each contain 35 entries the "IF" function will not work since "IF" can only contain 7 statements. Any ideas |
Find a value in a cell and return another value in a differant
Thanks, works great
"bpeltzer" wrote: In C2, use the vlookup function to find the corresponding entry from column B: =vlookup(c1,a:b,2,false). "Lew" wrote: I have a list in column A and another list in column B: A B Eagle EAG Lonely LNY Bradys BRY The list in column A is 35 names long. The list in column B is also 35 names long. Cell C1 contains a validation dropdown box which is the list in column A. If "Eagle" is selected and put into cell C1, "EAG " should automaticly be put into cell C2; if "Lonely" is selected and put into cell C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each contain 35 entries the "IF" function will not work since "IF" can only contain 7 statements. Any ideas |
All times are GMT +1. The time now is 06:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com