Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
search for words with capital letter at end | Excel Discussion (Misc queries) | |||
search for capital letter at end of text string | Excel Programming | |||
Capital | Excel Worksheet Functions | |||
search a string and strip out ONLY the capital letters | Excel Programming | |||
Capital Letters | Excel Worksheet Functions |