+ Reply to Thread
Results 1 to 4 of 4

Applying a discount to a 5th Day using IF formula

  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    Leeds, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Applying a discount to a 5th Day using IF formula

    Hi Guys...

    Need help with an IF formula which I'm sure is possible but it's giving me head aches.

    I run a child day care facility and currently use excel to calculate fees for parents. I'm trying to write an easier way to do it.

    Basically it's N amount per day, but if you attend full time (Mon-Fri) it's a discounted rate and not just N times 5.

    I've already created a table whereby you put a "Y" under Monday it takes how many Mondays we're open throughout the year, and divides it by 12 to give you a monthly cost of fees. This works great for anybody who doesn't attend Full Time, as they can see what the monthly cost would be (for example) to do Wednesdays instead of Mondays (we're open more Wednesdays as we shut on Bank Holiday Mondays) or also (another example) put a "Y" under several days to see what the difference in cost would be for 2 days p/w or 3 etc etc.

    But I'd somehow like it to realise that if there is a "Y" under all 5 days, it puts a different figure all together in.

    Seems like it should be simple to do but I just can't do it. I'm pretty sure this problem hasn't translated very well into text but if anyone thinks they know what I'm talking about any help at all would be appreciated!

    Probably easier if you check out the attachment.

    Cheers!
    Attached Files Attached Files
    Last edited by ChrisHallas; 01-21-2010 at 12:50 PM. Reason: Changed Title due to Mod request.

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

    Re: Complex (ish!) IF formula!

    Hi Chris,

    can you pleasre rename your title according to the rules:

    Forum Rules And Guidance
    1. 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 the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more hours have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF formula

    Hi Chris,

    I'm attaching your workbook with an additional sheet containing a solution. You can obviously hide rows 1:2 when you've added the variables.

    Put the discounted cost, (I've assumed an absolute value) in G2. You could of course change this to a % and modify the E8 formula accordingly.

    HTH
    Attached Files Attached Files
    Last edited by Richard Buttrey; 01-19-2010 at 11:44 AM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: IF formula

    Pritty much same solution Help!(1).xls as Richard Buttrey-

    Differencies: mine formula look is there Y and your look is there anything (whatever hw likes).

    Also, I would add that it's better to define somewhere values (like here in table from I to O),
    rather than writting values in formulas (like ChrisHallas did) because it can be easier changed when you need.

    For example, changing rate for wed is easier in one table than look in all formulas in workbook.

+ 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