If Certain Text contained in Cell F1, return value from Cell A1

jeannerunning

New Member
Joined
Aug 28, 2014
Messages
3
I have been spending way too long trying to figure this out. Hopefully you can help!

I Want to look at the data from Sheet 1, and if so, output the data to sheet 2. Specifically,

If Sheet 1 Column F1 contains the words 'Top 30,' then output the value from Sheet 1 Column A1 to Sheet 2 Column A1.

Example of values in F:

Q3 14: Opt
Q3 14: Top 30
Q3 14: Top 30
Q3 14: Deals
Q3 14: Top 30

<colgroup><col style="width: 250px"></colgroup><tbody>
</tbody>

AND ideally, i also want

If Sheet 1 Column F1 does NOT contain the words 'Top 30,' then filter out this row and do not input any value into Sheet 2.

SO, i would like this to look as follows...

Sheet 1: Column A1 = 1234, Sheet 1: Column F1= Q3 14: Opt Q3 14: Top 30, Sheet 2 Column A1 = 1234

What would be the formula i would use? and then i plan to drag this down.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
From what I understand what you are saying, put the below in Sheet 2 A1

Code:
=IF(Sheet1!$F$1=TRIM("Top 30"),Sheet1!$A$1,"")

You might need to change the sheet names, but should be good otherwise. FYI, all the trim funciton is doing is making sure it still catches the string if there is an extraneous space ("Top 30 " v "Top 30")
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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