Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-27-2024, 05:07 AM
JackKovalsky JackKovalsky is offline Power query not importing the corect atributes from windows folder Windows 11 Power query not importing the corect atributes from windows folder Office 2021
Novice
 
Join Date: Jun 2024
Posts: 1
JackKovalsky is on a distinguished road
Default reply

Hi,
To calculate a weighted average in Excel from multiple columns of grades and weights, you can use a straightforward formula. Let’s say your grades are in columns B, D, F, etc., and weights are in columns C, E, G, etc. Here’s what you do: in a new cell where you want the average, type =SUMPRODUCT(B2:F2, C2:G2) / SUM(C2:G2). This formula works by multiplying each grade by its corresponding weight across the columns, summing them up, and dividing by the total sum of weights. If there are empty cells in the weights column that you want to ignore, modify the formula like this: =SUMPRODUCT(B2:F2 * (C2:G2 <> "") * C2:G2) / SUM(C2:G2 * (C2:G2 <> "")). This ensures you get an accurate weighted average even with missing data. Adjust the cell references (like B2:F2 and C2:G2) to match your actual data layout, and you’re good to go!

Jack
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Query Formatted Text gmaxey Excel Programming 4 11-18-2023 10:00 PM
Excel power query help ganesang Excel Programming 0 09-20-2021 01:50 AM
Power query not importing the corect atributes from windows folder Format numbers in Power Query Marcia Excel 2 09-21-2020 12:59 AM
Do I need a power query for this one? shabbaranks Excel 5 04-10-2019 03:29 AM
Query and Power Query not working Excel 2016 bl10 Excel 0 07-22-2016 06:25 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft