Match or if return value problem

Invexskm

New Member
Joined
Feb 3, 2010
Messages
4
HAVE 6 COLUMNS OF DATA, WANT TO MATCH COLUMNS 1 AND 4, 2, AND 5 AND 3 AND 6. WOULD LIKE TO RETURN A BLANK VALUE TO COLUMN H IF TRUE AND "CHECK" IF FALSE. HAVING TROUBLE GETTING IT TO EITHER CHECK AGAINST ENTIRE COLUMN OR RETURN DESIRED VALUE.


=ISNA(MATCH(E3,$A$3:$A$687821,FALSE))
=IF($A$3:$A$687821=E3," ","check")

THANK YOU
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
HAVE 6 COLUMNS OF DATA, WANT TO MATCH COLUMNS 1 AND 4, 2, AND 5 AND 3 AND 6. WOULD LIKE TO RETURN A BLANK VALUE TO COLUMN H IF TRUE AND "CHECK" IF FALSE. HAVING TROUBLE GETTING IT TO EITHER CHECK AGAINST ENTIRE COLUMN OR RETURN DESIRED VALUE.


=ISNA(MATCH(E3,$A$3:$A$687821,FALSE))
=IF($A$3:$A$687821=E3," ","check")

THANK YOU

=ISNUMBER(MATCH(E3,$A$3:$A$687821,0))+0

would yield 1 for a hit, 0 otherwise. What do you have in E3?
 

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,941
Are you wanting to match them all in one formula? If so, maybe:

=if(isna(MATCH(E3,$A$3:$A$687821,FALSE)+MATCH(F3,$B$3:$B$687821,FALSE)+MATCH(G3,$C$3:$C$687821,FALSE)),"Check","")

This would check that all of them had a match or maybe if you only need one of them to have a match try:

=if(or(isnumber(MATCH(E3,$A$3:$A$687821,FALSE)),isnumber(MATCH(F3,$B$3:$B$687821,FALSE)),isnumber(MATCH(G3,$C$3:$C$687821,FALSE)),"","Check")

Also I am not positive if I have the blank and check in the correct spots as I don't completely follow your post.

Hope that helps.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,398
Messages
5,831,405
Members
430,064
Latest member
Shahrukh kha

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
Top