Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ns ns is offline
external usenet poster
 
Posts: 8
Default Urgent - Setting up a formula

I am setting a following formula:

=IF(AB187,"A",IF(AB184,"B+",IF(AB178,"B",IF(AB1 72,"C",IF(AB1<73,"F",0)))))

for grades of student.

It gives me error. For example. If student got 87 he should have B+
according to formula. However, excel gives me "A" instead of B+.

Please help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Urgent - Setting up a formula

Hi,


For 87 the formula will return B+.

If 87 is returning A then what you see in the cell probably isn't what's
actually there. It may be (say) 87.1 but you may not be able to see the
decimal part because of formatting.

Try this.

Put 87 in another cell (say)AC1 and try this formula
=AC1=AB3

If AB3 is really 87 the formula will return TRUE. If it returns false then
that's the problem.

You could overcome that with this formula

=LOOKUP(INT(AB1),{0,73,79,85,88},{"F","C","B","B+" ,"A"})

Mike

"NS" wrote:

I am setting a following formula:

=IF(AB187,"A",IF(AB184,"B+",IF(AB178,"B",IF(AB1 72,"C",IF(AB1<73,"F",0)))))

for grades of student.

It gives me error. For example. If student got 87 he should have B+
according to formula. However, excel gives me "A" instead of B+.

Please help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Urgent - Setting up a formula

I get B+, but a better formula is

=LOOKUP(AB1,{0,"F";73,"C";78,"B";84,"B+";88,"A"})

--
__________________________________
HTH

Bob

"NS" wrote in message
...
I am setting a following formula:

=IF(AB187,"A",IF(AB184,"B+",IF(AB178,"B",IF(AB1 72,"C",IF(AB1<73,"F",0)))))

for grades of student.

It gives me error. For example. If student got 87 he should have B+
according to formula. However, excel gives me "A" instead of B+.

Please help



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I PLEASE NEED URGENT HELP WITH A FORMULA!!! Sarcalogus[_2_] Excel Worksheet Functions 1 October 15th 09 04:45 PM
IME MODE FOR EXCEL 2007 (URGENT URGENT) Stella Wong Excel Discussion (Misc queries) 1 August 23rd 08 11:16 PM
If formula - URGENT orquidea Excel Discussion (Misc queries) 7 December 14th 07 08:26 PM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Urgent Formula! Peter Curtis Excel Discussion (Misc queries) 4 January 6th 05 03:11 PM


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"