Solved

Excel match text in a column

Posted on 2013-05-15
10
240 Views
Last Modified: 2013-05-15
I have four columns, A=Name, B=Type, C=Unit, D=Email Address

I need a tab that shows A,B,C,D columns based on D being blank (no email address in the column)

I need a tab that shows A,B,C,D columns based on D having an email address that ends in @us.army.mil

I need a tab that shows A,B,C,D columns based on D having an email address that ends in @mail.mil
0
Comment
Question by:CMILLER
  • 5
  • 3
  • 2
10 Comments
 
LVL 3

Expert Comment

by:pjevin
ID: 39168997
a. =IF(D2="","True","False")
b. =IF(ISNUMBER(FIND("@us.army.mil",D2)),"true","false")
c. =IF(ISNUMBER(FIND("@mail.mil",D2)),"true","false")
0
 

Author Comment

by:CMILLER
ID: 39169021
ok, sorry where do I put them.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39169034
Do you have to do this again and again or is this a one-time exercise?
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:CMILLER
ID: 39169045
one time. I already have tabs sorted by unit and type. I just need to know if column D is blank or has an email address of Name@us.army.mil or name@mail.mil.
0
 
LVL 3

Expert Comment

by:pjevin
ID: 39169052
You could put it as column e in each tab and then filter (data->filter->autofilter) by column e being "true"
0
 

Author Comment

by:CMILLER
ID: 39169060
I tried that it doesnt seem to work.
0
 
LVL 3

Expert Comment

by:pjevin
ID: 39169083
If you copied one of those 3 expressions into e2, then copied e2 into all the cells needed for the sheet it should tell you if it's true or false for each, then apply the autofilter and select "true" from the drop down to only display the ones that are true.  Repeat in other tabs for the other sections.
0
 

Author Comment

by:CMILLER
ID: 39169100
it didnt. I used =IF(ISNUMBER(FIND("@mail.mil",D2)),"true","false") for e2-e641 and it returned false for all. so, if it finds an email address with either @mail.mil or @us.army.mil it reports false.
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39169103
Select your data (columns A to D)
From the ribbon menu select    Data > Filter
From the dropdown on column D
    Uncheck All
    Check blanks
    Click OK
Now you have a list with blanks in column D
Copy this list to a new sheet

Now from the dropdown on column D
    Select Text filters
    Select contains
    Type @us.army.mil
    Click OK
Now you have a list with @us.army.mil in column D
Copy this list to a new sheet

Do the same with the other address
0
 

Author Closing Comment

by:CMILLER
ID: 39169114
thanks, thats what I needed.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I get SLA using Excel Raw Data 12 32
E2 + M2 = N2 == 10:02 AM 3 19
Consolidation 8 19
How to display data labels along bottom of a line chart 3 17
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now