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

Author Message
Jezzta667
General User

Joined: 08 Feb 2012
Posts: 39

 Posted: Tue Apr 10, 2012 7:41 pm    Post subject: Convert individual order quantity to a pack quantity Hey guys, I have made spreadsheets to be made for ordering stock into a retail store. An example ITEM.......PRICE...PACK QTY...ORDER QUANTITY...TOTAL Paper.....\$1.00........12.......................12.................\$12.00 Pens......\$1.00........12........................24................\$24.00 My problem is that my items are priced individually but if I order individual quantities, the supplier may assume that that is how many packs I want, even though the total price works out to be the price for the individuals (this has happened already) My question is, what formula can I use which will change the order quantity for an item that comes in a pack from the individual amount to the pack amount? So if an item comes in a pack of 12, I have to write 12 in the order quantity so the price is accurate (because they are priced individually). I then want it to DISPLAY 1pk. Likewise an item that comes in a pack of 12, if I order 24, I want the order quantity to display 2pk. Bear in mind that the TOTAL column is PRICExORDER QUANTITY, so it will still have to work off the individual order quantity. So it would be something like... =IF(ORDER QUANTITY is a multiple of PACK QUANTITY; then display ORDER QUANTITY/PACK QUANTITY with "pk" next to it. Can someone please translate this to a formula I can use? Thanks so much in advance.
gerard24
OOo Enthusiast

Joined: 08 Jul 2011
Posts: 100
Location: France

 Posted: Wed Apr 11, 2012 5:05 am    Post subject: What about if number don't meet pack quantity ? 13, 15 or 23..._________________LibreOffice 3.5.0 on Windows Vista
Jezzta667
General User

Joined: 08 Feb 2012
Posts: 39

Posted: Wed Apr 11, 2012 5:47 am    Post subject:

 gerard24 wrote: What about if number don't meet pack quantity ? 13, 15 or 23...

For these items, they can only be ordered in packs. So there would never be anything in-between.
Jezzta667
General User

Joined: 08 Feb 2012
Posts: 39

Posted: Wed Apr 11, 2012 2:44 pm    Post subject:

 gerard24 wrote: What about if number don't meet pack quantity ? 13, 15 or 23...

Actually, to save me having to do separate formulas, the items that are not purchased in a pack do not have anything in the PACK QTY column so it would be good if the formula only worked for items which have a PACK QTY value.
 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