user29383902
New Member
- Joined
- Dec 6, 2024
- Messages
- 7
- Office Version
- Prefer Not To Say
- Platform
- Windows
Hi,
Please I need excel to repeat text in a cell 2x
That is REPT(text, 2)
IF the text is not repeated, but if it is already repeated 2x, it should not and leave it that way.
=IF(B2=REPT(B2,1), B2=REPT(B2,2), B2=B2)
It gives me False, then 0 gives me true.
Excel formula or VBA would be greatly appreciated.
Please I need excel to repeat text in a cell 2x
That is REPT(text, 2)
IF the text is not repeated, but if it is already repeated 2x, it should not and leave it that way.
=IF(B2=REPT(B2,1), B2=REPT(B2,2), B2=B2)
It gives me False, then 0 gives me true.
Excel formula or VBA would be greatly appreciated.