Solved

Lookup formula

Posted on 2013-01-04
4
296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

617 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