+ Reply to Thread
Results 1 to 4 of 4

looking for a possible simpler solution (formula) to calculate ~cashflow from customers

  1. #1
    Registered User
    Join Date
    02-18-2021
    Location
    Kyiv, Ukraine
    MS-Off Ver
    365 pro plus
    Posts
    2

    Question looking for a possible simpler solution (formula) to calculate ~cashflow from customers

    hello everyone.
    thanks for looking into my post!

    not sure how to exactly describe the solution I'm looking for - the case is better visible in the excel attached.

    basically, I have new customers coming in each month but their revenues are pre-defined depending on the month they are in.
    so, a number of new customers acquired in a month 2 will have their revenue/customer at month 1 as it the first month for them.

    so now I'm just cross-multiplying the cells, but while it's ok on a small scale, it's kinda troublesome manual work with dozens of months.

    thank you again for any tips and have a nice day!

    -----------------------------------------------

    so, as I tried to describe, I'm trying to calculate e.g. revenue by month generated by all customers.
    I have two inputs - # of new customers each month and revenue that a customer brings for each his/her month number.

    as shown in the example file, the total revenue for month 3 will consist of:
    - new customers of month 1 * revenue per customer of month 3
    - new customers of month 2 * revenue per customer of month 2 (because 3rd month overall is only 2nd month for those customers)
    - new customers of month 3 * revenue per customer of month 1 (because its only 1st month for them)

    so now there are simple straightforward ~cross-multiplying formulas reflecting above
    but given smth like 36 months, each having different # of customers and different revenue per customer level each month, the last cell's formula is just a lot (36) of 'manual' multiplication formulas.

    so my hope is that maybe someone already tackled this with some sum/array/idk-approach to simplify that formula.

    I extended the example to reflect the pain point - the let me know if this one is clearer. thanks again!
    Attached Files Attached Files
    Last edited by davesexcel; 02-19-2021 at 10:09 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365 Version 2501 64-bit
    Posts
    1,477

    Re: looking for a possible simpler solution (formula) to calculate ~cashflow from customer

    neveum,

    Attached does what you want.

    Cols A - C list the clients, their starting dates and their monthly revenues (assuming whatever sum is in Col C does not change over the months)

    Formula in F2 and dragged across to Q2 counts the number of active clients each month as follows:

    =COUNTIFS($B$2:$B$14,">="&$F$1,$B$2:$B$14,"<="&EOMONTH(F1,0))

    (Count number of records in Col B where date is after start of Jan and before or on the end of (whichever month is in Row 1 of that column).

    Formula in F3 and dragged across to Q2 totals the revenue earned from active clients each month as follows:

    =SUMIFS($C$2:$C$14,$B$2:$B$14,">="&$F$1,$B$2:$B$14,"<="&EOMONTH(F$1,0))

    (Total the values in Col C where the date in Col B is between start of Jan and end of (whichever month is in Row 1 of that column)

    Hope this helps

    Ochimus
    Attached Files Attached Files
    Last edited by Ochimus; 02-21-2021 at 08:18 AM.

  3. #3
    Registered User
    Join Date
    02-18-2021
    Location
    Kyiv, Ukraine
    MS-Off Ver
    365 pro plus
    Posts
    2

    Re: looking for a possible simpler solution (formula) to calculate ~cashflow from customer

    dear Ochimus,
    thank you for looking into my case - while your example is good and I've seen it in some other threads as well, this is not directly solving my trouble.
    e.g. in your example, imagine that each one of customers 1-13 generates revenue each month, but a revenue level depends on which month it is for the customer, not calendar month, and basically you'll get my version of the situation.
    I'm kinda thinking that there is no simple solution (like how to formulate that customer 13 generates revenue at month 1 level if not just manual multiplication), but there is still hope

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365 Version 2501 64-bit
    Posts
    1,477

    Re: looking for a possible simpler solution (formula) to calculate ~cashflow from customer

    neveum,

    Don't be so despondent! Excel has the answer, as shown on the attached.

    For this exercise, F3 - Q3 assumes every customer has the same 'spend' per Trading month, whatever Calendar month they are for them.

    Obviously if different clients have different revenues for the same Trading Months, then you will have to construct a Matrix.

    Cols A - C have twenty five sales to four customers, none of whom trade every month.

    F7 - Q7 shows the number of customers trading each month, F8 - Q8 shows the revenue per calendar month, and F9 - Q9 shows the cumulative revenue, which matches the checksum in row 27.

    But obvious solution is to use a Pivot Table, as shown in rows 12 - 18. Gives you "at a glance" who has spent what each Calendar month. It's linked to the Table in Cols A - C , so every time you add a new record you just need to select any cell in the Pivot and click "Refresh" in the popp-up list that appears.

    Ochimus
    Attached Files Attached Files

+ 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. [SOLVED] Unpivot - Is there a simpler solution for this problem ?
    By mexykanu in forum Excel General
    Replies: 32
    Last Post: 11-06-2017, 09:16 AM
  2. Replies: 0
    Last Post: 09-29-2013, 04:50 AM
  3. [SOLVED] Cashflow Formula - Returning name and respective cashflow
    By PERE in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-14-2013, 02:57 AM
  4. [SOLVED] Formula to calculate each customers total that have been paid in full
    By chronic1 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 12-31-2012, 08:11 AM
  5. Using multiple SUMIF inside multiple IF stmts, looking for simpler solution.
    By thehotcorner in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-14-2012, 10:51 AM
  6. Replies: 4
    Last Post: 05-19-2011, 01:16 PM
  7. Replies: 3
    Last Post: 01-24-2011, 04:15 PM

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