Spreading Values Across Range of Dates

ExcelUser88945

New Member
Joined
Sep 5, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
1725573721398.png

Long time reader, first time poster.

I am looking to evenly spread my values (column C) based off of the start date (column A) and duration (column B) within my date range (column D:AB). In the case that the value isn't evenly divisible by the duration, I'd like the higher values recorded in the latter months. See row B for example. Does anyone know an easy way to automate this process?

Thanks in advance!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi morning,
Asking only if your data for duration and value is connected meaning cannot be interchange.?
if so.
1. Highlight all data of your duration and value.
2. right click your highlighted data, point to sort, then click custom sort.
3. now you choose if sorting is base on numbers of duration or Value column
4. choose your order smallest to largest if so.
5. then click ok
6.after sorting you data
7. rightclick the highlighted data
8. the click copy
9. right click on the cell where you want to paste the data.
10. on the paste option choose paste transpose.
11. now the only issue is duration data shall be paste on the first row and value data on the second row.
12. if you want to value data on first row highlight and copy only value data first then paste transpose on the first row and do it to duration data on the second row.

Hope it help.. God bless
 
Upvote 0
@ExcelUser88945 Welcome to the Forum!

How about:

ABCDEFGHIJKLMNOPQR
1
2StartValueDurationSep 2024Oct 2024Nov 2024Dec 2024Jan 2025Feb 2025Mar 2025Apr 2025May 2025Jun 2025Jul 2025Aug 2025Sep 2025Oct 2025
3Dec 202494 2223
4Feb 2025133 445
5Jun 2025114 2333
6
Sheet1
Cell Formulas
RangeFormula
E3:R5E3=LET(N,CEILING(B3/C3,1),M,E$2:R$2,C,COLUMNS(M),s,1+SEQUENCE(,C)-IFERROR(MATCH(EOMONTH(A3,0),EOMONTH(--M,0),),C+1),IF((s<=C3)*(s>0),N-(s<=C3*N-B3),""))
Dynamic array formulas.
 
Upvote 0
@ExcelUser88945 Welcome to the Forum!

How about:

ABCDEFGHIJKLMNOPQR
1
2StartValueDurationSep 2024Oct 2024Nov 2024Dec 2024Jan 2025Feb 2025Mar 2025Apr 2025May 2025Jun 2025Jul 2025Aug 2025Sep 2025Oct 2025
3Dec 202494 2223
4Feb 2025133 445
5Jun 2025114 2333
6
Sheet1
Cell Formulas
RangeFormula
E3:R5E3=LET(N,CEILING(B3/C3,1),M,E$2:R$2,C,COLUMNS(M),s,1+SEQUENCE(,C)-IFERROR(MATCH(EOMONTH(A3,0),EOMONTH(--M,0),),C+1),IF((s<=C3)*(s>0),N-(s<=C3*N-B3),""))
Dynamic array formulas.
You are awesome! This is exactly what I was looking for. Thanks so much!
 
Upvote 1
Just for fun, another option:

Book2
ABCDEFGHIJKLMNOPQRST
1
2StartDurationValueSep-24Oct-24Nov-24Dec-24Jan-25Feb-25Mar-25Apr-25May-25Jun-25Jul-25Aug-25Sep-25Oct-25
3Dec-24423 5666
4Feb-251024 2222223333
5Jun-25411 2333
6
Sheet1
Cell Formulas
RangeFormula
E3:K3,E5:Q5,E4:S4E3=LET(d, B3, v, C3, s, SEQUENCE(,d), iv, INT(v/d), dv, v - iv*d, DROP(HSTACK(EXPAND("",,MATCH(A3, $E$2:$R$2,0), ""), (s>d-dv)*1 + iv),,1) )
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top