![]() |
Totalling coded values
Given a table of exam grades and corresponding marks as below, how do I sum a
series of grades? E.g if grades are A*,A, C & D how do I total the marks of 58, 52, 40 and 34. Assume data is columns B to J with (some) blank column entries. TIA. Codes Marks A* 58 A 52 B 46 C 40 D 34 E 28 F 22 G 16 U 0 |
Totalling coded values
You can create in a different section a new table that contains the
equivalent of the Letter Grade, for Example Student 1 58 52 40 34 and Total or AVG Column On each of the cells you have a vlookup formula that looks for the Grade on the Table of codes and Marks and returns the marks. -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Toppers" wrote: Given a table of exam grades and corresponding marks as below, how do I sum a series of grades? E.g if grades are A*,A, C & D how do I total the marks of 58, 52, 40 and 34. Assume data is columns B to J with (some) blank column entries. TIA. Codes Marks A* 58 A 52 B 46 C 40 D 34 E 28 F 22 G 16 U 0 |
Totalling coded values
I am unable to add data as you suggest so I am looking for a formula which
will "look up" the grades and total the corresponding marks. "Michael" wrote: You can create in a different section a new table that contains the equivalent of the Letter Grade, for Example Student 1 58 52 40 34 and Total or AVG Column On each of the cells you have a vlookup formula that looks for the Grade on the Table of codes and Marks and returns the marks. -- If this posting was helpful, please click on the Yes button. Regards, Michael Arch. "Toppers" wrote: Given a table of exam grades and corresponding marks as below, how do I sum a series of grades? E.g if grades are A*,A, C & D how do I total the marks of 58, 52, 40 and 34. Assume data is columns B to J with (some) blank column entries. TIA. Codes Marks A* 58 A 52 B 46 C 40 D 34 E 28 F 22 G 16 U 0 |
Totalling coded values
Criterias - defined name range (eg. A2:A5)
Codes - defined name range (eg. B2:B10) Marks - defined name range (eg. C2:C10) =SUMPRODUCT((ISNUMBER(MATCH(Codes,Criterias,0)))*M arks) Adjust your range to suit "Toppers" wrote: Given a table of exam grades and corresponding marks as below, how do I sum a series of grades? E.g if grades are A*,A, C & D how do I total the marks of 58, 52, 40 and 34. Assume data is columns B to J with (some) blank column entries. TIA. Codes Marks A* 58 A 52 B 46 C 40 D 34 E 28 F 22 G 16 U 0 |
Totalling coded values
This doesn't work if a grade occurs more than once as MATCH only finds the
first occurence. I resorted to a simple macro function to solve. Thanks for your help. "Teethless mama" wrote: Criterias - defined name range (eg. A2:A5) Codes - defined name range (eg. B2:B10) Marks - defined name range (eg. C2:C10) =SUMPRODUCT((ISNUMBER(MATCH(Codes,Criterias,0)))*M arks) Adjust your range to suit "Toppers" wrote: Given a table of exam grades and corresponding marks as below, how do I sum a series of grades? E.g if grades are A*,A, C & D how do I total the marks of 58, 52, 40 and 34. Assume data is columns B to J with (some) blank column entries. TIA. Codes Marks A* 58 A 52 B 46 C 40 D 34 E 28 F 22 G 16 U 0 |
All times are GMT +1. The time now is 02:09 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com