I am attempting to create a table that runs a different formula depending on the value in another column. The purpose is calculate final product prices depending on the type of product in different ways. So products may be calculated with a multiple times an area, while others may be a multiple of the cost of goods and so forth. I thought I would be able to do this with a vlookup function, but i cant get the string to run correctly.
I have 4 columns I am referencing. (Area, COGS, MType =multiples type, and Multiples)
I have a chart next to the table that has the formulas that I want to run. I have tried it with and without the specific table (table10) reference, and with and without an = in front of it, and with and without quotation marks around the string.
Mtype Formula
Area [@Multiplier]*[@Area]
Price [@[Cost of Goods]]*[@Multiplier]
Commission [@[Cost of Goods]]+[@Multiplier]
Image [@Multiplier]*[@[Cost of Goods]]*[@Area]
Flat [@Multiplier]
i tried running VLOOKUP([@Mtype],$R$3:$S$7,2,FALSE), but that only displays the string and not the result of the string. I've also attempted the INDIRECT and CONCATENATE functions after trying to research this solution on google. But I either get the string, or I get a REF display.
I was hoping by using the table format opposed to actual cell references, it would display the correct value depending on the row i was working on. I figure if I put a sample value in for the equation, it would not display correctly.
But if there is a trick for this, my columns are listed as follows. AREA= I, COGS= J, Mtype= K, Multiples= L, and the fields I am trying to calculate is under M. I've got 597 rows currently and will likely add more.
I want to make this work so that I can import the data into ACCESS to better display the data relationally. And I want an easy way to create different price list for different people by using the multipliers found in another table.
Thanks for any help
Bookmarks