Solved

Like Statementm, Switch

Posted on 2013-01-21
2
211 Views
Last Modified: 2013-01-21
How can I modify this SWITCH statement to show "Below Investment Grade, Highly Speculative" for any data entered like this:
B1
B2
B3
basically a numerical modifier at the end.

I dont think I can use
[MoodyRating] like "B*"  because I a user could enter only a Baa or Ba.  

I have not copied the entire switch statement but only a bit of it:

=Switch([MoodyRating]="Baa","Investment Grade, but lower end",
[MoodyRating]="Ba1","Speculative, substantial Credit Risk",
[MoodyRating] = "B1", "Below Investment Grade, Highly Speculative")

Hope that makes sense.
0
Comment
Question by:pdvsa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
IrogSinta earned 500 total points
ID: 38802492
[MoodyRating] Like "B[0-9]", "Below Investment Grade, Highly Speculative"
0
 

Author Closing Comment

by:pdvsa
ID: 38802532
very nice.  Worked perfectly.  Thank you
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access Database 2007 - automating reports being sent by email 2 55
Access Need to add combo box to sub form 10 50
CISCO WIFI 6 71
Microsoft Access 32-bit or 64-bit? 11 57
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question