This example uses 3 as the Column_Index column C. Here we have used the MID formula in excel MIDB171SEARCH B171. The formula uses the value Mary in cell E2 and finds Mary in the left-most column column A.
The Microsoft Excel FIND function returns the location of a substring in a string.
It also has tons of code examples of Find you can use right now. Formula to Find Function in Excel VBA In regular excel worksheet we simply type shortcut key Ctrl F to find the contents. Because Mary is in row 4 VLOOKUP returns the value from row 4 in column C 22. Click the insert function button fx under the formula toolbar a dialog box will appear type the keyword REPLACE in the search for a function box REPLACE function will appear in select a function box.