Zembu
New Member
- Joined
- Apr 9, 2016
- Messages
- 27
- Office Version
- 2016
- Platform
- Windows
Hello Friends
In this;
=IF(FIND("(",B2),(LEFT((B2),LEN(B2)-LEN(B2)+FIND("(",B2)-2)),B2)
I am trying to have it return (if there is no "(" in the cell B2), the contents of cell B2, and if there is a "(" it should return the part of the contents of cell B2 before the "(" and also minus a further character (a space).
I works correctly if there is a "(", but if no "(" it just states #VALUE!
In this;
=IF(FIND("(",B2),(LEFT((B2),LEN(B2)-LEN(B2)+FIND("(",B2)-2)),B2)
I am trying to have it return (if there is no "(" in the cell B2), the contents of cell B2, and if there is a "(" it should return the part of the contents of cell B2 before the "(" and also minus a further character (a space).
I works correctly if there is a "(", but if no "(" it just states #VALUE!