=Left Formulae

jassa

New Member
Joined
Feb 7, 2014
Messages
37
Office Version
  1. 365
Hi All,

i have a left formulae which copies the 2 first letters from another cell.

I have put a true /false statement in this cell though now, and now the left formulae is showing TR and FA before data is entered.

Is there a way for the Left formulae to ignore if data in the cell is TR or FA?

Thank you in advance.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Use and IF statement to check the contents and output blank if it's TR or FA otherwise output the result of the LEFT
 
Upvote 0
So im a little confused would the statement be, IF the cell does include TR and FR then leave blank, as i would like the information in The original cell to be used from the Left formulae?
 
Last edited:
Upvote 0
Does this do the trick, or set you along the right path?

Code:
=IF(OR(LEFT(A1,2)="TR",LEFT(A1,2)="FR"),"",LEFT(A1,2))
 
Upvote 0
Actually, if the TRUE and FALSE is the result of a Formula then you might be better with;

Code:
=IF(OR(A1=TRUE,A1=FALSE),"",LEFT(A1,2))

That way any none TRUE / FALSE will still return TR and FA
 
Upvote 0
If the "another cell" is F1 then try
=IF(ISLOGICAL(F1),"",LEFT(F1,2))
 
Last edited:
Upvote 0
I meant yours, it was the first option i tried. :)

Ahh, noticed i replied but replied without a quote.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,001
Messages
6,122,648
Members
449,092
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top