ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   ConditionalFormatCellValue (https://www.excelbanter.com/excel-worksheet-functions/238036-conditionalformatcellvalue.html)

gh

ConditionalFormatCellValue
 
I have a column with a middle initial or a middle namr or it is blank.
What I need to do is add a period to the middle initial only. If it a
missle name or blank, then I want to do nothing. Is there a function
for something like this?

Thanks

Fred Smith[_4_]

ConditionalFormatCellValue
 
Something like this:
=if(len(a1)=1,a1&".",a1)

Regards,
Fred

"gh" wrote in message
...
I have a column with a middle initial or a middle namr or it is blank. What
I need to do is add a period to the middle initial only. If it a missle
name or blank, then I want to do nothing. Is there a function for
something like this?

Thanks




All times are GMT +1. The time now is 09:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com