Jewells0905
New Member
- Joined
- Mar 10, 2024
- Messages
- 39
- Office Version
- 365
- Platform
- Windows
- MacOS
I am trying to create an interactive sheet, in Cell G2 the user will enter a person's last name.
I am currently using formula =INDEX(D2:D1314,(MATCH(G2,A2:A1314))) in cell G2, however it is not giving the correct name ex if I search for Alisson, it will pull for 1, which is Allen, not the 1st occurrence of Allison. I believe that I need to use a wildcard, ex G2*, however when I try this as either G2*, or "G2*" it gives an error, stating not found as it's looking for "g2" instead of the last name followed by the first name. Maybe I need to use the ampersand, I'm not sure.
In cell H2, I am currently using =INDEX(D2:D1314,(MATCH(G2,A2:A1314))), but again it is not pulling the correct info as it's going from the 1 position not the 2 position.
- cell H2 will be used look up the first occurrence of this last name in column A, find the gender of the person, and display it. The result should be proper-cased, i.e. either "Male" or "Female".
- In cell I2 I am trying to to lookup the first occurrence of the last name in column A, find whether the person survived, and display "Yes" if that person did survive and "No" otherwise.
Full name | PClass | Age | Gender | Survived | Last name | Gender | Survived? | |
Allen, Miss Elisabeth Walton | 1st | 29 | female | 1 | ||||
Allison, Miss Helen Loraine | 1st | 2 | female | 0 | ||||
Allison, Mr Hudson Joshua Creighton | 1st | 30 | male | 0 | ||||
Allison, Mrs Hudson JC (Bessie Waldo Daniels) | 1st | 25 | female | 0 |
I am currently using formula =INDEX(D2:D1314,(MATCH(G2,A2:A1314))) in cell G2, however it is not giving the correct name ex if I search for Alisson, it will pull for 1, which is Allen, not the 1st occurrence of Allison. I believe that I need to use a wildcard, ex G2*, however when I try this as either G2*, or "G2*" it gives an error, stating not found as it's looking for "g2" instead of the last name followed by the first name. Maybe I need to use the ampersand, I'm not sure.
In cell H2, I am currently using =INDEX(D2:D1314,(MATCH(G2,A2:A1314))), but again it is not pulling the correct info as it's going from the 1 position not the 2 position.