Conditional Formula Selection in Excel
October 22, 2009 4:21 AM
Subscribe
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's the situation: I'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.
I can make any one of those formulas fine, independently, but I'd like to have all clients on the same page, and use some sort of formula where I'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.
Is there any way to do this without nesting IF clauses (which would become troublesome the more clients I got)?
posted by Bugbread to computers & internet (7 comments total)
2 users marked this as a favorite
You can then use =EVALU(A1) to run the formula that's in cell A1. This could obviously be extended by doing something like =EVALU(VLOOKUP(A1,D:J,4,FALSE)), which would run the formula in the fourth column of D:J that corresponds to the value in A1.
posted by Doofus Magoo at 4:54 AM on October 22