2

I need a formula that will look for a specific text in a cell that is also referenced on another sheet and input the value next to it. Kind of like a vlookup but with an if statement. "if text contains value in this other cell, put the corresponding value"

EXAMPLE

fixer1234
  • 27,486
Tiffany
  • 21

2 Answers2

0

Try this formula:

=IFERROR(LOOKUP(1,0/FIND($A$2:$A$5,E2),$B$2:$B$5),"")

enter image description here

Lee
  • 2,963
-1

You can try this Formula also:

=INDEX(Sheet1!$B$2:$B$5, SMALL(IF(ISNUMBER(SEARCH($A2, Sheet1!$A$2:$A$5)), MATCH(ROW(Sheet1!$A$2:$A$5), ROW(Sheet1!$A$2:$A$5))), ROWS($A$1:A$1)))

enter image description here

Note,

  • Write this Formula in Cell B2 of Sheet 2 & fill it Down.
  • You can adjust Sheet name & Cell references in the formula as needed.
Rajesh Sinha
  • 9,218
  • 6
  • 17
  • 37