| View previous topic :: View next topic |
| 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. |
|
| Back to top |
|
 |
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). |
|
| Back to top |
|
 |
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|