+ Reply to Thread
Results 1 to 2 of 2

need help with if function

  1. #1
    Registered User
    Join Date
    07-21-2015
    Location
    new york
    MS-Off Ver
    MS excel 2010
    Posts
    4

    need help with if function

    So I need to create an invoice where if you check a check box the value on another cell gets a discount. I want to then add the total of all the discount calculated and display it on a different cell.

    I am using this:

    SUM(IF(F20="D",(E20*0.1)),IF(F21="D",(E21*0.1))........Etc

    I am using "D" ti indicate discount for now because I don't know how to use check boxes but my goal is to use a check box instead of typing "D".
    what I want is that after it does the calculation of the 10% discount for the selected items is to add up all those discounts. what kind of formula should i use and I can keep it all on the same cell.

    Thank you

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: need help with if function

    Can you post a sample workbook with the data and a proposed layout so we can help you?
    Be sure to indicate a cell where you want a formula and what an example answer would be.


    I think you can likely use a simple SUMIF formula to grab everything with a D then multiply by the discount at the end.
    Attached Files Attached Files
    Last edited by mikeTRON; 05-17-2016 at 02:43 PM.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  2. VBA code for custom function that returns detail results of array function
    By onechipshot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2015, 06:30 PM
  3. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  4. [SOLVED] IF Function referencing IsNumber, Match, Left function on separate sheets
    By Touch9713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2013, 10:09 PM
  5. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  6. Replies: 2
    Last Post: 03-20-2009, 01:29 PM
  7. [SOLVED] Excel - User Defined Function Error: This function takes no argume
    By BruceInCalgary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04:05 PM

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