+ Reply to Thread
Results 1 to 32 of 32

formula for the revenue row that evenly spreads each months bookings

  1. #1
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    formula for the revenue row that evenly spreads each months bookings

    How do I automate this? I have bookings, revenue and ramp time.

    Lets say ramp time = 6 months (input cell) - i.e. bookings are spread evenly over this amount of time
    Bookings = 10K per month
    Revenue should equal 10K/6 for the next 6 months ...so in month 1 its just 1.67K but in month 2 it would be 3.33K (i.e. 1/6th of bookings from month 1 plus 1/6th of month 2 and so on until month 6 when you have 10K).

    I think there's an offset formula somewhere in here because I essentially need to reference by ramp time cell to tell revenue how many months to spread each month of bookings over.

    Any ideas?
    Attached Files Attached Files
    Last edited by Thor222; 04-30-2021 at 01:00 AM.

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,829

    Re: Offset

    Please read the yellow banner at the top of the page. Showing expected results and where you want the formulas will be helpful.

  3. #3
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    Attached. Need a formula for the revenue row that evenly spreads each months bookings (with can vary by month) over the next x number of months. But its a waterfall so it also needs to pick up 1/6th of the current month if that makes sense. The attached is a very simplified example but I need a dynamic formula. Maybe I need to add multiple rows and sum them up but was hoping to avoid this.

  4. #4
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Offset

    Hi Thor222,

    I'm not really sure what you're looking for. My assumption is:
    B6 = 10000/6
    C6 = 20000/6
    D6 = 30000/6
    etc...

    if this is so please try:
    Please Login or Register  to view this content.
    Edited: What will happen if it reaches above the 6 months ? The next 6 months would tally to 20,000.
    Last edited by D13L; 04-29-2021 at 11:01 PM.

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,829

    Re: Offset

    Maybe this in B6?
    =MIN(B$4/$B$1,B$4)
    And then this in the rest (C6:M6)
    =MIN(B6+$B$4/$B$1,B$4)

  6. #6
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    That doesn't work because bookings are not going to be a flat 10K per month in reality. Think about this way...

    You can have any amount of new bookings in a given month. You need to recognize that months bookings evenly over the ramp period.

    Lets just say ramp period is 6 months. So if in month 1 you book 10K you will recognize 10k/6 but then if you book 20K in month 2 you need to pick up another 1/6th of 10K from month 1 + 1/6th of 20K in month 2. And then in month 7 those bookings will start rolling off since you've fully recognized the booked revenue.

    Does that make more sense?

  7. #7
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Offset

    =IF(COLUMNS($B$6:B6)>$B$1,"Value?",SUM($B$4:B4)/$B$1)

    Change "Value?" to the value you expect

  8. #8
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    Huh?! Is my explanation of what I'm trying to accomplish not clear? I thought I was pretty clear but if there are questions about my goal please let me know.

    Appreciate the attempt but this doesn't seem to make sense.

  9. #9
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    What do you mean by value I expect?

  10. #10
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Offset

    Hi Thor,

    I think I understood what you are looking for. Please Try:
    Please Login or Register  to view this content.
    Set at B6 or B7 and drag across

    Hope this is what you are looking for.

    EDITED: Added excel sheet as reference. Changed the bookings value because it becomes confusing. See attached if this is what you are looking for. --12:23 AM

    EDITED: This accounts for changing months. The formula above locks it to just 6 months. --12:28 AM
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by D13L; 04-30-2021 at 12:29 AM.

  11. #11
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    Thanks so much, getting much closer, knew there was an offset in there somewhere!

    One issue I'm having is with your references to G4. I really need to make the ramp period dynamic so that I can change the number in B1. This seems to break your formula. Is there a way to use another offset rather than setting G4 as a fixed point?

    Another issue I'm having is that some of your cell locks seem off. Does this need to slide? In reality my database will go on for multiple years. Why are you locking B4?

    Thanks!

  12. #12
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Offset

    Hi thor,

    Please check the 2nd code. I edited the post and recognized that it was locked to 6 months. The code below changeswhen you update $B$1

  13. #13
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    Yeah that helps but you still have the G4 concept which seems problematic, right?

  14. #14
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Offset

    Hi Thor,

    I've re-read your post. Please include giving a sample which include multiple years.

    Also, does the sum carry over to the previous year, or does it go back to square one at one point?


    Edited: Locking B4 has a reason. Imagine as 3 month your range varies as you drag B:C, B:D, B:E. As you hit column F, code tells B:E and offset by 1 so it becomes C:F.
    Last edited by D13L; 04-30-2021 at 12:44 AM.

  15. #15
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    Something is off with your formula but can't put my finger on it yet. The multiple years shouldn't matter you should just be able to copy the same formula over regardless of the year. There is no reset at year end or anything.

  16. #16
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Offset

    Is it this code you use:

    Please Login or Register  to view this content.

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,750

    Re: formula for the revenue row that evenly spreads each months bookings

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new, I have done it for you today.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  18. #18
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: Offset

    Okay this should make it more clear what I'm trying to do. Row 10 is the result I'm trying to get (without creating all those rows and manual formulas above obviously)
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: formula for the revenue row that evenly spreads each months bookings

    Thanks...any ideas on potential formulas?

  20. #20
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: formula for the revenue row that evenly spreads each months bookings

    Hi Thor,

    It looked like you used the Old code please see POST#10 and POST#16.

    Please try that code.

  21. #21
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: formula for the revenue row that evenly spreads each months bookings

    No I tried those as well, it doesn't work. I just used your workbook as a starting point but wasn't illustrating your formula. Look at row 10 and the rows I created above to understand the concept because your formulas are not accomplishing exactly what I intend to do. I think the file I uploaded should make it more clear...

  22. #22
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,750

    Re: formula for the revenue row that evenly spreads each months bookings

    FYI This is not CODE, it's a FORMULA. Code is the term used for VBA, M Code, etc.

  23. #23
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,586

    Re: formula for the revenue row that evenly spreads each months bookings

    Pl see file.
    In B7 then copied across

    =SUM(OFFSET(B$4,0,0,1,-MIN(COLUMNS($B$4:B$4),$B$1)))/$B$1
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  24. #24
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: formula for the revenue row that evenly spreads each months bookings

    Value add...

  25. #25
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: formula for the revenue row that evenly spreads each months bookings

    I apologize AliGW. Guess I'm still not familiar with Excel Jargon. Sorry for the confusion

    Also Thor222. You're right I didn't really analyze your post and excel file and jumped to conclusion. You're request will take me a while or I may not be able to solve. Hopefully someone more experienced in the forum can help.

  26. #26
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: formula for the revenue row that evenly spreads each months bookings

    AMAZING - you win, thanks a bunch!

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,750

    Re: formula for the revenue row that evenly spreads each months bookings

    Thor222 - please acknowledge that you have understood the note about thread titles.

  28. #28
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: formula for the revenue row that evenly spreads each months bookings

    AliGW - please acknowledge that you have added zero value

  29. #29
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,750

    Re: formula for the revenue row that evenly spreads each months bookings

    Thor222 - I am a moderator with a job to do. You need to take note of the information I gave you.

    I suggest you read the forum rules. A title such as 'OFFSET' is vague and useless. If you continue to ignore our rules you will find yourself in danger of being banned from here, so please do not ignore moderation notes.

  30. #30
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,586

    Re: formula for the revenue row that evenly spreads each months bookings

    Pl see file same formula in previous post I have used in this file in row 12 and I am getting result of Row 14.
    You need Row 10. In row 10 after 4 months calculation is suddenly changing Why. What is the criteria.
    In column F why you are not adding $F$4/$B$1 (stopped at $E$4/$B$1).
    Attached Files Attached Files

  31. #31
    Registered User
    Join Date
    04-29-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    16

    Re: formula for the revenue row that evenly spreads each months bookings

    No I just stopped adding new rows because I thought I had made my point. It was just a manual way of illustrating what my question was but in reality it would continue on with the same pattern. Your formula is working. In F9 you would need to type F4/B1 and then you'll see it still ties to your formula.

    Thanks for your help. Knew it had to be an offset formula but the concept of min b1 / b1 eluded me! Thanks again!

  32. #32
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,586

    Re: formula for the revenue row that evenly spreads each months bookings

    Thanks for feedback and rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Offset Alters Entire Range, Need To Offset A Single Cell
    By Genus Max in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-26-2020, 10:47 AM
  2. How to offset previously offset-ed cell ?
    By freshe in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-07-2015, 09:34 AM
  3. Select offset variable offset cells
    By papasmurfuo9 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-02-2014, 06:12 AM
  4. Replies: 3
    Last Post: 06-01-2014, 10:26 AM
  5. function similar to offset to offset the offset
    By Jerseynjphillypa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2012, 03:07 PM
  6. Reformatting - insert formula with offset, then offset to next cell
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2011, 05:41 AM
  7. Replies: 7
    Last Post: 11-04-2008, 06:41 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1