Hello,
I have two sheets:
Sheet 1 contains data I need to process:
Sheet 2 is a database of values:
I need to populate empty cells in Sheet 1 with matching values from Sheet 2 so that final result looks like this:
I have tried this formula:
but it only works for cells with plural values, not singular:
What would be the best way to achieve this? (Please note that it's important to use the partial match - apple should match apple & apples).
Thanks!
I have two sheets:
Sheet 1 contains data I need to process:
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Size | Fruit | |||
2 | big apples | ||||
3 | small oranges | ||||
4 | medium pears | ||||
5 | huge watermelons | ||||
6 | big apple | ||||
7 | small orange | ||||
8 | medium pear | ||||
9 | huge watermelon | ||||
Sheet1 |
Sheet 2 is a database of values:
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | Size | Fruit | ||
2 | big | apple | ||
3 | small | orange | ||
4 | medium | pear | ||
5 | huge | watermelon | ||
Sheet2 |
I need to populate empty cells in Sheet 1 with matching values from Sheet 2 so that final result looks like this:
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Size | Fruit | |||
2 | big apples | big | apple | ||
3 | small oranges | small | orange | ||
4 | medium pears | medium | pear | ||
5 | huge watermelons | huge | watermelon | ||
6 | big apple | big | apple | ||
7 | small orange | small | orange | ||
8 | medium pear | medium | pear | ||
9 | huge watermelon | huge | watermelon | ||
Sheet1 |
I have tried this formula:
Excel Formula:
=IF(ISNUMBER(SEARCH(Sheet2!A:A, $A2)),Sheet2!A:A,"")
but it only works for cells with plural values, not singular:
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Size | Fruit | |||
2 | big apples | big | apple | ||
3 | small oranges | small | orange | ||
4 | medium pears | medium | pear | ||
5 | huge watermelons | huge | watermelon | ||
6 | big apple | 0 | 0 | ||
7 | small orange | 0 | 0 | ||
8 | medium pear | 0 | 0 | ||
9 | huge watermelon | 0 | 0 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:C9 | B2 | =IF(ISNUMBER(SEARCH(Sheet2!A:A, $A2)),Sheet2!A:A,"") |
What would be the best way to achieve this? (Please note that it's important to use the partial match - apple should match apple & apples).
Thanks!