Sample Data
A list of fruit names in cells A1 to A5. Cell B1 contains the fruit name to find in the list.
| Cell | Value |
|---|---|
| A1 | Apple |
| A2 | Banana |
| A3 | Cherry |
| A4 | Date |
| A5 | Elderberry |
| B1 | Banana |
A list of fruit names in cells A1 to A5. Cell B1 contains the fruit name to find in the list.
| Cell | Value |
|---|---|
| A1 | Apple |
| A2 | Banana |
| A3 | Cherry |
| A4 | Date |
| A5 | Elderberry |
| B1 | Banana |
=MATCH(B1, A1:A5, 0)A B 1 | Apple | Banana | 2 | Banana | | 3 | Cherry | | 4 | Date | | 5 | Elderberry| |
A B C 1 | Apple | Banana | 2 | 2 | Banana | | | 3 | Cherry | | | 4 | Date | | | 5 | Elderberry| | |