vba - Multiple conditions for excel conditional formatting, with duplicates -
i'm bit of excel newbie, (i program in r, need in excel), , i'm having bit of trouble figuring out how program conditional format in excel.
currently, i'm looking conditional format based on 2 conditions.
- duplicates in column a
and
- for these duplicates, highlight dates in column b occur within 30 days /1 month of eachother
eg:
column column b 1 30-nov-15 1 2-dec-15 2 4-jan-16 3 2-feb-16 2 30-jun-16 i want first 2 rows highlighted.
i know how conditional format using dropdown menu duplicates.and know can use formula see if months within range:
countif((year(cell1)-year(cell2))*12+month(cell1)-month(cell2) < 1) but i'm not sure how put together! need use , statement?
any appreciated :)
thanks!
Comments
Post a Comment