LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
JulieD
 
Posts: n/a
Default If Statements

Hi

you can't nest more than 7 IF's ... but you can use VLOOKUP instead - create
a table somewhere in your workbook consisting of two columns
.........A.............B
1.....Grade.......Value
2.......A..............4
3.......B..............3
etc

then instead of your IF use
=VLOOKUP(A1,Sheet2!$A$2:$B$11,2,0)
this says, lookup the value in A1 in the table on sheet 2 (ie the table as
outlined above) and return the associated value from the second column (ie
column B) where there is an exact match.

Hope this helps
Cheers
julieD


"NEWNEW" wrote:

I need to include more than 7 functions in an "IF" statement. It's so
simple, but I can't figure it out. What I need pertains to grades. In a
hidden column, I have basically "IF" A is entered, return 4; If B is entered,
return 3, etc., down to "F." However, I now need to include Honor Class
grades (A=4.5, B=3.5, C=2.5, and D=1.5). A, B, C, D, F, AH, BH, CH, DH --
that's 9. CAN ANYONE HELP ME!!??

THANK YOU

 
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
VLOOKUP + IF STATEMENTS Excel Discussion (Misc queries) 6 April 1st 05 08:43 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
4 different if statements, not working Brian Excel Worksheet Functions 5 December 12th 04 08:17 PM
Macro to find and delete all FALSE statements Woody13 Excel Discussion (Misc queries) 3 December 8th 04 11:16 PM
If statements Mark Excel Worksheet Functions 3 November 2nd 04 08:39 PM


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

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

About Us

"It's about Microsoft Excel"