If this Date Range and This Cell Value Match?

thisishailstorm

New Member
Joined
Jan 7, 2019
Messages
5
Hello,
I am trying to highlight a collision if the date ranges in columns B and C coincide as well as the values in column F. The collision column G should then be either red, or indicate yes or an x.
How would I express this?

Thank you!

Excel Screenshot.png
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
you want only for consecutive rows or search at the total range?
 
Upvote 0
I suppose three condition:
1. Consecutive Rows
2. Non-Consecutive Rows with show Index at Column A for 2nd match
3. Non-Consecutive Rows with "YES"

Book1
ABCDEFGHI
1For ConsecutiveNot Consecutive
21BABANot RONo11YES
32BABARONo  
43CRECRENot RONo12YES
54CRECRERONo  
65CSCSNot RONo  
76CSCSRONo  
87INTDBTSERONo  
98MAMARONo  
109MAMANot RONo  
1110BCPSRBCPHNNot RONo  
1211BABANot RONo11YES
1312CRECRENot RONo12YES
Sheet1
Cell Formulas
RangeFormula
G2:G13G2=IF((B2=B3)*(C2=C3)*(F2=F3), "Yes", "No")
H2:H13H2=IFERROR(INDEX($A$2:$A$13,SMALL(IF((B2=$B$2:$B$13)*(C2=$C$2:$C$13)*(F2=$F$2:$F$13),ROW($B$2:$B$13)-ROW($B$2)+1),2)),"")
I2:I13I2=IFERROR(IF(SMALL(IF((B2=$B$2:$B$13)*(C2=$C$2:$C$13)*(F2=$F$2:$F$13),ROW($B$2:$B$13)-ROW($B$2)+1),2),"YES","NO"),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,213,511
Messages
6,114,054
Members
448,543
Latest member
MartinLarkin

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