By Richard Rost 42 days ago
Max Value From Multiple Fields in Microsoft Access
In this Microsoft Access tutorial, I'm going to teach you how to find the maximum value from multiple fields in the same record. We're going to use multiple nested IIF functions.
Tabitha from Knoxville, Tennessee (a Platinum Member) asks: I have a table where I'm tracking quiz and test scores for my students. Every quarter they take 3 quizzes and 3 tests. Their grade is calculated by taking the average of the three tests and the largest grade from the quizzes. So let's say they got quiz grades of 80, 75, and 70, and then got 100s on all of their tests. Their final grade would be (100+100+100+80) / 4 = 95. My question to you is how can I determine the largest of the three quiz grades?
Members will learn how to create a function so that you can send any number of values to it using something called a parameter array.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, finding the highest value in different fields, find max value of different fields in same record, parameter array, paramarray, lbound, ubound, for each
Subscribe to Max Value
Get notifications when this page is updated
Check out these other pages that may be of interest to you: