Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Location: london
Posts: 1
Default Seperation of prime and sub inventory units

Good afternoon,

I'm looking to seperate inventory items into PRIME and SUB units..

Example: Sodas have are in cases of 24 so the PRIME unit would be 1. If you had 26 cans total it would then be 1 PRIME(cases) and 2 SUB(cans). I need the prime and sub units in seperate cells.

Hope i explained what i needed so you understand..

Thanks

Geoff
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kleev
 
Posts: n/a
Default Seperation of prime and sub inventory units

With a look up table for your categories like so:
Category Prime
Sodas 24
Apples 48
Oranges 50
Pencils 10
And your data like so:
Inventory Amount I Prime I Unit
Sodas 26 1 2
Pencils 7 0 7
Oranges 105 2 5
Apples 252 5 12
The following formulas appear to do what you ask. Note, there is no error
checking on the vlookup so you could get errors if there was no match like so:
Apple 252 #N/A #N/A
But, that may be what you want so that you know you need to either correct
the spelling or add a new category.
INT(B8/VLOOKUP($A8,$A$2:$B$6,2,FALSE))
MOD($B8,VLOOKUP($A8,$A$2:$B$6,2,FALSE))



"Novice" wrote:


Good afternoon,

I'm looking to seperate inventory items into PRIME and SUB units..

Example: Sodas have are in cases of 24 so the PRIME unit would be 1. If
you had 26 cans total it would then be 1 PRIME(cases) and 2 SUB(cans). I
need the prime and sub units in seperate cells.

Hope i explained what i needed so you understand..

Thanks

Geoff


--
Novice

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"