Comments on: Turning in my spreadsheet wizard badge.
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge/
Comments on Ask MetaFilter post Turning in my spreadsheet wizard badge.Tue, 02 Aug 2011 10:33:38 -0800Tue, 02 Aug 2011 10:49:15 -0800en-ushttp://blogs.law.harvard.edu/tech/rss60Question: Turning in my spreadsheet wizard badge.
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge
Spreadsheet question: I want a column containing all the names in THAT column EXCEPT all the names in THOSE columns. <br /><br /> Ok, here's the deal.<br>
<br>
I have a spreadsheet. It's a google docs spreadsheet, but I'd be open to using another kind of spreadsheet if what I want just isn't possible on a google docs spreadsheet.<br>
<br>
Cells A2:A93 contain a bunch of unique names.<br>
<br>
Cells C2:N15 contain a bunch of names as well as blank cells. Not all names in A2:A93 are in C2:N15, but all names in C2:N15 are in A2:A93.<br>
<br>
I would like a formula that magically makes column B contain all the names that ARE in A2:A93 but NOT in C2:N15.<br>
<br>
Is this possible? How do I do it? Thank you!post:ask.metafilter.com,2011:site.192386Tue, 02 Aug 2011 10:33:38 -0800Salvor HardingoogledocsspreadsheetgoogledocsformulacellscontainscolumnresolvedBy: empath
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge#2769242
in excel, i'd just do a vlookup, then filter for #N/A <br>
<br>
I'm sure there's a better way to do it, though.comment:ask.metafilter.com,2011:site.192386-2769242Tue, 02 Aug 2011 10:49:15 -0800empathBy: soelo
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge#2769243
COUNTIF is the formula you want to use. In this case, you can put =COUNTIF(C2:N15,A2) in B2 and you will get either a 0 or 1 (in fact you could get higher numbers if you have duplicate values in C2:N15). Copy that formula down column B.<br>
<br>
Now you can add an IF Formula that says IF B2=1, then give me the value in A2.comment:ask.metafilter.com,2011:site.192386-2769243Tue, 02 Aug 2011 10:49:15 -0800soeloBy: soelo
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge#2769246
<em>ARE in A2:A93 but NOT in C2:N15.</em><br>
<br>
Oh, sorry. In that case you want B2=0 not 1.comment:ask.metafilter.com,2011:site.192386-2769246Tue, 02 Aug 2011 10:50:06 -0800soeloBy: Salvor Hardin
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge#2769269
Excellent! soelo - your idea worked - thanks. The only issue now is that I now have a sparse list of names in column B. Is there a way to display the names in column B stacked up at the top of the column without the blanks interspersed? I thought google's filter functionality would do it, but it isn't working. Anyhow, the man problem is solved - thanks!<br>
<br>
empath - thanks for your answer - I'm sure your way would work too, but I'm not clear on how I would use vlookup in this circumstance.comment:ask.metafilter.com,2011:site.192386-2769269Tue, 02 Aug 2011 11:04:27 -0800Salvor HardinBy: Salvor Hardin
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge#2769282
Ah, nevermind, figured out my second problem. For posterity, in a new column, I added this formula to the first cell:<br>
=SORT(B2:B100)<br>
<br>
The new column then contained the names I wanted in column B, but without all the blank cells in between.<br>
<br>
Thanks everyone!comment:ask.metafilter.com,2011:site.192386-2769282Tue, 02 Aug 2011 11:16:03 -0800Salvor HardinBy: flabdablet
http://ask.metafilter.com/192386/Turning-in-my-spreadsheet-wizard-badge#2769614
This question is raising my "sending a spreadsheet to do a database's job" red flags.<br>
<br>
Beware of mission creep.comment:ask.metafilter.com,2011:site.192386-2769614Tue, 02 Aug 2011 16:41:36 -0800flabdablet