<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with conditional</title>
      <link>http://ask.metafilter.com/tags/conditional</link>
      <description>Questions tagged with 'conditional' at Ask MetaFilter.</description>
	  <pubDate>Thu, 22 Oct 2009 04:21:42 -0800</pubDate> <lastBuildDate>Thu, 22 Oct 2009 04:21:42 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Conditional Formula Selection in Excel</title>
	<link>http://ask.metafilter.com/136121/Conditional%2DFormula%2DSelection%2Din%2DExcel</link>	
	<description>How can I create an Excel worksheet which uses something like VLOOKUP (or anything which works in a similarish way) not to pull values, but formulas? So, here&apos;s the situation: I&apos;m trying to make a single billing Excel sheet where I can keep track of invoicing multiple clients.  However, due to peculiarities of my industry (translation), the formula used for billing each client is different.  Some round up to the nearest 100 words, some round normally to the nearest 100 (49 rounds to 0, 51 rounds to 100), some are billed X per 100 words, some are paid Y per 100 words.&lt;br&gt;
&lt;br&gt;
I can make any one of those formulas fine, independently, but I&apos;d like to have all clients on the same page, and use some sort of formula where I&apos;d pick the clients name, enter the number of words in the translation, and Excel would look up in a table or something to determine that, for example, the formula for Company A is ROUNDUP(A2/100,0)*100*B2 but the formula for Company B is ROUND(A2/100,0)*100*B17 or the like.&lt;br&gt;
&lt;br&gt;
Is there any way to do this without nesting IF clauses (which would become troublesome the more clients I got)?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136121</guid>
	<pubDate>Thu, 22 Oct 2009 04:21:42 -0800</pubDate>
	<category>conditional</category>
	<category>Excel</category>
	<category>formulas</category>
	<category>resolved</category>
	<dc:creator>Bugbread</dc:creator>
	</item>
	<item>
	<title>Its like choose your own adventure, but the adventure is work and the outcome is always a workorder</title>
	<link>http://ask.metafilter.com/135299/Its%2Dlike%2Dchoose%2Dyour%2Down%2Dadventure%2Dbut%2Dthe%2Dadventure%2Dis%2Dwork%2Dand%2Dthe%2Doutcome%2Dis%2Dalways%2Da%2Dworkorder</link>	
	<description>TechFilter: I need a way to do information gathering questions that adjust based on previously asked questions. Must be easy to put on a website or transmit to customers and then receive their responses. We are swamped in these requests for custom data integration of our product to our customers&apos; databases; and mired when integrations that should take hours stretch on for weeks due to mis-communication.&lt;br&gt;
&lt;br&gt;
We need something that is part worksheet, part check list, and part request form/work order for the customer to fill out. Something that will give them context and information about what we do, give us all the needed information about their systems, force them to answer questions about exactly what they want and keep a copy of what they give us so later we can explain why what we did is what they asked for. It would also be cool (not essential) if it could &quot;tally&quot; the answers. IE &quot;yes we can automate&quot;, or &quot;no we can&apos;t&quot; or &quot;someone will get back to you&quot;.&lt;br&gt;
&lt;br&gt;
The problem is ideally we want to keep it simple, but still gather all the needed information and easy to transmit to (sometimes technologically limited) customers.&lt;br&gt;
&lt;br&gt;
I am thinking a dynamic questionnaire that will have conditional parts. IE, if you answer Question 1 with YES, then questions 4, 5, and 6 appear, but if you answer with NO, then question 3 appears and question 10 disappears, and if you answer with &quot;I don&apos;t know&quot; question 2 appears with an open ended question and a text box, etc.&lt;br&gt;
&lt;br&gt;
at the end we need a readout of what they answered so that we have a record of what they want.&lt;br&gt;
&lt;br&gt;
I already know a few ways to do this that are merely adequate, but I&apos;d like to hear a broader view of options. That said, don&apos;t tell me for the 6th time it can be done in excel unless you can provide me with a really good example of a finished product that is professional looking and drop dead easy to use.&lt;br&gt;
&lt;br&gt;
THAT said, I ALSO need this in 2 weeks (or at least a working prototype sans content).&lt;br&gt;
&lt;br&gt;
Thanks Hive Mind!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.135299</guid>
	<pubDate>Mon, 12 Oct 2009 17:13:12 -0800</pubDate>
	<category>conditional</category>
	<category>digitalworksheet</category>
	<category>questionnaire</category>
	<category>webform</category>
	<dc:creator>DetonatedManiac</dc:creator>
	</item>
	<item>
	<title>Automatically updating multiple Excel worksheets from one &quot;master&quot; worksheet?</title>
	<link>http://ask.metafilter.com/126974/Automatically%2Dupdating%2Dmultiple%2DExcel%2Dworksheets%2Dfrom%2Done%2Dmaster%2Dworksheet</link>	
	<description>How to automatically breakout Excel worksheets based off one &quot;master&apos; worksheet? I inherited an Excel spreadsheet that is being used to to track individual orders.  It is built so each order has its own row and the columns reflect various information (i.e. state)&lt;br&gt;
&lt;br&gt;
My boss wants data entry done on the &quot;master&quot; worksheet. Then he wants the other sheets to automatically update given certain criteria. (For example, all orders placed in California.)&lt;br&gt;
&lt;br&gt;
Let&apos;s say the state column is Column A and the values are simple two letter postal codes. &lt;br&gt;
&lt;br&gt;
How would I write a function that would say if A2 is CA, then paste 2 here and if A2 is not CA, go to row 3 and check for CA?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.126974</guid>
	<pubDate>Thu, 09 Jul 2009 11:54:41 -0800</pubDate>
	<category>conditional</category>
	<category>excel</category>
	<category>multiple</category>
	<category>update</category>
	<category>worksheet</category>
	<dc:creator>entropicamericana</dc:creator>
	</item>
	<item>
	<title>How to get around Excel macro warning.</title>
	<link>http://ask.metafilter.com/105939/How%2Dto%2Dget%2Daround%2DExcel%2Dmacro%2Dwarning</link>	
	<description>How to bypass Excel macro warning or alternative to macro.

Working in Excel and need to &quot;highlight&quot; when others replace a formula with a manually entered value.&lt;br&gt;
&lt;br&gt;
For different reasons, this complicated, multi-sheet, multi-user spreadsheet cannot be locked or protected as 2 dozen individuals make periodic changes to it and since they often enter information incorrectly, we want some formatting to make the errors stand out when they enter it, or for the oblivious, make it easier for the reviewer to catch the problems.&lt;br&gt;
&lt;br&gt;
I do not want alternatives to Excel (Open Office, Google, etc) nor do I want recommendations to use something besides a spreadsheet.&lt;br&gt;
&lt;br&gt;
What I need is an easily implemented patch/fix to disable the macro warning (A Digital signature is not an option) or an alternative, non-macro, way to implement the same setup below.&lt;br&gt;
&lt;br&gt;
NAME is defined as &quot;FormulaCheck&quot;&lt;br&gt;
which Refers to &quot;=GET.CELL(48,INDIRECT(&quot;rc&quot;,0))&quot;&lt;br&gt;
&lt;br&gt;
The affected cells are formatted with a standard RED Fill Color&lt;br&gt;
They are then Conditionally formatted with Formula is &quot;FormulaCheck&quot; with the conditional format to be a fill color of pale blue with no other conditions (FormulaCheck is a True/False)&lt;br&gt;
&lt;br&gt;
This allows for the formula to display the normal visual look and formatting when all is well and if someone enters data manually that overwrites a formula it will stand out in RED. The intent is so that the user, or the reviewer will easily be able to locate the screw-ups.&lt;br&gt;
&lt;br&gt;
The problem with this older macro language is that it also requires the user to click on &quot;enable&quot; or &quot;yes&quot; or some variation to allow macros to run whenever they open the document. This is done by the many individuals a few times a day.&lt;br&gt;
&lt;br&gt;
My google-fu has failed me and I need some alternative to disable the macros or to try it in VBA (which I&apos;m really not familiar with.)&lt;br&gt;
&lt;br&gt;
Bonus points if it is easy to implement so that I can document the use for other spreadsheets the users may want to try this on.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.105939</guid>
	<pubDate>Tue, 04 Nov 2008 06:18:34 -0800</pubDate>
	<category>conditional</category>
	<category>excel</category>
	<category>formatting</category>
	<category>macro</category>
	<category>resolved</category>
	<category>vba</category>
	<category>warning</category>
	<dc:creator>emjay</dc:creator>
	</item>
	<item>
	<title>Using conditional formulas to sum up data in Microsoft Excel</title>
	<link>http://ask.metafilter.com/82890/Using%2Dconditional%2Dformulas%2Dto%2Dsum%2Dup%2Ddata%2Din%2DMicrosoft%2DExcel</link>	
	<description>Can I use Excel to loop through lists of names and sum up numbers for each name, without having to define the cell ranges that correspond to each name? (This is Excel 2003.)&lt;br&gt;
&lt;br&gt;
I have an Excel workbook with many worksheets inside. Each worksheet corresponds to an area of responsibility. Each row has a person&apos;s name on it, but each person can have many rows. So when sorted by name, each worksheet looks like this:&lt;br&gt;
&lt;br&gt;
Doe, John     x     x     x     1.00     x&lt;br&gt;
Doe, John     x     x     x     4.00     x&lt;br&gt;
Smith, Jane     x     x     x     8.00     x&lt;br&gt;
Smith, Jane     x     x     x     6.00     x&lt;br&gt;
&lt;br&gt;
Where each x represents a column of data I don&apos;t care much about. There are no blank lines between the names; there&apos;s just a header row at the top of the spreadsheet, then solid data until the end of the name list.&lt;br&gt;
&lt;br&gt;
I also have a summary worksheet with one row for each worksheet. The summary worksheet uses =SUM(WorksheetName!StartingCell:EndingCell) to add up the numbers column.&lt;br&gt;
&lt;br&gt;
What I really want to do is create another summary worksheet that would have a row for each worksheet + person combination that sums that person&apos;s total numbers on that worksheet. So it would look like:&lt;br&gt;
&lt;br&gt;
Worksheet Name&lt;br&gt;
     Doe, John     5.00&lt;br&gt;
     Smith, Jane     14.00&lt;br&gt;
&lt;br&gt;
Repeated for each worksheet and the people who have numbers on that worksheet.&lt;br&gt;
&lt;br&gt;
I want a formula that will:&lt;br&gt;
1. Look at the each cell in the first column of a given worksheet.&lt;br&gt;
2. For each cell that contains a name, skip over four columns and add the number in that cell to a running total.&lt;br&gt;
3. Continue until it hits a different name, then dump the total in a cell on my &quot;person summary&quot; worksheet.&lt;br&gt;
3. Repeat that process for the next name in the worksheet, until it comes to the first blank cell in the first column.&lt;br&gt;
&lt;br&gt;
Can Excel handle this type of conditional formula? I can&apos;t find an example that seems analogous to what I want -- or if I have, I haven&apos;t recognized it.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.82890</guid>
	<pubDate>Tue, 05 Feb 2008 18:34:04 -0800</pubDate>
	<category>conditional</category>
	<category>excel</category>
	<category>math</category>
	<category>Microsoft</category>
	<dc:creator>korres</dc:creator>
	</item>
	<item>
	<title>How can I conditionally format an entire row in Excel based upon the data in one of the columns in that row?</title>
	<link>http://ask.metafilter.com/82598/How%2Dcan%2DI%2Dconditionally%2Dformat%2Dan%2Dentire%2Drow%2Din%2DExcel%2Dbased%2Dupon%2Dthe%2Ddata%2Din%2Done%2Dof%2Dthe%2Dcolumns%2Din%2Dthat%2Drow</link>	
	<description>How can I conditionally format an entire row in Excel 2007 based upon the contents of a particular column in that row? Say row 1 column J, row 4 column J, and row 19 column J all contain &quot;Alice.&quot; I&apos;d like rows 1, 4, and 19 all to appear with a red background. Say row 2 column J, row 44 column J, and row 45 column J all contain &quot;Bob.&quot; I&apos;d like for rows 2, 44, and 45 all to appear with a blue background. And so forth.&lt;br&gt;
&lt;br&gt;
Basically, what I&apos;m asking is how to make a relative column reference in a formula. I remember doing precisely this using VBScript for Excel years ago, but for the life of me can&apos;t locate that old code. Anyway, something along the lines of the following psuedo-code entered into the Conditional Formatting dialog box:&lt;br&gt;
&lt;br&gt;
Apply &quot;Format 1&quot; according to the following formula [assuming (y,x) refers to (column y, row x)]:&lt;br&gt;
&lt;br&gt;
=IF((J,ROW())=&quot;Alice&quot;)&lt;br&gt;
&lt;br&gt;
It might also be nice to do this with a named range, so that if I apply the name &quot;First_Name&quot; to the entirety of row J, the formula is then a bit clearer:&lt;br&gt;
&lt;br&gt;
=IF((First_Name,ROW())=&quot;Alice&quot;)&lt;br&gt;
&lt;br&gt;
Total n00b0 question, I&apos;m sure, but I don&apos;t spend much time in Excel, and am would very much appreciate the help.  Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.82598</guid>
	<pubDate>Fri, 01 Feb 2008 17:33:34 -0800</pubDate>
	<category>2007</category>
	<category>conditional</category>
	<category>conditionalformatting</category>
	<category>excel</category>
	<category>excel2007</category>
	<category>format</category>
	<category>formatting</category>
	<category>microsoft</category>
	<category>row</category>
	<dc:creator>ChasFile</dc:creator>
	</item>
	<item>
	<title>If I were recently laid off, I would have a lot of time on my hands.</title>
	<link>http://ask.metafilter.com/77889/If%2DI%2Dwere%2Drecently%2Dlaid%2Doff%2DI%2Dwould%2Dhave%2Da%2Dlot%2Dof%2Dtime%2Don%2Dmy%2Dhands</link>	
	<description>GrammarFilter: Is the sentence &#8220;If I were ______, I would have done _____&#8221; grammatically incorrect?  If so, why? This is a grammar question.  &lt;br&gt;
&lt;br&gt;
Is a sentence that begins with  &#8220;If I/you/she &lt;i&gt;were&lt;/i&gt;&#8221; and ends with &#8220;I &lt;i&gt;would have&lt;/i&gt; done __________&#8221; grammatically incorrect?   I&#8217;ve assumed that a sentence that begins with the (subjunctive?) &#8220;If I &lt;i&gt;were&lt;/i&gt;&#8221; has to be paired with a (conditional?) phrase such as &#8220;this &lt;i&gt;would&lt;/i&gt; happen&#8221; and that a sentence which ends with a phrase like &#8220;&lt;i&gt;would have&lt;/i&gt;&#8221; has to be paired with a phrase like &#8220;If I &lt;i&gt;had been&lt;/i&gt;.&#8221;  Under that scheme, these sentences should read like this: &lt;br&gt;
&lt;br&gt;
&quot;If I were ______, I would do (this, that and the other thing).&quot;&lt;br&gt;
&lt;br&gt;
&quot;If I had been ______, I would have done (this, that and the other thing).&quot; &lt;br&gt;
&lt;br&gt;
Is this assumption correct?  While I&#8217;m on the topic, what verb tenses am I using in the latter example (&#8220;would have&#8221; and &#8220;If I had been&#8221;) and how can I explain this rule to people who are not grammar geeks? &lt;br&gt;
&lt;br&gt;
Many thanks in advance.  Happy Holidays!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.77889</guid>
	<pubDate>Wed, 05 Dec 2007 10:10:05 -0800</pubDate>
	<category>Conditional</category>
	<category>English</category>
	<category>Grammar</category>
	<category>Subjunctive</category>
	<category>Verbs</category>
	<dc:creator>jason&apos;s_planet</dc:creator>
	</item>
	<item>
	<title>I would like to be more polite</title>
	<link>http://ask.metafilter.com/24620/I%2Dwould%2Dlike%2Dto%2Dbe%2Dmore%2Dpolite</link>	
	<description>In (some) languages, why is the conditional so frequently related to politeness? In the languages I&apos;ve studied to some degree (English, Spanish, French, Russian), the most common way to be polite is to use the conditional. &quot;I would like,&quot; &quot;quisiera,&quot; &quot;j&apos;aimerais,&quot; &quot;Ya buy khotyel,&quot; etc. I&apos;m wondering if anyone knows why this is? it&apos;s not, at least for me, intuitive. Are there other languages that do it drastically differently?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2005:site.24620</guid>
	<pubDate>Tue, 27 Sep 2005 09:01:41 -0800</pubDate>
	<category>conditional</category>
	<category>formal</category>
	<category>politeness</category>
	<dc:creator>ORthey</dc:creator>
	</item>
	
	</channel>
</rss>

