Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

if third letter is equal to

I have a cell which contains any 4 letters, example akei, skiw. How do I ask

"if the 3rd letter is an i then equals True"

I was thinking something like

"=if(a1="??i?", True, False)"

But that dosen't Work

like image 524
JT. Avatar asked Jul 06 '12 00:07

JT.


People also ask

How do you create an IF formula in Excel?

Use the IF function, one of the logical functions, to return one value if a condition is true and another value if it's false. For example: =IF(A2>B2,"Over Budget","OK") =IF(A2=B2,B4-A4,"")

How do I show 1st 2nd and 3rd in Excel?

To add an ordinal suffix to a number (i.e. 1st, 2nd, 3rd, etc.) you can use a formula based on the CHOOSE function to assign the suffix. Ordinal numbers represent position or rank in a sequential order. They are normally written using a number + letter suffix: 1st, 2nd, 3rd, etc.


1 Answers

=MID(A1,3,1) = "i"

Should work, you don't need to use IF, the evaluation using the equals will return either TRUE or FALSE

like image 58
Jesse Avatar answered Oct 13 '22 14:10

Jesse