jeremypyle
Board Regular
- Joined
- May 30, 2011
- Messages
- 174
If column A contains a word such as "banana" then grab first instance of it and place it in column C
cell a1-house
cell a2-banana
cell a3-banana
cell a4-rat
cell a5-rat
cell a6-rat
cell b1-17
cell b2-3
cell b3-5
cell b4-9
cell b5-1
cell b6-2
I want cell c1 to say this:
If range a1:a6 contains "banana", then select cell to right of first instance of banana and place that in c1.
To the right of the first instance of banana is b2 which is 3. So in cell c1 would be entered the number "3"
In c2, I want it to grab the number to the right of the second instance of the word banana which is 5.
This is a reasonably complex formula. If you could help, I would much appreciate.
cell a1-house
cell a2-banana
cell a3-banana
cell a4-rat
cell a5-rat
cell a6-rat
cell b1-17
cell b2-3
cell b3-5
cell b4-9
cell b5-1
cell b6-2
I want cell c1 to say this:
If range a1:a6 contains "banana", then select cell to right of first instance of banana and place that in c1.
To the right of the first instance of banana is b2 which is 3. So in cell c1 would be entered the number "3"
In c2, I want it to grab the number to the right of the second instance of the word banana which is 5.
This is a reasonably complex formula. If you could help, I would much appreciate.