<?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 formulas</title>
      <link>http://ask.metafilter.com/tags/formulas</link>
      <description>Questions tagged with 'formulas' 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>Need excel formula to calculate the number of days in a date range, if they end within that range</title>
	<link>http://ask.metafilter.com/134313/Need%2Dexcel%2Dformula%2Dto%2Dcalculate%2Dthe%2Dnumber%2Dof%2Ddays%2Din%2Da%2Ddate%2Drange%2Dif%2Dthey%2Dend%2Dwithin%2Dthat%2Drange</link>	
	<description>I need a formula to help calculate the number of days as compared to a range.
Importing a CSV for a query to show bookings within the date range of 9/1 to 9/30. Some bookings are booked through the entire month and some are partial. I need to figure out the number of days or percentage for the bookings that don&apos;t run all the way through the query range. Query Start Date: 09/01/09&lt;br&gt;
Query End Date: 09/30/09&lt;br&gt;
&lt;br&gt;
Booking1 | 02/14/09 (booking start) | 10/14/09 (booking end)&lt;br&gt;
Booking2 | 03/01/09 (booking start) | 09/15/09 (booking end)&lt;br&gt;
Booking3 | 06/11/09 (booking start) | 12/31/09 (booking end)&lt;br&gt;
&lt;br&gt;
So I know that Booking 1 and 3 go through the entire month of the query range (30 days), but I need a formula to figure out how many days are in Booking 2. I know that you can apply formula to each row to subtract dates, but I have hundreds of rows.  I was thinking it would read something like: &quot;If end date is less than query end date, then subtract booking end date from query start date (and add 1).&quot; Maybe to take it further, &quot;else sum is 30 days&quot;&lt;br&gt;
Any help is appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.134313</guid>
	<pubDate>Thu, 01 Oct 2009 07:15:54 -0800</pubDate>
	<category>Excel</category>
	<category>formulas</category>
	<dc:creator>malcommc</dc:creator>
	</item>
	<item>
	<title>Everything looks like a nail!</title>
	<link>http://ask.metafilter.com/126877/Everything%2Dlooks%2Dlike%2Da%2Dnail</link>	
	<description>Asking_for_friendFilter/ExcelFilter: I&#8217;ve built a pretty basic calculator in Excel to help people figure out how much to bill for partial months vs. full months. As you can guess, there&apos;s... Is it possible to take a value from one formula result (number of billing periods = 4) and automatically insert rows with values as listed? Is Excel even capable of this?  Ideally, this would be a form for internal use only.&lt;br&gt;
&lt;br&gt;
Number = 4&lt;br&gt;
Insert 4 rows&lt;br&gt;
Label with date ranges (see example below)&lt;br&gt;
Insert formulas for calculating billing&lt;br&gt;
&lt;br&gt;
Example:&lt;br&gt;
Start Date: 08/12/2009&lt;br&gt;
End Date: 11/11/2009&lt;br&gt;
Duration: 3 months&lt;br&gt;
Cost: $1000 per month&lt;br&gt;
Billing Periods: 4&lt;br&gt;
&lt;br&gt;
1st Billing Period: 08/12/2009 - 08/31/2009  20 days&lt;br&gt;
2nd Billing Period: 09/01/2009 - 09/30/2009 full month&lt;br&gt;
3rd Billing Period: 10/01/2009 - 10/31/2009 full month&lt;br&gt;
4th Billing Period: 11/01/2009 - 11/11/2009 11 days&lt;br&gt;
&lt;br&gt;
Number of Partial Months: 2&lt;br&gt;
Number of Full Months: 2&lt;br&gt;
&lt;br&gt;
P.S. - I&apos;m going to try and help him build this in PHP, which should be brain-dead simple, but he&apos;d like the Excel version of the solution too. Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.126877</guid>
	<pubDate>Wed, 08 Jul 2009 11:44:39 -0800</pubDate>
	<category>excel</category>
	<category>formulas</category>
	<category>office</category>
	<dc:creator>littlerobothead</dc:creator>
	</item>
	<item>
	<title>Excel formulas for Dummies, please.</title>
	<link>http://ask.metafilter.com/123180/Excel%2Dformulas%2Dfor%2DDummies%2Dplease</link>	
	<description>This is probably a pretty basic Excel formula question, but I&apos;m clueless. I have a document with some numbers in a column, and there are 6 separate sheets with these numbers.  I want to change the amount of each number to one quarter its current value (times 0.25).  What is the formula for this?  And how do I copy that formula from cell to the full column to all the columns in the remaining sheets?&lt;br&gt;
&lt;br&gt;
If this is too vague, please let me know.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.123180</guid>
	<pubDate>Wed, 27 May 2009 16:33:27 -0800</pubDate>
	<category>excel</category>
	<category>formulas</category>
	<dc:creator>zardoz</dc:creator>
	</item>
	<item>
	<title>Intense Excel Question: Calculate a rolling YTD/YTD that is dynamic?</title>
	<link>http://ask.metafilter.com/101450/Intense%2DExcel%2DQuestion%2DCalculate%2Da%2Drolling%2DYTDYTD%2Dthat%2Dis%2Ddynamic</link>	
	<description>Intense Excel Question: Calculate a rolling YTD/YTD that is dynamic? I have a series of monthly dates formatted as 01/01/2006, 02/01/2006, etc. to the most recent data point in column A.  In column B I have data. In column C I would like to calculate a rolling YTD number that is the sum of the YTD data from this year (based on the latest data point/date that is populated in column B) and divide this by the sum of the previous year&apos;s similar YTD sum.  (i.e. if the latest data point is for 03/01/2008, the calculation would be (03/01/08 data +02/01/08 data + 01/01/08 data)/ (03/01/07 data +02/01/07 data +01/01/07 data).  &lt;br&gt;
&lt;br&gt;
I have been working with OFFSET and COUNTA, but I am definitely not there.  Any help would be greatly appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.101450</guid>
	<pubDate>Thu, 11 Sep 2008 08:23:41 -0800</pubDate>
	<category>Excel</category>
	<category>formulas</category>
	<category>ytd</category>
	<dc:creator>Carialle</dc:creator>
	</item>
	<item>
	<title>Please help me sort my vocabulary list in Excel!</title>
	<link>http://ask.metafilter.com/92509/Please%2Dhelp%2Dme%2Dsort%2Dmy%2Dvocabulary%2Dlist%2Din%2DExcel</link>	
	<description>Complicated Excel formula question involving text-search and Japanese characters. Can you help? I have two spreadsheets. &lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.joshuacarmody.com/temp/vocab.xls&quot;&gt;Spreadsheet A&lt;/a&gt; contains a list of Japanese vocabulary words I need to learn for the JLPT this year. &lt;a href=&quot;http://www.joshuacarmody.com/temp/heisig.xls&quot;&gt;Spreadsheet B&lt;/a&gt; contains a list of Japanese characters in one column along with the characters &quot;Heisig number&quot; (an ordinal number indicating where that character appears in the book &quot;Remembering The Kanji&quot; by James Heisig).&lt;br&gt;
&lt;br&gt;
I want to add a column to Spreadsheet A that will contain the highest Heisig number among the characters that make up the vocabulary word. The purpose of this is to sort the words in Spreadsheet A so that I can memorize only the words that can be written using the Kanji I&apos;ve learned so far.&lt;br&gt;
&lt;br&gt;
Confused? Here&apos;s an example: Spreadsheet A, cell 57A contains the word &quot;&#26397;&#23517;&#22346;&quot;. Using Spreadsheet B to looking up the 3 characters in that word, I find the Heisig number for &#26397; is 52, &#23517; is 1150, and &#22346; is 492. 1150 is the highest of those 3 numbers, so I&apos;d like Spreadsheet A, cell 57B to read &quot;1150&quot;. Is there a way to set up a formula to do this? I&apos;ve never pushed Excel this far before.&lt;br&gt;
&lt;br&gt;
Thank you in advance, Hive Mind!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.92509</guid>
	<pubDate>Tue, 27 May 2008 13:34:08 -0800</pubDate>
	<category>characters</category>
	<category>excel</category>
	<category>formula</category>
	<category>formulas</category>
	<category>heisig</category>
	<category>japanese</category>
	<category>jlpt</category>
	<category>search</category>
	<category>vocabulary</category>
	<dc:creator>Vorteks</dc:creator>
	</item>
	<item>
	<title>complex dice probability make head esplode</title>
	<link>http://ask.metafilter.com/79252/complex%2Ddice%2Dprobability%2Dmake%2Dhead%2Desplode</link>	
	<description>I need a tool to help me analyze the probability of certain events occurring regarding a pool of X dice for a game I am creating. See my examples below.
I am looking for a dice statistics program or, baring that, a set of formulas I could input into excel, that can answer the following questions. Graphing capabilities are a plus.&lt;br&gt;
&lt;br&gt;
Some of the events I want to analyze:&lt;br&gt;
&lt;br&gt;
1) The probability that, from a pool of X dice, Y dice can be chosen by a player such that the sum of the Y dice is equal or lesser than a number N.&lt;br&gt;
&lt;br&gt;
2) Related to the previous question; of the pools that succeed what is the distribution of how close they are to hitting N, (for instance, if the sum of Y dice is 10 and the number the player was aiming for was 12 then they are only off by 2).&lt;br&gt;
&lt;br&gt;
3) In a pool of X dice How likely is it that there will be Z sets of doubles (say two 6s or snake eyes) and, more specifically, what are the chances of getting a specific set of doubles (say just snake eyes).&lt;br&gt;
&lt;br&gt;
I am pretty statistics theory inept (never took it in school) but I am average to above average with math in general... basically please keep any advice in laymen terms as much as possible. Thanks</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.79252</guid>
	<pubDate>Fri, 21 Dec 2007 13:52:56 -0800</pubDate>
	<category>dice</category>
	<category>excel</category>
	<category>formulas</category>
	<category>games</category>
	<category>math</category>
	<category>odds</category>
	<category>probability</category>
	<category>programs</category>
	<category>statistics</category>
	<dc:creator>DetonatedManiac</dc:creator>
	</item>
	<item>
	<title>Memorizing Math Formulas</title>
	<link>http://ask.metafilter.com/67081/Memorizing%2DMath%2DFormulas</link>	
	<description>Any tips or tricks to memorizing financial math formulas ...specifically ordinary and simple annuity due, perpetuities and present value/future compoundings? Or answer it this way: how do I kill on this upcoming math test?&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.67081</guid>
	<pubDate>Mon, 16 Jul 2007 09:05:59 -0800</pubDate>
	<category>financial</category>
	<category>formulas</category>
	<category>math</category>
	<dc:creator>JaySunSee</dc:creator>
	</item>
	<item>
	<title>What are the best rules, formulas and tricks in math?</title>
	<link>http://ask.metafilter.com/57588/What%2Dare%2Dthe%2Dbest%2Drules%2Dformulas%2Dand%2Dtricks%2Din%2Dmath</link>	
	<description>MeFites: Share with me your favorite math tricks, truisms and formulas that clarified and simplified math problems and made life easier in high school and college. It can be about algebra, fractions, ratios and proportions, percentages - what have you. If it relates to business math, all the better, since that&apos;s what I&apos;m currently taking. Thank you!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.57588</guid>
	<pubDate>Sat, 24 Feb 2007 09:01:25 -0800</pubDate>
	<category>formulas</category>
	<category>math</category>
	<category>rules</category>
	<category>simplify</category>
	<dc:creator>dropkick</dc:creator>
	</item>
	<item>
	<title>How can I make rankings closer reflect votes?</title>
	<link>http://ask.metafilter.com/51239/How%2Dcan%2DI%2Dmake%2Drankings%2Dcloser%2Dreflect%2Dvotes</link>	
	<description>In a ranking system, when you have multiple items with similar rankings, how can you give more weight to those with the most votes? For instance, one item has a 90% rating with only 2 votes, and another has an 89% with 100 votes. Is there a formula that would give more weight, or precedence, to the one with more votes?&lt;br&gt;
&lt;br&gt;
FWIW, I&apos;m using the formula in a PHP script.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.51239</guid>
	<pubDate>Sat, 18 Nov 2006 12:59:16 -0800</pubDate>
	<category>formulas</category>
	<category>PHP</category>
	<category>ranking</category>
	<dc:creator>bjork24</dc:creator>
	</item>
	<item>
	<title>e^i.pi+1=0</title>
	<link>http://ask.metafilter.com/39263/eipi10</link>	
	<description>Most convenient way to insert equations into web pages? I&apos;d like to add equations to a few web pages, as shown &lt;a href=&quot;http://john.maloney.org/thermal_actuation.htm&quot;&gt;here&lt;/a&gt;. The way I do this now is to use Wikipedia&apos;s &lt;a href=&quot;http://meta.wikimedia.org/wiki/Help:Displaying_a_formula&quot;&gt;markup language&lt;/a&gt; to generate a .png file on a Wikipedia page, then I save the file to my hard drive and call the image in HTML.&lt;br&gt;
&lt;br&gt;
I know this &lt;em&gt;can&apos;t&lt;/em&gt; be how the cool people do it. But I&apos;ve never used Tex or Latex, and I&apos;m pretty baffled as to which of the many editors would be best. My experience is limited to MS Word. I don&apos;t mind learning a new markup language, but the shallower the learning curve, the better.&lt;br&gt;
&lt;br&gt;
Any suggestions for generating a good-looking page with good-looking equations?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.39263</guid>
	<pubDate>Wed, 31 May 2006 16:15:37 -0800</pubDate>
	<category>equations</category>
	<category>formulas</category>
	<category>html</category>
	<category>latex</category>
	<category>math</category>
	<category>tex</category>
	<category>web</category>
	<dc:creator>Mapes</dc:creator>
	</item>
	<item>
	<title>excelfilter</title>
	<link>http://ask.metafilter.com/38594/excelfilter</link>	
	<description>I need help with an Excel formula.  Warning: this may venture into the realms of calculus.  Maybe.  We have an Excel sheet at my retail work that we use to keep track of our hourly sales, transactions, traffic, etc.  We have a daily budget goal from head officeand have been tracking our past hourly sales to give ourselves hourly sales goals.  We&apos;ve copy the hourly sales into a seperate worksheet and then use that to figure that, for example, for the past six months Mondays from 10-11am has been 11% of our daily budget, so if this monday&apos;s budget is $5000, we should do $550 from 10-11.  What we&apos;re using now just finds the average percentage of sales.  We have excel add up everything in the monday 10-11 row, divide that by the total of all of mondays&apos; sales, and then go into our &quot;monday&quot; worksheet and have it use that percentage on our daily budget to caluculate the hourly goal.  &lt;br&gt;
&lt;br&gt;
What we&apos;d like to do have the more recent sales be weighted more that older sales.  I could do this algebraicly (i think) if the worksheet stayed static, but every week we add the latest week&apos;s number to a new righthand column.  Is there a way to find an &quot;average&quot; where the most recent week is weighted more than the one before it, repeated to the end of the data set?  Considering that I&apos;m adding my new data to the right of the existing data, will this throw things off?  Will I ahve to turn everything around?  If so is there a way to insert columns in excel where I only have say 20 columns and if I add a column of data to the leftmost it pushes all of the other columns over one to the right and deletes the rightmost column?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.38594</guid>
	<pubDate>Sun, 21 May 2006 10:10:27 -0800</pubDate>
	<category>calculusisovermyhead</category>
	<category>excel</category>
	<category>formulas</category>
	<dc:creator>thecjm</dc:creator>
	</item>
	<item>
	<title>how much does foo cost?</title>
	<link>http://ask.metafilter.com/29994/how%2Dmuch%2Ddoes%2Dfoo%2Dcost</link>	
	<description>How much money do you save by doing it yourself? For example I need a foo. It costs me 3 dollars and 1 hour to make a homemade foo, however it costs me 10 dollars to buy a storebrand foo. What is the actual cost of the store bought foo?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.29994</guid>
	<pubDate>Sun, 01 Jan 2006 22:24:28 -0800</pubDate>
	<category>formulas</category>
	<category>money</category>
	<dc:creator>the giant pill</dc:creator>
	</item>
	
	</channel>
</rss>

