Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? | Excel Worksheet Functions | |||
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |