ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula Help (https://www.excelbanter.com/excel-discussion-misc-queries/23491-formula-help.html)

Shani

Formula Help
 
=IF(GID!A2:A6620="hernan giraldo",SUMPRODUCT(GID!D2:D6620,GID!E2:E6620))/C7

Above is my formula. I need this formula to come back with an average score.
I am getting a percentage back of 346.34%. It should be 91.31%. The formula
is looking for a team name, then doing a sumproduct of totals forms/score.

Thanks, I hope this was explained ok.

Bernie Deitrick

Shani,

Try array entering (enter using Ctrl-Shift-Enter)

=SUM(IF(GID!A2:A6620="hernan giraldo",GID!D2:D6620*GID!E2:E6620))/C7

HTH,
Bernie
MS Excel MVP


"Shani" wrote in message
...
=IF(GID!A2:A6620="hernan

giraldo",SUMPRODUCT(GID!D2:D6620,GID!E2:E6620))/C7

Above is my formula. I need this formula to come back with an average

score.
I am getting a percentage back of 346.34%. It should be 91.31%. The

formula
is looking for a team name, then doing a sumproduct of totals forms/score.

Thanks, I hope this was explained ok.




Biff

Hi!

Hard to tell what you want.

The Sumproduct function is totaling 2 arrays multiplied together. Is that
what you want? Or do you want them ADDED together?

Maybe something like this:

=SUMPRODUCT(--(A2:A10="hernan giraldo"),D2:D10+E2:E10)/C7

Biff

"Shani" wrote in message
...
=IF(GID!A2:A6620="hernan
giraldo",SUMPRODUCT(GID!D2:D6620,GID!E2:E6620))/C7

Above is my formula. I need this formula to come back with an average
score.
I am getting a percentage back of 346.34%. It should be 91.31%. The
formula
is looking for a team name, then doing a sumproduct of totals forms/score.

Thanks, I hope this was explained ok.





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com