+ Reply to Thread
Results 1 to 5 of 5

Multiple cell queries

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    henlow
    MS-Off Ver
    Excel 2003
    Posts
    4

    Multiple cell queries

    Hi

    I'm trying to set up a worksheet for calculation of comission.

    Columns by month for 4 years, then rows for comission paid, period paid over and month paid.

    I then want to set a formula that if the month paid = column row, the divide comission by period paid and enter this in that months cell and the next 47 cells accross.

    I am working it on various if functions at the moment but this is very complex .... HELP!

  2. #2
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Cardiff
    MS-Off Ver
    2003
    Posts
    123

    Re: Multiple cell queries

    are you trying to get something that will spread the cost of the commision over several months?

    I don't fully understand what you want to get.
    Could you post a spreadsheet sample with the column and row headers that you want and then sample entries into some of the cells. Don't worry about formula just numbers of what you would be expecting if that is okay.

  3. #3
    Registered User
    Join Date
    02-09-2009
    Location
    henlow
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Multiple cell queries

    Yes, thats right.

    Total -Indemnity On risk
    comm period Oct-08 Nov-08 Dec-08 Jan-09
    567 24 Jan-09 0.00 0.00 0.00 £23.63

    As above i need it to look at the on risk date, and where this matches the column date divide the commission by the number of months and then enter that sum into that month and the next 23 months.

    Hope this makes sense.

    Thanks in advance for your help

    Brian

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Multiple cell queries

    If we assume:

    Row 1 are headers... first month being in D1

    Row 2
    A: holds Total to be Split
    B: holds Period by which Total to be Split
    C: holds Start Month

    Then

    D2:
    =IF(AND(D$1>=($C2-DAY($C2)+1),D$1<DATE(YEAR($C2),MONTH($C2)+$B2,1)),$A2/$B2,0)
    copied across for remaining 47 months

    Above assumes you are not apportioning the first & last month based on day of month (C)... ie using your example Jan-09 gets a full 1/24 split as opposed to a apportioned month / 24 split.

  5. #5
    Registered User
    Join Date
    02-09-2009
    Location
    henlow
    MS-Off Ver
    Excel 2003
    Posts
    4

    Smile Re: Multiple cell queries

    FAN bloody tastic

    Genius !!

    Cant thank you enough

    Brian

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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