![]() |
Using RIGHT to search for Capital M
I use the formula : =IF(RIGHT(A1,1)="M","Yes","No") to search for the last
letter M. However, this formula does not differentiate between "m" and "M" Is there a way to make it read true only for capital M?? Thankyou, Roger |
Using RIGHT to search for Capital M
you could try this
=IF(EXACT(RIGHT(A1,1),"M"),"Yes","No") -- Gary Keramidas Excel 2003 "Roger on Excel" wrote in message ... I use the formula : =IF(RIGHT(A1,1)="M","Yes","No") to search for the last letter M. However, this formula does not differentiate between "m" and "M" Is there a way to make it read true only for capital M?? Thankyou, Roger |
Using RIGHT to search for Capital M
Try this
=IF(EXACT(RIGHT(A1,1),"M"),"Yes","No") I've actually never used it myself, so I learned something tonight. -- HTH, Barb Reinhardt "Roger on Excel" wrote: I use the formula : =IF(RIGHT(A1,1)="M","Yes","No") to search for the last letter M. However, this formula does not differentiate between "m" and "M" Is there a way to make it read true only for capital M?? Thankyou, Roger |
All times are GMT +1. The time now is 01:34 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com