+ Reply to Thread
Results 1 to 10 of 10

Calculation Problem

  1. #1
    Daywalker
    Guest

    Calculation Problem

    Morning Folks,

    Looking for a bit of help with a calculation that I can work out most of, but come across a tricky bit I cannt seem to get working whaterver I try.

    I've attached a sample for you to have a quick look.

    But, I have 3 ranges,

    1. 15 or less (C6)

    If cell B6 is greater than 15, than I want to show 15, and if less, then show actual value. I have this working fine.

    2. 16 to 40 (D6)

    If cell value in B6 is less than 15. then ,0,, if greater than 16 but less than 40, then show value from b6 minus C6. And if greater than 40, then only show 40.

    3. 41+ (E6)

    If cell value if less than 41, then show value but deducting D6 + C6. And if cell value is greater than 41, then show actual value.

    Basically, the end result should shouw that C6, D6 & E6 should equate to B6.

    I hope this make's sense, as my head is hurting already.

    Cheers,

    Daywalker
    Attached Files Attached Files
    Last edited by Daywalker; 09-25-2009 at 02:58 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Calculation Problem

    Something like this?

    Calculation(1).xls

  3. #3
    Daywalker
    Guest

    Re: Calculation Problem

    Zbor,

    Thanks for getting back so quickly.

    Columns C & D seem to work fine, brilliant. But column E is showing actual. I'm trying to get it so that the 3 columns total up to B6

    So in your example, in B6, is 42, so then C6 + D6 + E6 should then total B6

    Cheers,

    Daywalker

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Calculation Problem

    sorry, just turn > opposite:

    =IF(B6<41;B6;B6-D6-C6)

  5. #5
    Daywalker
    Guest

    Re: Calculation Problem

    Zbor,

    Sorry, but that does not work either. If cell B6 as example shows 42, then the cell in E6 should show the value 1, as it's 1 over 41. Then the 1 plus D6 + C6 should add up to B6.

    Sorry to be a pain.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Calculation Problem

    how about this?

    All with min and max functions...

    Calculation(1).xls

  7. #7
    Daywalker
    Guest

    Re: Calculation Problem

    Zbor, were getting there. If for example, I enter 100 in B6, then the total will only give me 82, as E6 is max at 41.

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Calculation Problem

    Remove min criteria: =MAX(0;B6-C6-D6)

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

    Re: Calculation Problem

    Daywalker,

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


    Given zbor's replies already I won't lock the thread down on this occasion.

  10. #10
    Daywalker
    Guest

    Re: Calculation Problem

    Zbor, sorted. Thanks a lot for your help on this.

    Cheers,

    Daywalker

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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