Grep to change background based on a word that is filled using data merge
I am trying to use data merge to set up multiple items, but I need the background of each category to have a different color. In my example here I've got a column in my source file that designates PV for one category and D for another category. I need PV to always be a blue background with white text, D always needs to be a green background with white text. I've exhausted all of my searches to try to get a combination of Character Styles, Paragraph Rules & Styles, etc. Any thoughts? Thank you for your time.
