Find a key word then use that to check down a column

TailsFails1979

New Member
Joined
Aug 20, 2019
Messages
4
Howdy,

Hopefully an easy one.

See the attached data sheet.

What i am trying to do is in Column F Starting at F3 i want a formula that can do the following

1. Find the word Pineapples
2. Look down the Pineapples Column and if there is a 1 return 'Yes' or a 0 return 'No'

That is the easy bit, however Column A-D is a pivot table and there is a possibility that Pineapples moves from Column D to Column C, so it needs to be flexible enough to first of all find Pineapples, then go down in that column and complete the Yes or No part of the formula.

Lastly - if the formula is flexible enough - i will also put in Column G the same formula but search for Peaches, and so on

Any help is appreciated
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
PIVOT Table
1ABCDEF
2ApplesBananasPeachesPineapplesFormula
31001Yes
40100No
51111Yes
60101Yes
71100No
80001Yes
91110No
100011Yes
111011Yes
120000No
130011Yes
140010No
150101Yes
16
0101Yes

<tbody>
</tbody>
 
Upvote 0
Welcome to the MrExcel board!

Like this - copied across and down?

Excel Workbook
ABCDEFGHI
1ApplesBananasPeachesPineapplesPineapplesBananasPeachesApples
21001YesNoNoYes
30100NoYesNoNo
41111YesYesYesYes
50101YesYesNoNo
61100NoYesNoYes
70001YesNoNoNo
81110NoYesYesYes
90011YesNoYesNo
101011YesNoYesYes
110000NoNoNoNo
120011YesNoYesNo
130010NoNoYesNo
140101YesYesNoNo
150101YesYesNoNo
Yes No
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,576
Members
448,972
Latest member
Shantanu2024

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