Mar 10 2022 09:05 AM
I have data in excel that is a text string, example BDR103-BDR108-BDR328-BDR605, in a range of 15675 rows in one column.
BDR103-BDR108-BDR328-BDR605 |
BDR108 |
BDR108 |
BDR108 |
BDR101-BDR108 |
BDR104-BDR108-BDR401 |
BDR103-BDR108 |
BDR104-BDR108 |
BDR108 |
BDR104-BDR604 |
BDR103-BDR108-BDR328-BDR605 |
BDR104 |
BDR104-BDR108-BDR300 |
BDR104-BDR108-BDR300 |
BDR108 |
BDR101-BDR108-BDR401-BDR603 |
BDR108 |
I have multiple rows with different numbers after BDR and I need to change BDR103 and BDR108 blue and BDR328 and BDR605 red. I actually have 10 specific BDR numbers I need to turn blue if they appear in the text string and 12 BDR numbers I need to turn red if they appear in the text string. Some of the BDR#'s will stay black. Does anyone have any clue how to make this happen? Thanks for your help!
Mar 10 2022 09:46 AM
Mar 10 2022 10:05 AM - edited Mar 10 2022 10:06 AM
Thank you, but I don't think a formula will work for what I'm trying. I think the only way to do it will be using visual basic.
I have a range, AR2:AR15676, and all cells are filled with random text strings. I need to search these text strings for BDR10, BDR12, BDR111, BDR112, BDR113, BDR307, BDR313, BDR325, BDR326, BDR403, BDR502, and BDR600 and highlight them red in the text string when found. I also need to search for BDR1, BDR13, BDR16, BDR100, BDR110, BDR301, BDR302, BDR303, BDR329, and BDR605 and highlight them blue in the text string when found.