# Excel- Find a particular word in column and edit cell

September 2015

A formula can be used to find a particular word in a column. Logical operations such as finding particular data in the cells of an Excel Worksheet can be done using the logical operators provided by the Excel office software. The SEARCH operator in Excel is used to find or make a search in Excel. If data in cells have to be compared, the ISERROR operator may be used. Nested loops with the IF logical operator can also be implemented to seek out a particular word in a column in an Excel Worksheet.

# Excel- Find a particular word in column and edit cell

## Issue

I'd like to scan a column for a certain word (e.g. "apple") and put a code (e.g. "A") in the cell next to it, each time the word is found.

## Solution

Suppose your data is from A1 to A100 or onwards, then in B1 copy this formula and drag it down:
`IF(ISERROR(SEARCH("*apple*",A1,1)),"","A ") F(ISERROR(SEARCH("*orange*",A1,1)),IF(ISERROR(SEARCH("*grapes*",A1,1)),"","C"),"B"),"A")`

## Note that

Thanks mubashir aziz for this tip on the forum.