return value two cells left of value

kylefoley76

Well-known Member
Joined
Mar 1, 2010
Messages
1,553
I'm trying to go down column a, look for a certain word, let's say 'excel', then return the value in the cell four cells to the right.

My best guest was

=offset(search("excel",a:a),0,4)

But the search function and the find function really aren't built for that.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
let's say you have the following, starting from range A1 with apple, and you need to get the value 8 in range G1, then you type in G1 =INDEX(E:E,MATCH("excel",A:A,0))



apple13s68
orange13s7
excel5678
apple13s9
excel13s10

<tbody>
</tbody>


but be careful, this formula will bring the value which corresponds only to the first appearance of "excel" in column A.
 
Upvote 0

Forum statistics

Threads
1,215,263
Messages
6,123,958
Members
449,135
Latest member
jcschafer209

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top