[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
MK7391
Newbie

Joined: 20 Mar 2011
Posts: 3

 Posted: Tue Jun 14, 2011 3:29 pm    Post subject: if one cell equals x, AND another cell equals x, then.... I'm trying to create a 3 cell sheet to calculate product markup. The first cell (A1), the user would enter a quantity. The second cell(B1) the user would enter the wholesale cost. The third cell(C1) will generate the calculated retail cost or markup. The markup being multiplied to the wholesale cost(B1) varies depending on both quantity(A1) and wholesale cost(B1) Basically if the quantity is 6 AND the wholesale cost is 1(\$1.00) then retail cost = wholesale times 3(300%) I have 9 different quantities that could be entered by the user, and about 20 different wholesale price ranges that could be entered by the user. my initial approach was in C1 I used =IF(B1<=1;B1*3IF(B1<=2;B1*2.75.......)))) and so on, but this only accounts for the wholesale price. I can't figure out how to incorporate the quantity too. Any help? Laymen terms please, I have a very basic understanding of calc. Thanks in advance.
ken johnson
Super User

Joined: 23 Apr 2009
Posts: 1849
Location: Sydney, Australia

 Posted: Tue Jun 14, 2011 5:37 pm    Post subject: I think you need to use a double lookup table like on the attached doc (Quantity and Wholesale Cost Table.ods)... http://www.mediafire.com/view/?azs39qan8o0i3n6 Ken Johnson_________________If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum