Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 791
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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

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
Totalling Values From The Same Cell In 12 Worksheets Onto New Shee Gatsby Excel Worksheet Functions 4 January 11th 07 02:04 AM
Totalling Values From The Same Cell In 12 Worksheets Onto New Shee Gatsby Setting up and Configuration of Excel 3 January 11th 07 02:03 AM
Convert Hard-coded cell values to constants Takeadoe Excel Discussion (Misc queries) 2 May 20th 06 12:59 AM
Totalling unique values Stumped Excel Discussion (Misc queries) 2 July 27th 05 02:59 PM
Totalling values across columns Glenn Excel Worksheet Functions 3 January 26th 05 01:47 AM


All times are GMT +1. The time now is 09:35 PM.

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"