Phil Smith
Active Member
- Joined
- Aug 13, 2004
- Messages
- 285
- Office Version
- 365
- Platform
- Mobile
Hello Excel expert people!
I have a string "165 / 168 / 170 / 172 / 68" that is present in a number of cells throughout my worksheet.
Dependant on certain criteria, my aim is to format the text so one or more of either 165, 168, 170, 172 or 68 within those cells are formatted with strikethrough.
I have a feeling it will probably involve using MID but I am unable to find out the syntax to apply strikethrough to only specific characters in a cell.
For example:
For "165" to have strikethrough, that would apply to the first 3 characters.
For "168", that would be 3 characters starting from the 7th character.
For "170", that would be 3 characters starting from the 13th.
For "172", 3 from the 19th
For 68, 2 from the 25th or 2 from the right.
Your assistance, as always, will be gratefully received.
I have a string "165 / 168 / 170 / 172 / 68" that is present in a number of cells throughout my worksheet.
Dependant on certain criteria, my aim is to format the text so one or more of either 165, 168, 170, 172 or 68 within those cells are formatted with strikethrough.
I have a feeling it will probably involve using MID but I am unable to find out the syntax to apply strikethrough to only specific characters in a cell.
For example:
For "165" to have strikethrough, that would apply to the first 3 characters.
For "168", that would be 3 characters starting from the 7th character.
For "170", that would be 3 characters starting from the 13th.
For "172", 3 from the 19th
For 68, 2 from the 25th or 2 from the right.
Your assistance, as always, will be gratefully received.