Eloise T
Active Member
In a TVs model number, the first two consecutive numbers reference the diagonal screen size.
In Column C, (TV Model) (see attachment and below pictures), I am using Conditional Formatting to cause certain cells to become highlighted, but also (in the same cells) need numbers 70 thru 90 to become red and bold. See pictures below:
A sample of before: What it needs to look like after:
![upload_2017-6-29_14-39-28.png upload_2017-6-29_14-39-28.png](https://chandoo.org/forum/data/attachments/42/42973-e8fd913fa951d8dfe7f9ce4acafc09b2.jpg)
Elsewhere, I use the following two formulas to first remove spaces and dashes (Column J) and then figure out the "number" representing the TV Model's screen size (Column K).
COLUMN J →→ =SUBSTITUTE(SUBSTITUTE(C7," ",""),"-","")
COLUMN K →→ =IFERROR(--MID($M7,MIN(IFERROR(FIND(ROW($10:$99),M7),"")),2),"--")
I hope my pictures and explanation was clear. Bottom line: I need VBA to color red and boldface the model number's screen size for sizes 70 thru 90 in Column C on each Tab.
In Column C, (TV Model) (see attachment and below pictures), I am using Conditional Formatting to cause certain cells to become highlighted, but also (in the same cells) need numbers 70 thru 90 to become red and bold. See pictures below:
A sample of before: What it needs to look like after:
![upload_2017-6-29_14-39-28.png upload_2017-6-29_14-39-28.png](https://chandoo.org/forum/data/attachments/42/42973-e8fd913fa951d8dfe7f9ce4acafc09b2.jpg)
Elsewhere, I use the following two formulas to first remove spaces and dashes (Column J) and then figure out the "number" representing the TV Model's screen size (Column K).
COLUMN J →→ =SUBSTITUTE(SUBSTITUTE(C7," ",""),"-","")
COLUMN K →→ =IFERROR(--MID($M7,MIN(IFERROR(FIND(ROW($10:$99),M7),"")),2),"--")
I hope my pictures and explanation was clear. Bottom line: I need VBA to color red and boldface the model number's screen size for sizes 70 thru 90 in Column C on each Tab.
Attachments
Last edited: