Advertisements

Excel SWITCH Function

The Excel SWITCH function evaluates a given value against a list of values and returns the result corresponding to the first matching value.

In this section:

Advertisements

  1. Syntax of SWITCH Function.
  2. Product category based on rating.
  3. Calculate scholarship based on merits.
  4. Calculate discount based on membership type.
  5. Returns weekdays and weekend.
  6. To generate name of state based on the name of city.

Excel SWITCH Function to match multiple values and returns the first match.

1. Syntax:

=SWITCH (expression, value1/result1, [value2/result2], …, [default])

where:

  1. expression: Given value or expression to match.
  2. value1/result1: The first result based on first match.
  3. value2/result2: The second results based on second value/match which is optional.
  4. default: [optional] The default value to use when no match is found.

Examples:

2. Product category based on rating:

To generate category based on product rating, the formula is =SWITCH(F5, 4, “Good”, 4.5, “Better”, 4.8, “Best”, 5, “Excellent”, “Poor”), which returns the category based on product ratings.

Excel SWITCH Function

3. Calculate scholarship based on merits:

To calculate scholarship based on merit, the formula is =SWITCH(D6, “Good”, 10%, “Excellent”, 50%, “Best”, 30%), which returns the percentage of scholarship based on merit.

Excel SWITCH Function

4. Calculate discount based on membership type:

Advertisements

To calculate discount based on membership type, the formula is =SWITCH(E6, “Star”, 8%, “Gold”, 15%, “Executive”, 20%), which returns the percentage of discount in cell G6.

Excel SWITCH Function

5. Returns weekdays and weekend:

To return the weekdays or weekend, the formula is =SWITCH(E6, 1, “Sunday”, 7, “Saturday”, “Weekday”), which returns either “Sunday/Saturday“, or “Weekdays“.

Excel SWITCH Function

6. To generate name of state based on the name of city:

To generate the name of states based on the name of city, the formula is =SWITCH(C6, “Bronx”, “NY”, “Miami”, “FL”, “Houston”, “TX”, “Santa Fe”, “NM”, “Dallas”, “TX”, “San Diego”, “CA”), which returns the name of states based on the name of city.

Excel SWITCH Function

More readings:

MS Office Post on SWITCH

Excel REPT Function

Excel RIGHT Function

Excel LEFT Function

Excel CHOOSE Function

96 Responses

  1. Excellent goods from you, man. I have understand your stuff previous to and you’re just extremely wonderful. I really like what you’ve acquired here, really like what you’re saying and the way in which you say it. You make it enjoyable and you still care for to keep it sensible. I can’t wait to read much more from you. This is actually a wonderful site.

  2. Pretty component to content. I simply stumbled upon your blog and in accession capital to say that I acquire actually loved account your weblog posts. Any way I?ll be subscribing for your feeds and even I success you get entry to persistently fast.

  3. Hello! This is kind of off topic but I need some advice from an established blog. Is it very difficult to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about creating my own but I’m not sure where to begin. Do you have any ideas or suggestions? Appreciate it

  4. I used to be recommended this website by my cousin. I am now not positive whether or not this submit is written by way of him as nobody else realize such exact approximately my trouble. You’re incredible! Thanks!

  5. My brother suggested I might like this web site. He was entirely right. This post truly made my day. You cann’t imagine just how much time I had spent for this information! Thanks!

  6. Excellent web site you’ve got here.. It’s hard to find good quality writing like yours these days. I really appreciate individuals like you! Take care!!

  7. Thanks for making me to get new concepts about desktops. I also hold the belief that one of the best ways to maintain your notebook computer in excellent condition is a hard plastic-type material case, or shell, that will fit over the top of one’s computer. These kind of protective gear are model distinct since they are made to fit perfectly over the natural covering. You can buy these directly from the vendor, or through third party sources if they are readily available for your laptop, however only a few laptop will have a covering on the market. All over again, thanks for your recommendations.

  8. An outstanding share! I have just forwarded this onto a colleague who had been doing a little homework on this. And he in fact bought me lunch simply because I discovered it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending time to discuss this topic here on your web site.

  9. I have realized some new elements from your web site about computer systems. Another thing I have always believed is that computer systems have become something that each residence must have for several reasons. They offer convenient ways to organize the home, pay bills, go shopping, study, hear music and in some cases watch tv shows. An innovative strategy to complete most of these tasks is with a notebook computer. These computers are portable ones, small, strong and easily transportable.

  10. Oh my goodness! Incredible article dude! Many thanks, However I am experiencing issues with your RSS. I don’t understand the reason why I can’t join it. Is there anybody else having identical RSS problems? Anyone that knows the answer can you kindly respond? Thanx!!

  11. I must thank you for the efforts you have put in penning this website. I’m hoping to view the same high-grade content from you in the future as well. In fact, your creative writing abilities has motivated me to get my own site now 😉

  12. I have realized that of all types of insurance, health insurance is the most debatable because of the conflict between the insurance company’s duty to remain adrift and the client’s need to have insurance policies. Insurance companies’ commissions on health and fitness plans are low, therefore some corporations struggle to make money. Thanks for the concepts you share through this web site.

  13. Great web site you have here.. It’s difficult to find high-quality writing like yours these days. I truly appreciate individuals like you! Take care!!

  14. After exploring a handful of the articles on your site, I really appreciate your way of writing a blog. I saved as a favorite it to my bookmark webpage list and will be checking back in the near future. Please check out my web site too and let me know what you think.

  15. Your style is very unique in comparison to other folks I have read stuff from. Thanks for posting when you have the opportunity, Guess I’ll just book mark this blog.

  16. Do you have a spam problem on this site; I also am a blogger, and I was curious about your situation; many of us have created some nice methods and we are looking to exchange strategies with others, why not shoot me an email if interested.

  17. Thanks for enabling me to achieve new ideas about personal computers. I also have belief that one of the best ways to keep your laptop computer in perfect condition is to use a hard plastic case, or maybe shell, that suits over the top of one’s computer. Most of these protective gear usually are model distinct since they are manufactured to fit perfectly on the natural housing. You can buy them directly from the owner, or through third party places if they are available for your laptop computer, however not all laptop can have a shell on the market. All over again, thanks for your recommendations.

  18. I would like to thank you for the efforts you have put in writing this website. I am hoping to check out the same high-grade content from you later on as well. In truth, your creative writing abilities has encouraged me to get my own, personal blog now 😉

  19. Something else is that while searching for a good on-line electronics store, look for online shops that are regularly updated, keeping up-to-date with the most current products, the top deals, plus helpful information on products and services. This will make certain you are dealing with a shop which stays atop the competition and give you what you should need to make intelligent, well-informed electronics purchases. Thanks for the vital tips I’ve learned through your blog.

  20. I have mastered some essential things through your website post. One other point I would like to convey is that there are numerous games that you can buy which are designed specifically for toddler age young children. They include pattern acceptance, colors, pets, and forms. These usually focus on familiarization rather than memorization. This keeps little ones engaged without feeling like they are studying. Thanks

  21. Hi! I could have sworn I’ve visited this website before but after browsing through some of the articles I realized it’s new to me. Anyways, I’m definitely delighted I discovered it and I’ll be bookmarking it and checking back regularly.

  22. Oh my goodness! an incredible article dude. Thank you Nonetheless I’m experiencing situation with ur rss . Don?t know why Unable to subscribe to it. Is there anybody getting identical rss problem? Anybody who knows kindly respond. Thnkx

  23. You’re so awesome! I do not suppose I’ve read something like that before. So good to find somebody with a few original thoughts on this subject matter. Seriously.. thank you for starting this up. This site is something that is required on the web, someone with some originality.

  24. Aw, this was a very good post. Taking the time and actual effort to generate a really good article… but what can I say… I hesitate a whole lot and never manage to get anything done.

  25. Hi, I do believe this is an excellent website. I stumbledupon it 😉 I may revisit yet again since I saved as a favorite it. Money and freedom is the greatest way to change, may you be rich and continue to guide other people.

  26. I’m impressed, I have to admit. Seldom do I come across a blog that’s both equally educative and engaging, and let me tell you, you’ve hit the nail on the head. The problem is something that not enough folks are speaking intelligently about. I’m very happy that I came across this in my search for something regarding this.

  27. I do not even understand how I finished up here, but I thought this post was once great. I don’t understand who you might be but certainly you are going to a famous blogger should you aren’t already 😉 Cheers!

  28. Excellent goods from you, man. I’ve remember your stuff previous to and you’re just extremely magnificent. I actually like what you have obtained right here, certainly like what you are saying and the way in which in which you say it. You are making it entertaining and you still care for to keep it wise. I can not wait to read much more from you. This is really a terrific site.

  29. Thanks for expressing your ideas. The one thing is that individuals have an option between federal student loan along with a private student loan where it can be easier to choose student loan debt consolidation than over the federal student loan.

  30. Excellent web site you have got here.. It’s difficult to find high-quality writing like yours nowadays. I honestly appreciate individuals like you! Take care!!

  31. I like what you guys tend to be up too. This type of clever work and exposure! Keep up the great works guys I’ve incorporated you guys to my blogroll.

  32. Hey there are using WordPress for your site platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you need any coding knowledge to make your own blog? Any help would be greatly appreciated!

  33. Hello there! I could have sworn I’ve been to this site before but after browsing through many of the articles I realized it’s new to me. Regardless, I’m definitely delighted I came across it and I’ll be book-marking it and checking back frequently!

  34. I loved as much as you will receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this increase.

  35. Almanya medyum haluk hoca sizlere 40 yıldır medyumluk hizmeti veriyor, Medyum haluk hocamızın hazırladığı çalışmalar ise berlin medyum papaz büyüsü, Konularında en iyi sonuç ve kısa sürede yüzde yüz için bizleri tercih ediniz. İletişim: +49 157 59456087

  36. Nice read, I just passed this onto a friend who was doing a little research on that. And he just bought me lunch because I found it for him smile Therefore let me rephrase that: Thanks for lunch!

  37. Hi, I do believe this is an excellent site. I stumbledupon it 😉 I will revisit once again since I book marked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.

  38. Thanks a lot for your post. I’d really like to comment that the expense of car insurance varies greatly from one insurance plan to another, given that there are so many different facets which give rise to the overall cost. For example, the make and model of the car will have a massive bearing on the price tag. A reliable outdated family motor vehicle will have an inexpensive premium compared to a flashy racecar.

  39. I believe that avoiding refined foods may be the first step to lose weight. They could taste good, but refined foods currently have very little nutritional value, making you try to eat more just to have enough strength to get over the day. If you are constantly feeding on these foods, changing to whole grains and other complex carbohydrates will help you have more power while ingesting less. Thanks alot : ) for your blog post.

  40. An intriguing discussion is definitely worth comment. There’s no doubt that that you should write more on this topic, it may not be a taboo subject but generally people do not discuss such topics. To the next! All the best!

  41. Appreciate you for sharing all these wonderful content. In addition, the ideal travel in addition to medical insurance plan can often eliminate those concerns that come with journeying abroad. Your medical crisis can in the near future become expensive and that’s bound to quickly decide to put a financial burden on the family’s finances. Having in place the great travel insurance package deal prior to leaving is definitely worth the time and effort. Thanks

  42. Thank you for every other informative website. The place else may I am getting that type of information written in such an ideal manner? I have a undertaking that I’m just now running on, and I’ve been on the glance out for such info.

  43. There are some interesting time limits on this article however I don?t know if I see all of them heart to heart. There’s some validity however I will take maintain opinion till I look into it further. Good article , thanks and we wish more! Added to FeedBurner as nicely

  44. Hi, I believe your site might be having internet browser compatibility issues. When I take a look at your web site in Safari, it looks fine however when opening in I.E., it has some overlapping issues. I merely wanted to give you a quick heads up! Other than that, fantastic blog!

  45. It is my belief that mesothelioma is usually the most dangerous cancer. It has unusual properties. The more I look at it a lot more I am sure it does not conduct itself like a true solid cells cancer. In case mesothelioma is a rogue virus-like infection, so there is the probability of developing a vaccine and offering vaccination to asbestos exposed people who are at high risk with developing foreseeable future asbestos relevant malignancies. Thanks for expressing your ideas about this important health issue.

  46. Do you have a spam issue on this blog; I also am a blogger, and I was wondering your situation; we have created some nice practices and we are looking to swap strategies with others, be sure to shoot me an e-mail if interested.

  47. Hi, Neat post. There’s an issue together with your web site in web explorer, would check this? IE still is the market leader and a good element of folks will pass over your magnificent writing because of this problem.

  48. I like what you guys are up also. Such intelligent work and reporting! Keep up the excellent works guys I?ve incorporated you guys to my blogroll. I think it will improve the value of my site 🙂

  49. I would like to thank you for the efforts you’ve put in writing this site. I really hope to view the same high-grade content from you in the future as well. In truth, your creative writing abilities has encouraged me to get my very own website now 😉

  50. You’re so interesting! I do not believe I’ve truly read something like this before. So good to find another person with a few original thoughts on this topic. Really.. thanks for starting this up. This website is something that’s needed on the internet, someone with some originality.

  51. Undeniably believe that which you stated. Your favorite reason seemed to be on the internet the simplest thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they just do not know about. You managed to hit the nail upon the top and defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks

  52. Somebody essentially assist to make severely articles I would state. This is the very first time I frequented your web page and thus far? I surprised with the research you made to make this particular submit incredible. Wonderful activity!

  53. Thanks for your valuable post. Through the years, I have come to be able to understand that the actual symptoms of mesothelioma are caused by a build up associated fluid involving the lining of the lung and the torso cavity. The illness may start within the chest vicinity and get distributed to other body parts. Other symptoms of pleural mesothelioma include weight-loss, severe breathing in trouble, temperature, difficulty taking in food, and swelling of the face and neck areas. It must be noted that some people having the disease never experience just about any serious signs and symptoms at all.

  54. Greetings! Very useful advice within this article! It is the little changes that produce the most important changes. Thanks a lot for sharing!

  55. Hi, I do think this is a great site. I stumbledupon it 😉 I am going to come back once again since I bookmarked it. Money and freedom is the best way to change, may you be rich and continue to help other people.

  56. Wonderful work! This is the type of info that should be shared around the net. Shame on Google for not positioning this post higher! Come on over and visit my site . Thanks =)

  57. Hi, i believe that i noticed you visited my weblog so i came to ?go back the want?.I’m attempting to in finding things to improve my web site!I suppose its ok to use some of your ideas!!

  58. I have really noticed that credit improvement activity really needs to be conducted with tactics. If not, you are going to find yourself endangering your rating. In order to grow into success fixing your credit ranking you have to take care that from this time you pay any monthly costs promptly prior to their appointed date. It is really significant because by never accomplishing so, all other moves that you will decide to try to improve your credit rating will not be effective. Thanks for giving your strategies.

  59. Thanks for your writing. I would also like to say that the health insurance brokerage service also works well with the benefit of the particular coordinators of the group insurance coverage. The health insurance agent is given a summary of benefits looked for by someone or a group coordinator. Such a broker may is hunt for individuals or perhaps coordinators which in turn best match those requirements. Then he offers his referrals and if both parties agree, the actual broker formulates an agreement between the 2 parties.

  60. Hello, i believe that i noticed you visited my weblog thus i came to ?return the prefer?.I am trying to find issues to improve my site!I assume its adequate to make use of some of your ideas!!

  61. Oh my goodness! an amazing article dude. Thank you Nonetheless I’m experiencing concern with ur rss . Don?t know why Unable to subscribe to it. Is there anybody getting an identical rss downside? Anybody who knows kindly respond. Thnkx

  62. A person essentially help to make seriously posts I would state. This is the first time I frequented your web page and thus far? I amazed with the research you made to create this particular publish extraordinary. Magnificent job!

  63. Great blog right here! Additionally your site loads up fast! What host are you the use of? Can I get your associate hyperlink in your host? I desire my web site loaded up as fast as yours lol

  64. Thanks for revealing your ideas listed here. The other thing is that whenever a problem develops with a pc motherboard, persons should not go ahead and take risk involving repairing it themselves because if it is not done correctly it can lead to permanent damage to the whole laptop. It is almost always safe to approach a dealer of your laptop with the repair of motherboard. They’ve technicians that have an skills in dealing with notebook computer motherboard difficulties and can get the right analysis and perform repairs.

  65. Nice post. I learn something totally new and challenging on websites I stumbleupon everyday. It will always be interesting to read content from other authors and use something from other web sites.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements