I've bitten off more than I can chew :)

JHELP

New Member
Joined
Sep 24, 2006
Messages
4
Im trying to take a set of circumstances and generate a YES for an exact match of all 4 circumstances

Example=
In 4 seperate cells I input the following information to get a yes or no answer

1 2 3 4

500-519 0x30 65 Full = YES (example 1)

500-519 0x30 85 Full = NO (example 2)

The above cells references the below cells to find the true or false answer.

500-519 0x30 65 Full
500-519 0x30 70 Full
500-519 0x30 75 Full
500-519 0x30 80 Full
500-519 1x30 65 Full
500-519 1x30 70 Full
500-519 1x30 75 Full
500-519 1x30 80 Full
500-519 1x30 85 Full



Im am using

=IF((AND(COUNTIF(B13:B6788,B12)>0,COUNTIF(C13:C6788,C12)>0,COUNTIF(D13:D6788,D12)>0,COUNTIF(E13:E6788,E12)>0)),"YES","NO")

Its is not requiring all of the cells to be true based on the previous answer. It is just looking to see if the information exist in the row versus forcing all info to be true. I hope this makes sense. PLease help.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
59,129
Office Version
  1. 365
Platform
  1. Windows

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi JHELP

Another option, in this case, is to look for the concatenation of the values

Code:
=isnumber(match(b12&c12&d12&e12,B13:B6788&C13:C6788&D13:D6788&E13:E6788,0))
This is an array formula and so MUST be entered with CTRL+SHIFT+ENTER and not just ENTER.

Hope this helps
PGC
 

Forum statistics

Threads
1,141,915
Messages
5,709,320
Members
421,628
Latest member
Big Boss

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