Data Sorting

Jayden

Board Regular
Joined
Mar 28, 2003
Messages
141
Hello,

Here is my question I have not been using excel for a few years but I am back and need to have a memory refresh

here is my delema

I have a excel spread sheet with 2 pages and on the first is where i want the data to populated, sheet1 has 2 columns. The first is blank and the second list a username the first is where i want the data i need entered

on the second sheet is a imported txt file broken down into columns and i am only concerned with the first 2

here is how i want it to work

sheet 1

column 1 column 2
??? username
??? username1

Sheet 2

column 1 column 2
testing username
testing username1
under username2

I want the code to look into sheet 2 in column 2 to find the username but if column 1 does not have the word testing then i do not want it to show
and if the word testing is there I will then want the code to display a "Yes"
In column 1 on sheet 1

any help would be great

Thank you
 
sorry close but not really. it needs to find both if the word testing and the username are there then put yes but if there is a down directly below the username then put a blank

it has 2 things that it needs to check for first if there is a "testing" to the left and then for a "down" below

if there is both a testing and a down then there should be a blank displayed
but if there is just a "testing" then it should have a yes displayed
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,215,220
Messages
6,123,694
Members
449,117
Latest member
Aaagu

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