#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default VLOOKUP???

I have sheet 2 with 496 rows of information, each row contains a row for
material number(cells A1:A496), description(cells B1:B496), and a UOM(cells
C1:C496). I want to be able to type in the material number in cell A1 on
sheet1 and populate cell B1 and C1 with the correct information that relates
to that material number.


Sheet2
MATERIAL DESCRIPTION UOM
200209 Closure PP Unlined SC Red 28mm 6.2g TH
200210 CAPS GEN 24OZ PET SPT CAP BLUE TH
200226 WRAP OZ 8OZ 8PK FILM EA
200243 Film LDPE ICMT Spr 6x0.5L 11.25in 2mil EA
200258 Film LDPE ZPHRL Spr 12x0.5L 30in 2.5mil EA
200259 HANDLE GEN EA


Sheet1

A1 B1
C1

Material Number(I will type this information) Description
UOM

202209 Closure PP Unlined SC Red 28mm 6.2g
TH
(THESE TWO CELLS SHOULD POPOLATE ON THEIR OWN)


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default VLOOKUP???

B1: =VLOOKUP(A1,Sheet2!$A$1:$C$496,2,0) will return Description


C1: =VLOOKUP(A1,Sheet2!$A$1:$C$496,3,0) will return UOM

If errors could occur:

=IF(ISNA(VLOOKUP(A1,Sheet2!$A$1:$C$496,2,0)),"",VL OOKUP(A1,Sheet2!$A$1:$C$496,2,0))

will return blank if no match on material number

HTH

"BAKERSMAN" wrote:

I have sheet 2 with 496 rows of information, each row contains a row for
material number(cells A1:A496), description(cells B1:B496), and a UOM(cells
C1:C496). I want to be able to type in the material number in cell A1 on
sheet1 and populate cell B1 and C1 with the correct information that relates
to that material number.


Sheet2
MATERIAL DESCRIPTION UOM
200209 Closure PP Unlined SC Red 28mm 6.2g TH
200210 CAPS GEN 24OZ PET SPT CAP BLUE TH
200226 WRAP OZ 8OZ 8PK FILM EA
200243 Film LDPE ICMT Spr 6x0.5L 11.25in 2mil EA
200258 Film LDPE ZPHRL Spr 12x0.5L 30in 2.5mil EA
200259 HANDLE GEN EA


Sheet1

A1 B1
C1

Material Number(I will type this information) Description
UOM

202209 Closure PP Unlined SC Red 28mm 6.2g
TH
(THESE TWO CELLS SHOULD POPOLATE ON THEIR OWN)


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default VLOOKUP???

Another way. Select cells B1 & C1 and enter this formula while both cells
are selected. The Hit Ctrl+Shift+Enter. You will get these brackets around
the formula...{ }.

=IF(ISNA(VLOOKUP(A1,F1:H4,{2,3},0)),"",VLOOKUP(A1, F1:H4,{2,3},0))

If you need to change the formula sometime along the way during use you MUST
select both B1 & C1 to make changes and the again use C+S+E to commit the
formula.

If your data to return expands you can just expand the columns to return.
In this case you would select B1 through F1 and enter this formula same as
above.

=IF(ISNA(VLOOKUP(A1,F1:H4,{2,3,4,5,6},0)),"",VLOOK UP(A1,F1:H4,{2,3,4,5,6},0))

HTH
Regards,
Howard

"BAKERSMAN" wrote in message
...
I have sheet 2 with 496 rows of information, each row contains a row for
material number(cells A1:A496), description(cells B1:B496), and a
UOM(cells
C1:C496). I want to be able to type in the material number in cell A1 on
sheet1 and populate cell B1 and C1 with the correct information that
relates
to that material number.


Sheet2
MATERIAL DESCRIPTION UOM
200209 Closure PP Unlined SC Red 28mm 6.2g TH
200210 CAPS GEN 24OZ PET SPT CAP BLUE TH
200226 WRAP OZ 8OZ 8PK FILM EA
200243 Film LDPE ICMT Spr 6x0.5L 11.25in 2mil EA
200258 Film LDPE ZPHRL Spr 12x0.5L 30in 2.5mil EA
200259 HANDLE GEN EA


Sheet1

A1 B1
C1

Material Number(I will type this information) Description
UOM

202209 Closure PP Unlined SC Red 28mm 6.2g
TH
(THESE TWO CELLS SHOULD POPOLATE ON THEIR
OWN)




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
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? bchilt Excel Worksheet Functions 6 January 20th 06 09:21 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 09:10 AM.

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

About Us

"It's about Microsoft Excel"