If statement question

C

CJ

I need to delete the first letter of a cell if it's a ( but I can't figure out how to tell isolate that letter. I can do a delete any first character, but it needs to be conditional

Any help would be vastly appreciated.
 
F

Frank Kabel

Hi
try the following formula in the adjacent row
=IF(LEFT(A1,1)="(",MID(A1,2,255),A1)
 
D

Dave R.

For a formula, this should work:

=IF(LEFT(A1,1)="(",RIGHT(A1,LEN(A1)-1),A1)



CJ said:
I need to delete the first letter of a cell if it's a ( but I can't
figure out how to tell isolate that letter. I can do a delete any first
character, but it needs to be conditional.
 
A

Aladin Akyurek

=IF(A1<>"",REPLACE(A1,1,--(LEFT(A1)="("),""),"")

CJ said:
I need to delete the first letter of a cell if it's a ( but I can't
figure out how to tell isolate that letter. I can do a delete any first
character, but it needs to be conditional.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top