-1

I am just trying to make a quick gpa calculator file in excel. I am thinking I could just have the class names in rows, then along the columns I can have "Grade" and "Credits". I am wondering if it would be possible to make a switch statement or use a dictionary to calculate how much each grade would be e.g. "A" = 4.0, "A-" = "3.7" etc.

4

1 回答 1

1

您正在搜索VLOOKUP函数。

     A    B    C  D
1    A   4.0   A- =VLOOKUP(C1;A1:B99;2;TRUE)
2    A-  3.7   A  =VLOOKUP(C2;A1:B99;2;TRUE)
于 2013-09-11T06:50:07.017 回答