Comments on: GoogleDocs Spreadsheet Super Challenge!
http://ask.metafilter.com/107773/GoogleDocs-Spreadsheet-Super-Challenge/
Comments on Ask MetaFilter post GoogleDocs Spreadsheet Super Challenge!Wed, 26 Nov 2008 08:24:01 -0800Wed, 26 Nov 2008 08:24:01 -0800en-ushttp://blogs.law.harvard.edu/tech/rss60Question: GoogleDocs Spreadsheet Super Challenge!
http://ask.metafilter.com/107773/GoogleDocs-Spreadsheet-Super-Challenge
ExcelFilter: I need to make a cell in one column tell another cell in that row to add itself to another cell somewhere else entirely. Added difficulty! I need to do this in Google Docs. <br /><br /> I have a sheet where one column (column C) will only have five set text values. (And by set values I mean there will only ever be one of five things that are typed in a cell in this column. I don't mean that Excel knows what these values are.)<br>
<br>
Whenever one of these five values are entered, there will also be a numerical value typed in a different cell in that row (always in column G). That numerical cell gets summed into a numerical cell on a different portion of the sheet.<br>
<br>
What I'd like to do is have the sheet recognize when one of the five text values is typed into column C and have that trigger the sheet to automatically add whatever is in column G to the sum in the ensuing cell (H3 for our purposes here).<br>
<br>
So, for example: cell C12 has "Graphics" typed into it, then "4" typed into cell G12. I would like G12 to know that it has to automatically add itself to the sum in cell H3 based on the fact that "Graphics" has been typed into C12.<br>
<br>
Unfortunately, I need to do this in Google Docs' spreadsheet program. Is this even possible?post:ask.metafilter.com,2008:site.107773Wed, 26 Nov 2008 08:11:55 -0800greenlandexcelgoogledocsBy: reptile
http://ask.metafilter.com/107773/GoogleDocs-Spreadsheet-Super-Challenge#1553281
Use the SUMIF function in cell H3. For example =SUMIF(C4:C63355,"Graphics",G4:G65535) will summ all the cells from G4:G65535 where the corresponding value in column C is equal to "Graphics".comment:ask.metafilter.com,2008:site.107773-1553281Wed, 26 Nov 2008 08:24:01 -0800reptileBy: rube goldberg
http://ask.metafilter.com/107773/GoogleDocs-Spreadsheet-Super-Challenge#1553327
reptile has it, except that the cell ranges should be of equal length. I would suggest using column references instead - provided there is no other data in those columns. <br>
<br>
The formula in H3 would look like this, =SUMIF(C:C, "Graphics", G:G).<br>
So if Graphics is entered into any cell in column C, the formula will sum the corresponding values in column G. <br>
<br>
This should work in Excel and Google Docs, and is cleaner for Google Docs since, unlike Excel, their spreadsheets supposedly are not limited to 65536 rows.comment:ask.metafilter.com,2008:site.107773-1553327Wed, 26 Nov 2008 08:55:56 -0800rube goldbergBy: reptile
http://ask.metafilter.com/107773/GoogleDocs-Spreadsheet-Super-Challenge#1553369
Erm yeah 63355 was a typo, meant to put 65535. I blame lack of coffee. Good luck with your spreadsheet.comment:ask.metafilter.com,2008:site.107773-1553369Wed, 26 Nov 2008 09:20:48 -0800reptile