+ Reply to Thread
Results 1 to 8 of 8

Need help with creating an if/then/or formula

  1. #1
    Registered User
    Join Date
    04-21-2015
    Location
    Baltimore
    MS-Off Ver
    2013
    Posts
    3

    Smile Need help with creating an if/then/or formula

    I am an Excel novice. I'm in a class that is teaching me the basics, but not what I really need. I need a formula that will help me calculate how much $$$ I am making for every class I teach. It is a bit tricky. I start at a flat-rate of $15 for the first 3 students, and then charge $5 for each additional student. I wanted to incorporate a dropdown for the differet classes I teach: Gentle Flow, All-Levels Flow, Restorative, and Yoga for Vets. The Yoga for Vets class I get a flat $20 fee.

    Thanks in advance for your help.

    Chris

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Need help with creating an if/then/or formula

    Can you provide any sample data? Dropdown is pretty easy, but where do we get number of students from?
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,844

    Re: Need help with creating an if/then/or formula

    have you created a spreadsheet - you can load here?
    with a layout you want

    you can use a lookup formula or hardcode and IF/lookup formula

    But we need to see the layout to really advise

    whats the max number in the class

    Also is that $15 per student for 3 = $45 then 4 = $65, 5 = 85
    1 = 15
    2 = 15
    3 = 15
    4 =20
    5 = 20
    6 =20
    etc


    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    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.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2405
    Posts
    25,065

    Re: Need help with creating an if/then/or formula

    Try the attached. To add a new class, just start typing in the next available row.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Registered User
    Join Date
    04-21-2015
    Location
    Baltimore
    MS-Off Ver
    2013
    Posts
    3

    Re: Need help with creating an if/then/or formula

    Here is my test invoice.
    Attached Files Attached Files

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2405
    Posts
    25,065

    Re: Need help with creating an if/then/or formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I think you want this to be

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Also look at my file to see how the one for vets is treated differently since that's a flat rate.

  7. #7
    Registered User
    Join Date
    04-21-2015
    Location
    Baltimore
    MS-Off Ver
    2013
    Posts
    3

    Re: Need help with creating an if/then/or formula

    6StringJazzer-

    Thanks for the help, but it is still not working. Also, I don't see your "file" for the vets.

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2405
    Posts
    25,065

    Re: Need help with creating an if/then/or formula

    Instead of showing a single invoice, I developed a list of all courses. Your original question mentions a formula and a dropdown, so I had to guess at the rest.

    I don't see your "file" for the vets.
    When I said "the one for the vets" I didn't mean a file for the vets. I meant the class price for the vets. Here is the formula I used to calculate price, and you can see that the one for the vets needs special treatment.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    There is another way to do this that gives more flexibility and moves the rates out of the formula and into a table, but I don't want to go that far until I understand better what you need.

+ 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] Use an existing cell formula for creating a new more complex formula
    By dubcap01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 07:41 AM
  2. Replies: 1
    Last Post: 11-21-2012, 02:03 AM
  3. creating an IF formula
    By excelmaster5000 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2008, 02:25 AM
  4. [SOLVED] creating a formula
    By Pamela in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-23-2005, 04:06 PM
  5. Help with creating a formula...
    By Battalion IMO-1 in forum Excel General
    Replies: 2
    Last Post: 01-21-2005, 10:06 AM

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