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.
 

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Joe4

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

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,870
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
 

Watch MrExcel Video

Forum statistics

Threads
1,114,051
Messages
5,545,727
Members
410,702
Latest member
clizama18
Top