select digit or character in a alpha-numeric string and format font colour based on the the last character

Gastank

New Member
Joined
Feb 17, 2002
Messages
34
Hi,
I wonder if someone can help me with a problem I have in Excel 2016. Based on the last digit in a 5 figure number in a column I
am trying to select the corresponding character in a text string in adjacent columns and format that character e.g Red - Bold. So if the
last digit is 2 then select the second character the text string in columns to the right and format it as required.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi,
I wonder if someone can help me with a problem I have in Excel 2016. Based on the last digit in a 5 figure number in a column I
am trying to select the corresponding character in a text string in adjacent columns and format that character e.g Red - Bold. So if the
last digit is 2 then select the second character the text string in columns to the right and format it as required.
I think conditional formatting pertains to cells, not the values in the cells. So you cannot just change the "34" in "12345" to "12345".
What is it you're trying to accomplish? Mr. Excel has a tool called xl2bb add in (link below) that allows users to post mini worksheets of their work so the forum can see what you're trying to do. Please do so, and maybe the forum can provide you with a solution you have not considered?

Best Wishes, Happy Thanksgiving!
 
Upvote 0
Hi,
I wonder if someone can help me with a problem I have in Excel 2016. Based on the last digit in a 5 figure number in a column I
am trying to select the corresponding character in a text string in adjacent columns and format that character e.g Red - Bold. So if the
last digit is 2 then select the second character the text string in columns to the right and format it as required.
Hi awoohaw,
Thanks for the quick reply, you confirmed what I thought was the case regarding conditional formatting.

And Happy Thanksgiving to you!
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,610
Members
452,931
Latest member
The Monk

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top