ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   multiple conditions formula (https://www.excelbanter.com/excel-worksheet-functions/37356-multiple-conditions-formula.html)

mmoran

multiple conditions formula
 
I am a teacher and am working on excel for my grades. I am tyring to write a
formula that has an output of a letter grade. For example =if(AND (AQ3<100,
AQ390), "A" but then I want the condition of =if (AND(AQ3<89, AQ380),
"B" and so on.

How do I write this formula?

Megan

Tom Ogilvy

=if(Q390,"A",if(Q3=80,"B",if(Q3=70,"C",if(Q3=6 0,"D","F"))))

Anything greater than 90 is filtered out by the first condition, so it
doesn't need to be considered in subsequent conditions.
--
Regards,
Tom Ogilvy

"mmoran" wrote in message
...
I am a teacher and am working on excel for my grades. I am tyring to

write a
formula that has an output of a letter grade. For example =if(AND

(AQ3<100,
AQ390), "A" but then I want the condition of =if (AND(AQ3<89, AQ380),
"B" and so on.

How do I write this formula?

Megan




aristotle

Have a look at this post on mrexcel.com for a solution that avoids nesting so
many IF()'s within each other:

http://www.mrexcel.com/board2/viewtopic.php?t=159646

"mmoran" wrote:

I am a teacher and am working on excel for my grades. I am tyring to write a
formula that has an output of a letter grade. For example =if(AND (AQ3<100,
AQ390), "A" but then I want the condition of =if (AND(AQ3<89, AQ380),
"B" and so on.

How do I write this formula?

Megan


abqhusker

mmoran wrote:
I am a teacher and am working on excel for my grades. I am tyring to write a
formula that has an output of a letter grade. For example =if(AND (AQ3<100,
AQ390), "A" but then I want the condition of =if (AND(AQ3<89, AQ380),
"B" and so on.

How do I write this formula?

Megan



This is how I do it for my gradebook, just change the numbers and cell
references:

=IF(E4=0.91,"A",IF(E4=0.81,"B",
IF(E4=0.71,"C",IF(E4=0.61,"D","F"))))

Curt

multiple conditions formula
 
this is close to my problem. Trying to check any of three cells for entry or
value to allow a entry into another. Example
If(and(a60,d60,f60),9.75,("")) missing something in formula??

"Tom Ogilvy" wrote:

=if(Q390,"A",if(Q3=80,"B",if(Q3=70,"C",if(Q3=6 0,"D","F"))))

Anything greater than 90 is filtered out by the first condition, so it
doesn't need to be considered in subsequent conditions.
--
Regards,
Tom Ogilvy

"mmoran" wrote in message
...
I am a teacher and am working on excel for my grades. I am tyring to

write a
formula that has an output of a letter grade. For example =if(AND

(AQ3<100,
AQ390), "A" but then I want the condition of =if (AND(AQ3<89, AQ380),
"B" and so on.

How do I write this formula?

Megan





Curt

multiple conditions formula
 
Will =if(and(a10,c10,e10),a1+c1+e1,(o) it doesn't seem to work for me. Any
ideas? diferent syntax for formula?
=if(a10,if(c10,if(e10,))),a1+c1+e1,(0) Iwill try this

"Tom Ogilvy" wrote:

=if(Q390,"A",if(Q3=80,"B",if(Q3=70,"C",if(Q3=6 0,"D","F"))))

Anything greater than 90 is filtered out by the first condition, so it
doesn't need to be considered in subsequent conditions.
--
Regards,
Tom Ogilvy

"mmoran" wrote in message
...
I am a teacher and am working on excel for my grades. I am tyring to

write a
formula that has an output of a letter grade. For example =if(AND

(AQ3<100,
AQ390), "A" but then I want the condition of =if (AND(AQ3<89, AQ380),
"B" and so on.

How do I write this formula?

Megan





Curt D.

multiple conditions formula
 
Change your AND formula into an OR formula.
=IF(OR(A60,D60,F60),9.75,(""))

"Curt" wrote:

this is close to my problem. Trying to check any of three cells for entry or
value to allow a entry into another. Example
If(and(a60,d60,f60),9.75,("")) missing something in formula??

"Tom Ogilvy" wrote:

=if(Q390,"A",if(Q3=80,"B",if(Q3=70,"C",if(Q3=6 0,"D","F"))))

Anything greater than 90 is filtered out by the first condition, so it
doesn't need to be considered in subsequent conditions.
--
Regards,
Tom Ogilvy

"mmoran" wrote in message
...
I am a teacher and am working on excel for my grades. I am tyring to

write a
formula that has an output of a letter grade. For example =if(AND

(AQ3<100,
AQ390), "A" but then I want the condition of =if (AND(AQ3<89, AQ380),
"B" and so on.

How do I write this formula?

Megan






All times are GMT +1. The time now is 04:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com