return value two cells left of value

kylefoley76

Well-known Member
Joined
Mar 1, 2010
Messages
1,550
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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Son

Active Member
Joined
Mar 19, 2010
Messages
284
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,022
Messages
5,856,852
Members
431,837
Latest member
megantang

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
Top