# Excel - IF Function Problem - Expert Solution

Question description:
This user has given permission to use the problem statement for this blog.

If cell b2 = 56 c3 needs to return A* If cell b2 =50 c3 needs to return A and so on. How can I combine this into one formula
Solved by I. Y. in 22 mins
This is the chat thread from the real Excelchat help session. It contains no private user information.
Excelchat Expert 23/09/2018 - 02:08
Welcome, Thanks for choosing Got It Pro-Excel. I can help you with that problem.
Excelchat Expert 23/09/2018 - 02:09
Before we get started, this is a reminder that our policy is 1 problem per session with additional Q&A on that problem as time allows.
Excelchat Expert 23/09/2018 - 02:09
Do you have sample data which we can use to illustrate how to solve this problem?
User 23/09/2018 - 02:09
not really, but I have the bandings
Excelchat Expert 23/09/2018 - 02:10
Okay.
Excelchat Expert 23/09/2018 - 02:10
That is possible.
Excelchat Expert 23/09/2018 - 02:10
But I need to have all the criteria.
Excelchat Expert 23/09/2018 - 02:11
I have put some data in the online sheet.
User 23/09/2018 - 02:12
Column 1 is students name.
Excelchat Expert 23/09/2018 - 02:12
Okay.
Excelchat Expert 23/09/2018 - 02:12
User 23/09/2018 - 02:12
Column 2 = Paper 1 total out of 30
User 23/09/2018 - 02:12
Excelchat Expert 23/09/2018 - 02:13
Go on...
User 23/09/2018 - 02:13
so if b2 = a value then c2 needs to issue another value
User 23/09/2018 - 02:13
28 =A*
User 23/09/2018 - 02:13
25=A
User 23/09/2018 - 02:13
21=B
User 23/09/2018 - 02:13
17=C
User 23/09/2018 - 02:13
14=D
User 23/09/2018 - 02:13
11=E
Excelchat Expert 23/09/2018 - 02:14
Okay.
Excelchat Expert 23/09/2018 - 02:14
Is it possible you can give the ranges for the grade?
User 23/09/2018 - 02:14
I have. As above
Excelchat Expert 23/09/2018 - 02:14
For example, if a student gets 26, what grade is that?
User 23/09/2018 - 02:16
So the banding are up to the amount. i.e 25,26 &27 would all be an A
User 23/09/2018 - 02:16
But 28 would then be A*
Excelchat Expert 23/09/2018 - 02:17
Okay.
Excelchat Expert 23/09/2018 - 02:17
Based on what you’ve shared, you need an IF function which will return a grade for a corresponding score for Paper1.
Excelchat Expert 23/09/2018 - 02:17
User 23/09/2018 - 02:18
yes, im just struggling to apply this as there are lots of criteria
Excelchat Expert 23/09/2018 - 02:18
I am creating a formula that will solve this problem. Will get back to you shortly.
User 23/09/2018 - 02:18
thanks
Excelchat Expert 23/09/2018 - 02:21
Excelchat Expert 23/09/2018 - 02:21
We can use this formula:
Excelchat Expert 23/09/2018 - 02:21
=IF(B2>=28, "A*",IF(B2>=25, "A",IF(B2>=21, "B",IF(B2>=17, "C",IF(B2>=14, "D", "E")))))
Excelchat Expert 23/09/2018 - 02:21
Can you see the data I have put on the online sheet to your right?
User 23/09/2018 - 02:22
I cn, this looks great. The end bit to this is that there is paper 2, which I can copy the formula. The last bit is how to combine the 2 for an overall score with different bandings
Excelchat Expert 23/09/2018 - 02:23
Okay.
Excelchat Expert 23/09/2018 - 02:23
Excelchat Expert 23/09/2018 - 02:23
Unfortunately we are allowed to solve one problem per session.
Excelchat Expert 23/09/2018 - 02:24
Will you mind if you ask the question in a new chat?
Excelchat Expert 23/09/2018 - 02:24
We will provide you a formula for the combination for the 2 papers.
Excelchat Expert 23/09/2018 - 02:24
Will that be okay with you?
User 23/09/2018 - 02:25
ok, just tested this in my spreadsheet. For some reason its populating the next row down, so if B2 is 25, its changing C3
Excelchat Expert 23/09/2018 - 02:26
You just need to copy the same formula.
Excelchat Expert 23/09/2018 - 02:27
=IF(B2>=28, "A*",IF(B2>=25, "A",IF(B2>=21, "B",IF(B2>=17, "C",IF(B2>=14, "D", "E")))))
User 23/09/2018 - 02:27
I have
Excelchat Expert 23/09/2018 - 02:27
And then drag it down to the end of the range of your data.
User 23/09/2018 - 02:27
let me retry
User 23/09/2018 - 02:28
this now works!
Excelchat Expert 23/09/2018 - 02:28
Wow!
Excelchat Expert 23/09/2018 - 02:28
That is so good.
User 23/09/2018 - 02:29
how can we open up anoher chat to finalise my spreadshhet with the final formula?
Excelchat Expert 23/09/2018 - 02:29
You can just end the chat.
Excelchat Expert 23/09/2018 - 02:29
And then start a new chat.
Excelchat Expert 23/09/2018 - 02:29
You can end it from your side.
User 23/09/2018 - 02:30
thanks very much for your help
Excelchat Expert 23/09/2018 - 02:30
It was my pleasure helping you solve this problem. Any time you have a problem with Excel do not hesitate to come back for help.
Excelchat Expert 23/09/2018 - 02:30
Hope to meet you in the next chat.
Excelchat Expert 23/09/2018 - 02:31
Please remember to rate us at the end of the chat for better and quality services. Thank you!

This is the output file from the real Excelchat help session:
This is an example of the expert help you can get. It contains no private user information.

Get instant expert help with Excel and Google Sheets

#### Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Your privacy is guaranteed. Your session will not be used for blog unless you give us persmission.