+ Reply to Thread
Results 1 to 6 of 6

Autosum discount formula according the cells different from 0.00

  1. #1
    Registered User
    Join Date
    06-25-2014
    Location
    Bulgaria
    MS-Off Ver
    2013
    Posts
    44

    Autosum discount formula according the cells different from 0.00

    Hallo again,
    I wonder if there is such a formula that:

    You take 5 cells to autosum in 6th cell. If more than one cell from those 5 cells is different from 0.00 to automatically make 10% discount.
    Is there such a formula?

    Thank You very much
    Last edited by momchil.vladov; 07-01-2014 at 01:18 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: Autosum discount formula according the cells different from 0.00

    Assuming your data are in A1:a5, try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    06-25-2014
    Location
    Bulgaria
    MS-Off Ver
    2013
    Posts
    44

    Re: Autosum discount formula according the cells different from 0.00

    It says that the formula has an error. I've made the following;

    A11+B11=A1
    A12+B12=A2
    A13+B13=A3
    A14+B14=A4
    A15+A15=A5

    I try to put formula in D8 for example. It says that it has an error.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: Autosum discount formula according the cells different from 0.00

    Ummmm. No it doesn't. Please post your sheet, if this doesn't solve your problem
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-25-2014
    Location
    Bulgaria
    MS-Off Ver
    2013
    Posts
    44

    Re: Autosum discount formula according the cells different from 0.00

    Don't know why but now it doesn't say there is an error.
    This way could do the trick, but the idea was different.
    For example:
    A1=100
    A2=0
    A3=0
    A4=0
    A5=0
    D8=100
    If only one of the "A" cells is different from "0" to sum them without making discount.

    If it is this way:
    A1=100
    A2=50
    A3=0
    A4=70
    A5=30
    D8=225 ((100+50+0+70+30)-10%)
    If there are more than one cells bigger then "0" D8 to show the total amount with 10% discount.

    If there is no such a formula your way can to the trick. Thank you very much for it.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Autosum discount formula according the cells different from 0.00

    I read the question like this.

    I used Glenn Kennedy 's formula for that.

    Please Login or Register  to view this content.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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. Replies: 3
    Last Post: 02-04-2014, 03:36 PM
  2. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  3. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  4. Find cells where the formula equals "" or false
    By superbob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2010, 04:43 AM
  5. Replies: 7
    Last Post: 05-13-2006, 05:02 PM

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