Find range of cells within table

Vshurden

New Member
Joined
Jan 24, 2014
Messages
1
I have data in e3:g3, I want to know if that same range of data is repeated in any row in a3:c150. Is there a formula to do this?
 

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Rijnsent

Well-known Member
Joined
Oct 17, 2005
Messages
1,300
Office Version
  1. 365
Platform
  1. Windows
Hi Vshurden,

the formula for H3 (assuming you have your check formula there) would be:
=COUNTIFS(A$3:A$150,E3,B$3:B$150;F3;C$3:C$150;G3)
If that formula shows a 1, there is a match somewhere, if it's >1 there are multiple matches, if it's a 0, you have no matches.
Hope that helps,

Koen
 

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
36,858
Office Version
  1. 2010
Platform
  1. Windows
Hi Vshurden,

the formula for H3 (assuming you have your check formula there) would be:
=COUNTIFS(A$3:A$150,E3,B$3:B$150;F3;C$3:C$150;G3)
If that formula shows a 1, there is a match somewhere, if it's >1 there are multiple matches, if it's a 0, you have no matches.
You mixed you delimiters for the function... your first two delimiters are commas but your last three are semi-colons. Assuming commas throughout, your formula would be...

=COUNTIFS(A$3:A$150,E3,B$3:B$150,F3,C$3:C$150,G3)
 

Rijnsent

Well-known Member
Joined
Oct 17, 2005
Messages
1,300
Office Version
  1. 365
Platform
  1. Windows
Hi Rick,
good one, my settings are semi-colons and I generally try to change them to commas when posting here (as it seems the default), but did a sloppy job this time (manual labor, will use search&replace next time),
Thanks for pointing it out,
Koen
 

Watch MrExcel Video

Forum statistics

Threads
1,127,347
Messages
5,624,136
Members
416,012
Latest member
rockermom59

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