Try this:
=IF(LEFT(RIGHT(A1,2))="3",--REPLACE(A1,8,1,"5"),A1)
--
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Mark Christensen" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> How about a formula?
>
>
> "Ron de Bruin" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hi Mark
>>
>> One way with a macro for A1:A100
>>
>> Or do you want a formula ?
>>
>> Sub test()
>> Dim cell As Range
>> For Each cell In Range("A1:A100")
>> cell.Value = Mid(cell.Value, 1, 7) & "5" & Mid(cell.Value, 9, 9)
>> Next cell
>> End Sub
>>
>>
>> --
>>
>> Regards Ron de Bruin
>> http://www.rondebruin.nl/tips.htm
>>
>>
>> "Mark Christensen" <(E-Mail Removed)> wrote in message
>> news:uU$(E-Mail Removed)...
>>> Hello,
>>>
>>> I've got a spreadsheet of 100's of part numbers and each is 9 characters
>>> long. The 8th character in most of them is a 3 but I want to change
>>> them all to a 5, is there an easy way to do that? I can't do a simple
>>> Replace as 3 may be used more than once in the part number - I just want
>>> to change the 3 if it's in the 8th position. Thanks.
>>>
>>> Mark
>
>