Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to split column into two columns

Column1: SHPS011SSAD 
Column2: SH
Column3: PS

What would be the calculated formula for this?

share|improve this question
    
Does it always be fixed length for Column2 to be initial two characters and Column3 to be two characters after two characters ? –  Arsalan Adam Khatri Dec 12 '12 at 18:32

2 Answers 2

Column2:

=LEFT(Column1, 2)

Column3:

=RIGHT(LEFT(Column1, 4), 2)

FYI
Calculated columns use formula from Microsoft Excel... So if you want to generate formula for Calculated Columns easy way is to generate formula in Microsoft Excel first!

I hope this helps

share|improve this answer

=Column1&Column2&Column3

share|improve this answer
    
Sorry for that - I miss that you split into two columns. –  Krzysztof S. Dec 13 '12 at 11:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.