• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

Google Spreadsheets Equation

=SUM((INDIRECT("SA_Report_Data!T"&B13):(INDIRECT("SA_Report_Data!T"&C13))))+SUM((INDIRECT("SA_Report_Data!X"&B13):(INDIRECT("SA_Report_Data!X"&C13)))))/SUM((INDIRECT("SA_Report_Data!AM"&B13):(INDIRECT("SA_Report_Data!AM"&C13)))

This does not seem to work for me...

(sum of range + sum of range)/(sum of range)
0
swedishmotors
Asked:
swedishmotors
2 Solutions
 
tygrus2Commented:
Brackets in wrong place ?
Check to see if either of the following help
=(SUM(INDIRECT("SA_Report_Data!T"&B13):INDIRECT("SA_Report_Data!T"&C13))+SUM(INDIRECT("SA_Report_Data!X"&B13):INDIRECT("SA_Report_Data!X"&C13)))/(SUM(INDIRECT("SA_Report_Data!AM"&B13):INDIRECT("SA_Report_Data!AM"&C13)))

Open in new window

..OR..
=(SUM((INDIRECT("SA_Report_Data!T"&B13)):(INDIRECT("SA_Report_Data!T"&C13)))+SUM((INDIRECT("SA_Report_Data!X"&B13)):(INDIRECT("SA_Report_Data!X"&C13))))/(SUM((INDIRECT("SA_Report_Data!AM"&B13)):(INDIRECT("SA_Report_Data!AM"&C13))))

Open in new window


I'm not familiar with Google spreadsheet app but I made a few assumptions and focused on the placement of brackets in your code.
=(SUM(INDIRECT("SA_Report_Data!T"&B13):INDIRECT("SA_Report_Data!T"&C13))+SUM(INDIRECT("SA_Report_Data!X"&B13):INDIRECT("SA_Report_Data!X"&C13)))/(SUM(INDIRECT("SA_Report_Data!AM"&B13):INDIRECT("SA_Report_Data!AM"&C13)))

Open in new window

=(SUM((INDIRECT("SA_Report_Data!T"&B13)):(INDIRECT("SA_Report_Data!T"&C13)))+SUM((INDIRECT("SA_Report_Data!X"&B13)):(INDIRECT("SA_Report_Data!X"&C13))))/(SUM((INDIRECT("SA_Report_Data!AM"&B13)):(INDIRECT("SA_Report_Data!AM"&C13))))

Open in new window

0
 
Curt LindstromCommented:
Or maybe
 
=(SUM(INDIRECT("SA_Report_Data!T"&B13):INDIRECT("SA_Report_Data!T"&C13))+SUM(INDIRECT("SA_Report_Data!X"&B13):INDIRECT("SA_Report_Data!X"&C13)))/(SUM(INDIRECT("SA_Report_Data!AM"&B13):INDIRECT("SA_Report_Data!AM"&C13)))

Open in new window


seems to work in the attached file

 Formula.xls

Regards,
Curt
0
 
swedishmotorsAuthor Commented:
Both solutions helped with the issue
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now