Excel Formula Question

BankBob

New Member
Joined
Jan 4, 2019
Messages
8
This is probably an easy solve, but I am a bit stumped and have tried using @if, @match type formulas and keep getting "N/A"... I have 2 tabs in excel. The first tab has over 15,000 rows of data. The 2nd tab has about 2,000 rows of data. I want to see if the account # in tab 1 is also on tab 2. I thought there has to be a way to do an @if that says if the account in cell A5 is also someone in tab 2 (in the 2,000 + rows), then put a "Y" in the next column and if the account is nowhere to be found on the 2nd tab, then put a "N" in the next column.... Hope that makes sense and hope someone has an idea or solution for me.

Thank you & have a great weekend!

Bob
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Welcome to the Board!

One easy solution to use is a COUNTIF. So you count how many times a particular value occurs on your second sheet. If it is greater then 0, then you have a match, i.e.
Code:
=IF(COUNTIF([I]range, value[/I])>0,"Y","N")
Here is a write-up on using COUNTIF: https://www.techonthenet.com/excel/formulas/countif.php
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

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