"The twists and turns" Excel skill hundred example 05. Numerical Calculation of ladder

Source: Internet
Author: User

First we look at the following table:


For example, this is the result of some students in a class, the school in order to allow students to study harder to give the credit reward mechanism:

1. If a subject obtains 100, 20 credits will be awarded;

2. If a subject obtains more than 90 points (including 90 points), 10 credits will be awarded;

3. If a subject obtains more than 80 points (including 80 points), 5 credits will be awarded;

Less than 4.80 points, no bonus credits.


How do I do a quick calculation in Excel? If it is for the whole school students, the amount of data is very large, if fast processing?


Let's use the formula to deal with it.

Let's judge the math score with If+and first:



Formula: =if (C2<80,0,if (and (c2>=80,c2<90), 5,if (and (c2>=90,c2<100), 10,if (c2=100,20)))


If you have multiple grades, add them together:

Formula: =if (C2<80,0,if (and (c2>=80,c2<90), 5,if (and (c2>=90,c2<100), 10,if (c2=100,20)))
+if (D2<80,0,if (and (d2>=80,d2<90), 5,if (and (d2>=90,d2<100), 10,if (d2=100,20)))
+if (E2<80,0,if (and (e2>=80,e2<90), 5,if (and (e2>=90,e2<100), 10,if (e2=100,20)))
+if (F2<80,0,if (and (f2>=80,f2<90), 5,if (and (f2>=90,f2<100), 10,if (f2=100,20)))
+if (G2<80,0,if (and (g2>=80,g2<90), 5,if (and (g2>=90,g2<100), 10,if (g2=100,20)))


We can quickly get the following results:


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

"The twists and turns" Excel skill hundred example 05. Numerical Calculation of ladder

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.