#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default formula

i have to prepare result of my department on Excel. But excel does not aceed
more than 8 conditons if i am going to apply 9 or 10 conditions for solving
the problem i am pasting the either farmula below:

=IF(GW684,"A+",IF(GW679,"A",IF(GW674,"B+",IF(GW 669,"B",IF(GW664,"B-",IF(GW659,"C+",IF(GW654,"C",IF(GW649,"D","F")) ))))))

=IF(GW684,"A+",IF(GW679,"A",IF(GW674,"B+",IF(GW 669,"B",IF(GW664,"B-",IF(GW659,"C+",IF(GW654,"C",IF(GW649,"C-",IF(GW644,"D","F")))))))))

the former is correct one whereas the later one is also logically corrent
but excel does not accept, like as i add C- with logical condition but it
does accpet, please help me out.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default formula

Hi Rashid

You would be much better off with a lookup table.
In cells A1:A10 enter the numbers 0,44,49 .... to 84
In cells B1:B10 enter F,D,C-,.........to A

Assuming the mark was in C1 then the formula would be
=VLOOKUP(C1,$A$1:$B$10,2)

Change the location of your table to suit your requirements and amend
the formula accordingly.

--
Regards

Roger Govier


"Rashid Hussain" <Rashid wrote in
message ...
i have to prepare result of my department on Excel. But excel does not
aceed
more than 8 conditons if i am going to apply 9 or 10 conditions for
solving
the problem i am pasting the either farmula below:

=IF(GW684,"A+",IF(GW679,"A",IF(GW674,"B+",IF(GW 669,"B",IF(GW664,"B-",IF(GW659,"C+",IF(GW654,"C",IF(GW649,"D","F")) ))))))

=IF(GW684,"A+",IF(GW679,"A",IF(GW674,"B+",IF(GW 669,"B",IF(GW664,"B-",IF(GW659,"C+",IF(GW654,"C",IF(GW649,"C-",IF(GW644,"D","F")))))))))

the former is correct one whereas the later one is also logically
corrent
but excel does not accept, like as i add C- with logical condition but
it
does accpet, please help me out.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default formula

Try this:
=VLOOKUP(GW6,{0,"F";45,"D";50,"C-";55,"C";60,"C+";65,"B-";70,"B";75,"B+";80,"A";85,"A+"},2)

Regards,
Stefi

€˛Rashid Hussain€¯ ezt Ć*rta:

i have to prepare result of my department on Excel. But excel does not aceed
more than 8 conditons if i am going to apply 9 or 10 conditions for solving
the problem i am pasting the either farmula below:

=IF(GW684,"A+",IF(GW679,"A",IF(GW674,"B+",IF(GW 669,"B",IF(GW664,"B-",IF(GW659,"C+",IF(GW654,"C",IF(GW649,"D","F")) ))))))

=IF(GW684,"A+",IF(GW679,"A",IF(GW674,"B+",IF(GW 669,"B",IF(GW664,"B-",IF(GW659,"C+",IF(GW654,"C",IF(GW649,"C-",IF(GW644,"D","F")))))))))

the former is correct one whereas the later one is also logically corrent
but excel does not accept, like as i add C- with logical condition but it
does accpet, please help me out.

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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 08:39 AM.

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"