Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
GD GD is offline
external usenet poster
 
Posts: 83
Default breaking down a whole number into pre-defined parts..

Hey, i've got an issue whereby a total stock figure, in terms of pricing how
much to paid for storage, needs to be broken down. If for example in Cell A1
is the figure 247,000 and the weighting is the first 100,000 is priced at 10p
per tonne, the second 100,000 at 7p per tonne, the 3rd 100,000 at 5 pr tonne
and so-on. What i'm looking for is a formula of sorts that can go in three
cells to separate the 247,000 into a 100,000, a 100,000 and a 47,00...if you
get what I mean?

Otherwise it means having to manually key the figures into pre-defined cells
to make the calculation run, it would be really handy if there was function
to do it automatically
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default breaking down a whole number into pre-defined parts..

in B1, =if(A1=100000,1000000,A1*10)
in C1, =if(A1200000,700000,if(B1=1000000,(A1-100000)*7,0))
in D1, =if(C1=1000000,if(C1=0,0,(A1-200000)*5))

"GD" wrote:

Hey, i've got an issue whereby a total stock figure, in terms of pricing how
much to paid for storage, needs to be broken down. If for example in Cell A1
is the figure 247,000 and the weighting is the first 100,000 is priced at 10p
per tonne, the second 100,000 at 7p per tonne, the 3rd 100,000 at 5 pr tonne
and so-on. What i'm looking for is a formula of sorts that can go in three
cells to separate the 247,000 into a 100,000, a 100,000 and a 47,00...if you
get what I mean?

Otherwise it means having to manually key the figures into pre-defined cells
to make the calculation run, it would be really handy if there was function
to do it automatically

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default breaking down a whole number into pre-defined parts..

Hi GD,

You may want to take a look here at John McGimpsey's site.
You should be able to adapt his methods to your needs.

http://www.mcgimpsey.com/excel/variablerate.html


HTH
Martin



"GD" wrote in message
...
Hey, i've got an issue whereby a total stock figure, in terms of pricing
how
much to paid for storage, needs to be broken down. If for example in Cell
A1
is the figure 247,000 and the weighting is the first 100,000 is priced at
10p
per tonne, the second 100,000 at 7p per tonne, the 3rd 100,000 at 5 pr
tonne
and so-on. What i'm looking for is a formula of sorts that can go in three
cells to separate the 247,000 into a 100,000, a 100,000 and a 47,00...if
you
get what I mean?

Otherwise it means having to manually key the figures into pre-defined
cells
to make the calculation run, it would be really handy if there was
function
to do it automatically


  #4   Report Post  
Posted to microsoft.public.excel.misc
GD GD is offline
external usenet poster
 
Posts: 83
Default breaking down a whole number into pre-defined parts..

Thanks to you both

"MartinW" wrote:

Hi GD,

You may want to take a look here at John McGimpsey's site.
You should be able to adapt his methods to your needs.

http://www.mcgimpsey.com/excel/variablerate.html


HTH
Martin



"GD" wrote in message
...
Hey, i've got an issue whereby a total stock figure, in terms of pricing
how
much to paid for storage, needs to be broken down. If for example in Cell
A1
is the figure 247,000 and the weighting is the first 100,000 is priced at
10p
per tonne, the second 100,000 at 7p per tonne, the 3rd 100,000 at 5 pr
tonne
and so-on. What i'm looking for is a formula of sorts that can go in three
cells to separate the 247,000 into a 100,000, a 100,000 and a 47,00...if
you
get what I mean?

Otherwise it means having to manually key the figures into pre-defined
cells
to make the calculation run, it would be really handy if there was
function
to do it automatically



  #5   Report Post  
Posted to microsoft.public.excel.misc
GD GD is offline
external usenet poster
 
Posts: 83
Default breaking down a whole number into pre-defined parts..

Hi, i've only just had chance to implement this - the result is B1 = 1000000,
C1 = 700000 and D1 = 'FALSE' ?

Not sure on this?

"Sean Timmons" wrote:

in B1, =if(A1=100000,1000000,A1*10)
in C1, =if(A1200000,700000,if(B1=1000000,(A1-100000)*7,0))
in D1, =if(C1=1000000,if(C1=0,0,(A1-200000)*5))

"GD" wrote:

Hey, i've got an issue whereby a total stock figure, in terms of pricing how
much to paid for storage, needs to be broken down. If for example in Cell A1
is the figure 247,000 and the weighting is the first 100,000 is priced at 10p
per tonne, the second 100,000 at 7p per tonne, the 3rd 100,000 at 5 pr tonne
and so-on. What i'm looking for is a formula of sorts that can go in three
cells to separate the 247,000 into a 100,000, a 100,000 and a 47,00...if you
get what I mean?

Otherwise it means having to manually key the figures into pre-defined cells
to make the calculation run, it would be really handy if there was function
to do it automatically

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding number parts by cell formatting Bill G. Excel Discussion (Misc queries) 4 May 19th 07 04:50 PM
Split a number in a cell into parts okanem Excel Discussion (Misc queries) 4 August 21st 06 03:59 PM
Insert Row by a defined Number comotoman Excel Discussion (Misc queries) 4 October 11th 05 09:50 PM
breaking up a phone number maximus73 Excel Worksheet Functions 2 August 3rd 05 07:19 PM
breaking up a phone number maximus73 Excel Discussion (Misc queries) 7 August 3rd 05 06:57 PM


All times are GMT +1. The time now is 09:20 AM.

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

About Us

"It's about Microsoft Excel"