Partslookup.xls | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Make | year | Model | Part 1 | Part2 | notes | ||
2 | toyota | 2005 | camary | 1909 | 3003 | 4cly | ||
3 | toyota | 2005 | camary | 1216 | 3216 | 1.3 | ||
4 | honda | 2004 | accord | 1318 | 4544 | 4cly | ||
5 | toyota | 2004 | camary | 1494 | 4899 | 1.6 | ||
6 | lexus | 2003 | ex300 | 2303 | 4557 | 6cly | ||
7 | cheverolet | 2001 | ck series | 1693 | 4553 | v8 | ||
8 | honda | 2001 | civic | 1419 | 4689 | 1.4 | ||
Data |
EssKayKay said:Kris,
Is it possible to move all data down one row(i.e., start on row 2 vs. 1)? I'd like column headings in row 1. I've been playing with it but continue to receive errors. This info is actually coming from an Access table. The spreadsheet will be linked to the DB.
Not being much of a programmer leaves me helpless.
Thanks,
SKK
Krishnakumar said:Try,
Formula in D1 and copy down,
=IF(ROWS($1:1)<=COUNTIF($A$1:$A$5,$C$1),INDEX($B$1:$B$5,SMALL(IF($A$1:$A$5=$C$1,ROW($B$1:$B$5)),ROWS($1:1))),"")
Is there way if 2 words do match then just grab the first text.
either VLOOKUP or INDEX/MATCH
HTH
Sample1.xls | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | 5/4/2005 | Dog | 5/5/2005 | cat | |||
2 | 5/5/2005 | cat | Moues | ||||
3 | 5/5/2005 | Moues | Cow | ||||
4 | 5/4/2005 | Pig | |||||
5 | 5/5/2005 | Cow | |||||
6 | 5/4/2005 | ||||||
7 | |||||||
8 | |||||||
Sheet1 |
Book5 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | 5/4/2005 | Dog | 5/5/2005 | 5/4/2005 | |||
2 | 5/5/2005 | cat | cat | Dog | |||
3 | 5/5/2005 | Moues | Moues | Pig | |||
4 | 5/4/2005 | Pig | Cow | ||||
5 | 5/5/2005 | Cow | |||||
Sheet1 |