Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Excel Masters,
I think there would be a way to this but i wouldn't know where to begin. I am working in Office 2007 1st off and I have a large customer spread sheet i'm working with. One of the columns is our customer class which is a 2 character field. That 2 character filed (code) is tied to a description. If i have 2 columns next to each other can i have 1st column where i wouuld enter 02 for the code it would fil in the cell in the next column wth a description I set up in a table? i.e 02 Dry Goods Customer (the 'dry goods customer' would auto fill from the 02) Thanks for any help with this, matt |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yes. Use
=VLOOKUP(A1,Table,2,False) with code no. in A1 and lookup range named as Table or =VLOOKUP(A1,sheet2!A:B,2,False) with lookup range in Col A & B on sheet2 "Matt" wrote: Hi Excel Masters, I think there would be a way to this but i wouldn't know where to begin. I am working in Office 2007 1st off and I have a large customer spread sheet i'm working with. One of the columns is our customer class which is a 2 character field. That 2 character filed (code) is tied to a description. If i have 2 columns next to each other can i have 1st column where i wouuld enter 02 for the code it would fil in the cell in the next column wth a description I set up in a table? i.e 02 Dry Goods Customer (the 'dry goods customer' would auto fill from the 02) Thanks for any help with this, matt |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for the response.
This is very new territory for me so I'm actually not really sure where to enter this formula. Do i select the two columns 1st and then type it in the first cell? Do i need to go to formulas tab and select certain formula? I'm still unclear as to where I make the table or sheet2 where the codes will resolve their discription. sorry... just not that experiences in excel. Matt "Sheeloo" wrote: Yes. Use =VLOOKUP(A1,Table,2,False) with code no. in A1 and lookup range named as Table or =VLOOKUP(A1,sheet2!A:B,2,False) with lookup range in Col A & B on sheet2 "Matt" wrote: Hi Excel Masters, I think there would be a way to this but i wouldn't know where to begin. I am working in Office 2007 1st off and I have a large customer spread sheet i'm working with. One of the columns is our customer class which is a 2 character field. That 2 character filed (code) is tied to a description. If i have 2 columns next to each other can i have 1st column where i wouuld enter 02 for the code it would fil in the cell in the next column wth a description I set up in a table? i.e 02 Dry Goods Customer (the 'dry goods customer' would auto fill from the 02) Thanks for any help with this, matt |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In Sheet2 Col A enter all the codes you have... Col B enter the corresponding
description for each code. Now in A1 of Sheet1 enter any code in B1 of Sheet1 enter the formula =VLOOKUP(A1,sheet2!A:B,2,False) You will get the description for A1 in B1 of Sheet1 You can copy the formula in B1 down the column so that you can enter the code in A1 When A1 is blank you will get #N/A error. To avoid that use this in B1 instead of the above formula =IF(ISNA(VLOOKUP(A1,sheet2!A:B,2,False)),"",VLOOKU P(A1,sheet2!A:B,2,False)) "Matt" wrote: Thanks for the response. This is very new territory for me so I'm actually not really sure where to enter this formula. Do i select the two columns 1st and then type it in the first cell? Do i need to go to formulas tab and select certain formula? I'm still unclear as to where I make the table or sheet2 where the codes will resolve their discription. sorry... just not that experiences in excel. Matt "Sheeloo" wrote: Yes. Use =VLOOKUP(A1,Table,2,False) with code no. in A1 and lookup range named as Table or =VLOOKUP(A1,sheet2!A:B,2,False) with lookup range in Col A & B on sheet2 "Matt" wrote: Hi Excel Masters, I think there would be a way to this but i wouldn't know where to begin. I am working in Office 2007 1st off and I have a large customer spread sheet i'm working with. One of the columns is our customer class which is a 2 character field. That 2 character filed (code) is tied to a description. If i have 2 columns next to each other can i have 1st column where i wouuld enter 02 for the code it would fil in the cell in the next column wth a description I set up in a table? i.e 02 Dry Goods Customer (the 'dry goods customer' would auto fill from the 02) Thanks for any help with this, matt |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sheeloo,
Thank You so much, it worked perfectly!!! Matt "Sheeloo" wrote: In Sheet2 Col A enter all the codes you have... Col B enter the corresponding description for each code. Now in A1 of Sheet1 enter any code in B1 of Sheet1 enter the formula =VLOOKUP(A1,sheet2!A:B,2,False) You will get the description for A1 in B1 of Sheet1 You can copy the formula in B1 down the column so that you can enter the code in A1 When A1 is blank you will get #N/A error. To avoid that use this in B1 instead of the above formula =IF(ISNA(VLOOKUP(A1,sheet2!A:B,2,False)),"",VLOOKU P(A1,sheet2!A:B,2,False)) "Matt" wrote: Thanks for the response. This is very new territory for me so I'm actually not really sure where to enter this formula. Do i select the two columns 1st and then type it in the first cell? Do i need to go to formulas tab and select certain formula? I'm still unclear as to where I make the table or sheet2 where the codes will resolve their discription. sorry... just not that experiences in excel. Matt "Sheeloo" wrote: Yes. Use =VLOOKUP(A1,Table,2,False) with code no. in A1 and lookup range named as Table or =VLOOKUP(A1,sheet2!A:B,2,False) with lookup range in Col A & B on sheet2 "Matt" wrote: Hi Excel Masters, I think there would be a way to this but i wouldn't know where to begin. I am working in Office 2007 1st off and I have a large customer spread sheet i'm working with. One of the columns is our customer class which is a 2 character field. That 2 character filed (code) is tied to a description. If i have 2 columns next to each other can i have 1st column where i wouuld enter 02 for the code it would fil in the cell in the next column wth a description I set up in a table? i.e 02 Dry Goods Customer (the 'dry goods customer' would auto fill from the 02) Thanks for any help with this, matt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automating to autofill column B based on column A entry | Excel Discussion (Misc queries) | |||
How do I autofill data in a column? | Excel Discussion (Misc queries) | |||
Autofill column header to the last column | Excel Worksheet Functions | |||
How to set the autofill options in a column of a input data table | Excel Discussion (Misc queries) | |||
Autofill Column D based on input in Column C | Excel Discussion (Misc queries) |