Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
=IF(M22="all","a",IF(M22="e","r","a"))
Notice the "e", how can I insert the following: ....If m22 contains "e" anywhere,"r","a")) Thanks Brian |
#2
![]() |
|||
|
|||
![]()
On Sun, 27 Feb 2005 16:31:03 -0800, "Brian"
wrote: =IF(M22="all","a",IF(M22="e","r","a")) Notice the "e", how can I insert the following: ...If m22 contains "e" anywhere,"r","a")) Thanks Brian .... =IF(COUNTIF(m22,"*e*")0,"r","a") --ron |
#3
![]() |
|||
|
|||
![]()
Try this:
=IF(M22="all","a",IF(ISNUMBER(SEARCH("e",M22)),"r" ,"a")) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Brian" wrote in message ... =IF(M22="all","a",IF(M22="e","r","a")) Notice the "e", how can I insert the following: ...If m22 contains "e" anywhere,"r","a")) Thanks Brian |
#4
![]() |
|||
|
|||
![]()
=IF(LEN(A1)LEN(SUBSTITUTE(A1, "e","")), "r", "a")
-- Rob van Gelder - http://www.vangelder.co.nz/excel "Brian" wrote in message ... =IF(M22="all","a",IF(M22="e","r","a")) Notice the "e", how can I insert the following: ...If m22 contains "e" anywhere,"r","a")) Thanks Brian |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I get a letter in one cell ito equal a number in anotherl.. | Excel Discussion (Misc queries) | |||
Capitalize first letter when type a name in each cell. | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions | |||
Function / formula to be used if cell contains a letter. | Excel Worksheet Functions | |||
VLookup resulting in a blank cell... | Excel Worksheet Functions |