Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you read the Nth character in a cell?

Status
Not open for further replies.

mattlyon

IS-IT--Management
Jun 12, 2006
61
0
0
Firstly, thank you for any help you can provide.

I would like to put a logic statement into an excel formula. It would read the 5th character in a cell (say A1) and depending on what it is, put data into another cell (say B2).

Something like this

Cell a1 [12345]
Cell b2 [if character #5 is 5, display 'Yes', else display 'no']
so cell b2 shows [Yes]
 



Hi,
[tt]
=if(mid(A1,5,1)="A",true,false)
[/tt]


Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top