ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Display thrid letter formula (https://www.excelbanter.com/excel-discussion-misc-queries/57867-display-thrid-letter-formula.html)

koba

Display thrid letter formula
 

Hi All

I need a formula that displays an outcome. If the third letter of cell
A1 has a ‘D’ then display OK, otherwise display BAD

Please help

Thanks
Andrew


--
koba
------------------------------------------------------------------------
koba's Profile: http://www.excelforum.com/member.php...o&userid=28639
View this thread: http://www.excelforum.com/showthread...hreadid=489315


Biff

Display thrid letter formula
 
Hi!

Try this:

=IF(MID(A1,3,1)="D","OK","Bad")

Biff

"koba" wrote in message
...

Hi All

I need a formula that displays an outcome. If the third letter of cell
A1 has a 'D' then display OK, otherwise display BAD

Please help

Thanks
Andrew


--
koba
------------------------------------------------------------------------
koba's Profile:
http://www.excelforum.com/member.php...o&userid=28639
View this thread: http://www.excelforum.com/showthread...hreadid=489315




Rowan Drummond

Display thrid letter formula
 
Try:

=IF(MID(A1,3,1)="D","OK","BAD")

Hope this helps
Rowan

koba wrote:
Hi All

I need a formula that displays an outcome. If the third letter of cell
A1 has a ‘D’ then display OK, otherwise display BAD

Please help

Thanks
Andrew



Roger Govier

Display thrid letter formula
 
Hi Andrew

Try
=IF(A1="","",IF(MID(A1,3,1)="D","OK","BAD"))

Regards

Roger Govier


koba wrote:
Hi All

I need a formula that displays an outcome. If the third letter of cell
A1 has a ‘D’ then display OK, otherwise display BAD

Please help

Thanks
Andrew



koba

Display thrid letter formula
 

Thanks worked a treat


--
koba
------------------------------------------------------------------------
koba's Profile: http://www.excelforum.com/member.php...o&userid=28639
View this thread: http://www.excelforum.com/showthread...hreadid=489315



All times are GMT +1. The time now is 04:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com