Need Help with a simple "if" or "find" or "match" statement

smalik

Board Regular
Joined
Oct 26, 2006
Messages
180
Office Version
  1. 365
Platform
  1. Windows
I have a tab that has 90K+ IDs in a "Summary" tab. The details related to these IDs are in two different tabs. One tab has the names of Group Insurance Participants and the other tab has the names of the Individual Insurance participants. I want to write a formula in the cell next to the ID showing whether the ID belongs to Group or Individual.

I wrote a "vlookup" formula and looked for the ID in Group tab. If the ID matched, I called it "Group" and if the error occurred I called it "Individual"

The problem is there are IDs that don't exist in either tab. How do I solve this simple issue?

This is the kind of end result I am looking for:
1612392232447.png


Thank in advance.
Any help is greatly appreciated.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Check the sheet names and relevant columns, but you should be able to use something like this.

Excel Formula:
=IF(ISNUMBER(MATCH(A2,Group!A:A,0)),"Group",IF(ISNUMBER(MATCH(A2,Individual!A:A,0)),"Individual",""))
 
Upvote 0
Solution
You are welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

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