Thread: If Question
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tim m tim m is offline
external usenet poster
 
Posts: 430
Default If Question

Can't really check this without knowing what your data looks like but see if
this works.

=IF(MID(N3,6,3)="OLA",MID(N3,6,3)&LEFT(N3,3),Y3&MI D(N3,6,3))

"carl" wrote:

How do I put this into an excel formula ?

If this "MID(N3;6;3)" equals "OLA" then do this "MID(N3;6;3)&LEFT(N3;3)"

otherwise

Y3&MID(N3;6;3)

Thank you in advance.