Exact formula with small and large cap letters

johnny52

Active Member
Joined
Oct 13, 2006
Messages
333
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
I got a great answer for my conditional fomat =(A1,"Rr)...thanks

now how would I get this formula to return "SO" when it meets criteria.

My formula is as follows. I want to recognize either one when it occurs in that C6 cell

=IF(OR(exact(C6,"rR"),IF(EXACT(C6,"sS"),"SO",""))

maybe I should use AND instead of OR....my results just returns VALUE
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Your formula is not quite right, try this:

=IF(OR(EXACT(C6,"rR"),EXACT(C6,"sS")),"SO","")

The second IF() in the middle is not necessary using OR() to get the same result. If you were wanting different results based on the string, then you would nest IF()'s.
 
Upvote 0
Solution
It should be
Excel Formula:
=IF(OR(EXACT(C6,"rR"),EXACT(C6,"sS")),"SO","")
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,922
Messages
6,181,779
Members
453,065
Latest member
jfrsanders

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top