Solved

Lookup formula

Posted on 2013-01-04
4
265 Views
Last Modified: 2013-01-04
One Last Formula Question

I have a spreadsheet with two tabs roster and users, both have a bunch of tabs.

in roster column F is email and column G is exist

in users column B is email

in roster if email is a hit anywhere in column B of users I want column G is roster to say OK otherwise it should say MISSING
0
Comment
Question by:Matt Pinkston
  • 2
4 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 38743692
Try this formula in roster worksheet G2 copied down

=IF(COUNTIF(users!B:B,F2),"OK","missing")

regards, barry
0
 

Author Comment

by:Matt Pinkston
ID: 38743745
does not seem to want to allow me to add that formula keeps saying error

roster
F=email
G=exist (this is the column we want to say OK or MISSING

users
B=email
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 38743760
See attached example - note: depending on your region the formula might require semi-colon separators instead of commas, i.e.

=IF(COUNTIF(users!B:B;F2);"OK";"missing")

regards, barry
email-example.xls
0
 
LVL 8

Expert Comment

by:5teveo
ID: 38743789
Try this...
 I used vlookup command assuming email address lookup can occur anywhere 'User'

Ah... Count works also... i did not read other solution fully
EE-20130104-Lookup.xlsx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

914 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

18 Experts available now in Live!

Get 1:1 Help Now