Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 516
Default Autofill column from data (code) in column next to it

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Autofill column from data (code) in column next to it

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 516
Default Autofill column from data (code) in column next to it

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Autofill column from data (code) in column next to it

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 516
Default Autofill column from data (code) in column next to it

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating to autofill column B based on column A entry GirlFridayCA Excel Discussion (Misc queries) 2 December 2nd 08 10:46 PM
How do I autofill data in a column? jimmiller17 Excel Discussion (Misc queries) 2 February 12th 08 11:05 AM
Autofill column header to the last column Megadrone Excel Worksheet Functions 0 November 30th 06 09:18 PM
How to set the autofill options in a column of a input data table JKB Excel Discussion (Misc queries) 1 July 16th 05 03:39 PM
Autofill Column D based on input in Column C Helen McClaine Excel Discussion (Misc queries) 1 April 5th 05 09:11 PM


All times are GMT +1. The time now is 08:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"