I have a column in excel that has some data like that:
Basically, what I need in the last column is, IF the extracted letters (no numbers or characters) from row 2 column 1 is equals to the extracted text from any other cell in the column 1, then sell the smaller number in column 2 and hold the higher number in column 2. IF that doesn't happen then just leave it blank.
IF there's 3 different rows that match or more, I only want to sell the smaller number and hold all of the others.
I've spent 2 days trying to figure out a way to do that but still couldn't, so any help and advice would be welcome.
- Alexa 200 Fernandes
- Alexa 210 Fernandes
- Alexa 210 Fernandes Melo
- Google Helpful 235
- Google Helpful 231
- Hello World 234 (5x9)
- Hello World 235 (5x9
Original Text | Numbers | Text that needs to be compared | Output |
Alexa 200 Fernandes | 200 | Alexa Fernandes | Sell |
Alexa 210 Fernandes | 210 | Alexa Fernandes | Hold |
Alexa 210 Fernandes Melo | 210 | Alexa Fernandes Melo | |
Google Helpful 235 | 235 | Google Helpful | Hold |
Google Helpful 231 | 231 | Google Helpful | Sell |
Hello World 234 (5x9) | 234 | Hello World x | Sell |
Hello World 235 (5x9 | 235 | Hello World x | Hold |
Basically, what I need in the last column is, IF the extracted letters (no numbers or characters) from row 2 column 1 is equals to the extracted text from any other cell in the column 1, then sell the smaller number in column 2 and hold the higher number in column 2. IF that doesn't happen then just leave it blank.
IF there's 3 different rows that match or more, I only want to sell the smaller number and hold all of the others.
I've spent 2 days trying to figure out a way to do that but still couldn't, so any help and advice would be welcome.