+ Reply to Thread
Results 1 to 4 of 4

Splitting Costs

  1. #1
    Registered User
    Join Date
    08-03-2011
    Location
    Washington
    MS-Off Ver
    Excel 2007
    Posts
    2

    Splitting Costs

    Kind of an unusual math/excel problem, at least for me.

    A bachelor party is being planned. A house was rented for 2 days for $1,800.

    There are 11 guests total. But not all will be staying both nights, some will only be staying one night. I'm trying to put together a table that will show the even costs split for each possible scenario of guests staying 1 night vs guest staying 2 nights. Something like the attached image. Everyone staying 1 night and everyone staying 2 nights is pretty simple. But what about when 5 guests stay 1 night and 6 guests stay 2 nights?

    Bachelor party.jpg

    TIA!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Splitting Costs

    Sum all nights stayed for all people. Then divide each persons nights by that as the total
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-03-2011
    Location
    Washington
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Splitting Costs

    Quote Originally Posted by FDibbins View Post
    Sum all nights stayed for all people. Then divide each persons nights by that as the total
    Thanks FDibbins. I was staring at it and thought I may have overestimated the complexity. This look about right?

    Attachment 624447

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Splitting Costs

    Hard to tell from a pic

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

+ 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. Costs per Month
    By morerockin in forum Excel General
    Replies: 21
    Last Post: 03-09-2015, 08:47 PM
  2. Autocalulating Costs
    By tenglish01 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-15-2015, 01:26 PM
  3. Replies: 3
    Last Post: 07-28-2014, 08:57 PM
  4. [SOLVED] Splitting Costs between half hourly time periods
    By bishbash89 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-29-2012, 05:25 AM
  5. sum the costs
    By tofimoon4 in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 07-17-2010, 09:11 AM
  6. compare current mortagage costs to new mortagage costs
    By NEW2TECHBZ in forum Excel General
    Replies: 1
    Last Post: 04-05-2006, 03:47 AM
  7. [SOLVED] Estimating costs
    By vijaya in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2005, 06:17 PM

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