I have 2 dataframes and I would like to highlight the common rows
library(openxlsx) df = data.frame(Year = c(2018,2019,2020,2018,2019,2020,2018,2019,2020),