set a formula in conditional formatting
select the range of cells - if say C2 to D20
then add a formula to conditional formatting =C2
and format to put a border round
that will put a border around the individual cells - not a group
I dont know how to do a group with just a border around the outside