Solved

Google Spreadsheets Equation

Posted on 2011-09-23
3
197 Views
Last Modified: 2012-05-12
=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
Comment
Question by:swedishmotors
3 Comments
 
LVL 5

Accepted Solution

by:
tygrus2 earned 125 total points
ID: 36596952
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
 
LVL 18

Assisted Solution

by:Curt Lindstrom
Curt Lindstrom earned 125 total points
ID: 36908107
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
 
LVL 1

Author Closing Comment

by:swedishmotors
ID: 37011739
Both solutions helped with the issue
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
Viewers will learn the different options available in the Backstage view in Excel 2013.
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question