[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

Simple MATCH Formula? (with IF statement)

Trying to create a match or Find formula to do the following:
Sheet 1 called: OriginalList
Column B has names

Sheet 2 (same workbook) called: NewList
Column A has names

Sheet 1 will have 1200 names
Sheet 2 has a subset of these names

I need to putinto Column A -- in Sheet 1 (original list) a YES, if the name is located in Sheet 2 and a No if the name isn't located in sheet 2

Caveat -- there may be dupes in sheet 2 -- it doesn't matter, would like a YES to appear, but in column D, the number of times that name appears in sheet 2.  It would always have a 0 if No is returned in sheet 1, because it didn't find the name in sheet 2.
0
AliciaVee
Asked:
AliciaVee
  • 2
1 Solution
 
MimicTechCommented:
let's say data is all on one sheet (just for example - you can ref other sheet)

data in A1 - A10 = 0,1,2,3,4,5,6,7,8,9
data in C1 - C4 = 3,5,7,9

to put YES in col B1 - B10

formula -- =if(isna(match(A1,$C1:$C4,0)), "", "YES")
0
 
redmondbCommented:
Hi, AliciaVee.

The attached assumes Excel 2007 or higher. Please let me know if you may use an earlier version.

Edit: The second file will also work with versions prior to Excel 2007.

Regards,
Brian.Count-Found.xlsxCount-Found.xls
0
 
AliciaVeeAuthor Commented:
Was exactly what I needed!
0
 
redmondbCommented:
Thanks, AliciaVee!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now