i have an excel sheet with formula one results. columns denote the driver, his results…
- User
i have an excel sheet with formula one results. columns denote the driver, his results on each race and the total points he got that season. Total points is the sum of how many points he got each race. Currently, on each race, I have the number of points, but I want to put the position he finished the race in. Then I want to do something as a map to map the position to the number of points. How do i do that?
- Assistant
- User
thank you. Is there a formula for the sum without needing the additional helper row? Something like Sum(B2:B21)?
- Assistant
Yes! You can calculate the total points directly from the finishing positions in each race without a helper row, by using an array formula that looks up each finishing position and sums the corresponding points.
How to do it:
Suppose your finishing positions for a driver are in cells
B2throughL2.Your lookup table (positions and points) is in the range
X2:Y12as before.You can use a formula like this in your Total Points cell (e.g.,
M2):excel=SUM(IFERROR(VLOOKUP(B2:L2, $X$2:$Y$12, 2, FALSE), 0))
Important Notes:
-
In Excel versions that support (Excel 365, Excel 2021), you can enter this formula as is, and it will work correctly.
-
- User
how does vlookup work? why there are 4 argumebts?
- Assistant