Hey guys.. I have 2 rows with dates. I want to see how many matches I have between these 2 rows. How can I go about doing this? I know it has something to do with conditional formatting.
Thanks.
Hey guys.. I have 2 rows with dates. I want to see how many matches I have between these 2 rows. How can I go about doing this? I know it has something to do with conditional formatting.
Thanks.
assuming column a and b
say a2:a100 and b2:b200
select a2:a100
go to conditional format
chose formula is option and put
=countif($b$2:$b$200,a2)
chose a colour and apply
repeat with column b2:b200
=countif($a$2:$a$100,b2)
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
I'm sorry.. I dont think I was that clear. I've attached a sample file for your convenience. I just want to find out how many times columns A and C match (and maybe place the total amount in column B). .. does ur answer still apply?
Use CF with the condition:
=COUNTIF(C:C,A1)>0
Select all the cells in column A before applying CF.
Just use the formula: =COUNTIF(C:C,A1) and drag down in column B for the actual count.
Regards
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks