Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-16-2016, 05:46 AM
ddeaton ddeaton is offline Complex IF(AND statement to manipulate weighted grades - better way? Windows 7 64bit Complex IF(AND statement to manipulate weighted grades - better way? Office 2010 64bit
Novice
Complex IF(AND statement to manipulate weighted grades - better way?
 
Join Date: Jun 2016
Posts: 6
ddeaton is on a distinguished road
Default Complex IF(AND statement to manipulate weighted grades - better way?

I have been using the following statement to evaluate a calculated grade. This statement will check to see if there is student listed, if not will remain blank but if it is true will determine a letter grade based on first that a particular grade is above 69.5, then it will determine the letter grade. Works great, but now I need it to also look at an additional range of cells (say K3:W3) to determine that each of those is ALSO above 69.5 before it returns a passing grade otherwise it will be an "F". I managed to get it to work by individually checking each cell with additional *AND statements BUT it would not ignore a blank cell, it treated it like a less than 69.5 score. Additionally this makes for a VERY long formula and I was wondering if there was a better, easier way. I am just now starting to use minimal VBA and cannot find a better solution as of yet. Any suggestions would be appreciated.



=IF(D3="","",IF(AND(AF3>=59.5)*AG3<69.5,"F",IF(AG3 <79.5,"C",IF(AG3<89.5,"B","A"))))

This is what works except for the blank cells:

=IF(D3="","",IF(AND(K3>=69.5)*AND(L3>=69.5)*AND(M3 >=69.5)*AND(O3>=69.5)*AND(P3>=69.5)*AND(Q3>=69.5)* AND(R3>=69.5)*AND(S3>=69.5)*AND(T3>=69.5)*AND(U3>= 69.5)*AND(V3>=69.5)*AND(W3>=69.5)*AND(AF3>=59.5)*A G3<69.5,"F",IF(AG3<79.5,"C",IF(AG3<89.5,"B","A"))) )

I suppose I could also add a check to see if they are <> "" but that is another 13 evaluations....

Thanks for looking.
David
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Complex IF(AND statement to manipulate weighted grades - better way? Counting Grades on Excel Spreadsheet Lear2016 Excel 1 01-04-2016 12:58 PM
Complex IF(AND statement to manipulate weighted grades - better way? How to manipulate the entire image? markg2 Drawing and Graphics 4 04-17-2014 04:52 AM
Complex IF(AND statement to manipulate weighted grades - better way? Software to create weighted hierarchy chart? RichardD Office 1 02-10-2012 07:56 PM
help me to manipulate excel data ibor Excel 2 02-01-2011 03:14 AM
How to manipulate Hyperlinks mecaton2 Word 0 10-04-2010 06:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft