Thread: IF function
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default IF function

You're welcome - glad it worked for you.

Pete

On Jan 17, 5:01*pm, BAS wrote:
It worked... THanks!



"Pete_UK" wrote:
Try this, with your data in A1:


=IF(MID(A1,11,1)="N",0,1)


Hope this helps.


Pete


On Jan 17, 4:32 pm, BAS wrote:
Is it possible to perform an IF function on a certain character? For example:


In this model string, 0068T21N00A025T32E5X8Q4C4, I would like to perform an
IF function on the 11th character. If the 11th character = N, I would like
the true value = 0 and the false value = 1.


THanks,
B- Hide quoted text -


- Show quoted text -