Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Location: Birmingham
Posts: 5
Default Function to Spread Costs

Is there a function that will spread a value across other values based on that value. Example below :

Original Value
Week1 100
Week2 200
Week3 400
Total 700

Value to spread across the 3 weeks 350
The 350 split would give
Week1 50
Week2 100
Week3 200
Total 350

Therefore new value would be
Week1 150
Week2 300
Week3 600
Total 1050

Hope that's clear
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Function to Spread Costs

It looks like you want to have the split such that each week gets twice the
value of the previous week
if spl is the total to be split
and ns is the number of weeks
if it starts on row one and the original data is in column a
try
in B2
=A1+spl*max(1,(row()-1)*2)/(ns^2-1)
and copy down

"andyhofer" wrote:


Is there a function that will spread a value across other values based
on that value. Example below :

Original Value
Week1 100
Week2 200
Week3 400
Total 700

Value to spread across the 3 weeks 350
The 350 split would give
Week1 50
Week2 100
Week3 200
Total 350

Therefore new value would be
Week1 150
Week2 300
Week3 600
Total 1050

Hope that's clear




--
andyhofer

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
how do i enter a bull call spread into the options spread sheet ? alvin smith Excel Worksheet Functions 0 November 27th 06 01:23 AM
COMPARE CURRENT MORTAGAGE COSTS TO NEW MORTAGAGE COSTS NEW2TECHBZ Excel Discussion (Misc queries) 1 April 5th 06 08:47 AM
COMPARE CURRENT MORTAGAGE COSTS TO NEW MORTAGAGE COSTS NEW2TECHBZ Excel Discussion (Misc queries) 0 April 5th 06 08:28 AM
Idea for an Excel function called "Spread" Kerry Excel Worksheet Functions 0 May 2nd 05 09:52 PM
Is there a spread sheet for tracking construction costs and draws. Jerry Excel Discussion (Misc queries) 2 April 5th 05 01:19 PM


All times are GMT +1. The time now is 12:49 PM.

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"