+ Reply to Thread
Results 1 to 12 of 12

Create a Formula that adds to a total

  1. #1
    Registered User
    Join Date
    08-18-2016
    Location
    United States, Texas
    MS-Off Ver
    2010
    Posts
    13

    Create a Formula that adds to a total

    I am trying to come up with a formula that adds 5.00 to the total of cell (L58) if cell (F22) is selected (it is a drop down box) if cell F22 is not selected the 5.00 is not added.



    Excel Order Form for a Pkg.jpg



    I tried:



    =IF(F22,[True], [5.00])



    =SUMIF(F22,"True")



    Can anyone help with this?



    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: Create a Formula that adds to a total

    are there options in the drop down box? how is L58 derived?

    have you tried =IF(F22<>"",L58+5.00,L58)
    If I've helped U pls click on d *Add Reputation

  3. #3
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Create a Formula that adds to a total

    Try this :
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-18-2016
    Location
    United States, Texas
    MS-Off Ver
    2010
    Posts
    13

    Re: Create a Formula that adds to a total

    I get this warning message when I insert this formula:

    Circular Ref Warning.jpg

  5. #5
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: Create a Formula that adds to a total

    Yes because you're referring to the same cell where you are entering the formula.

    You can change L58 to show the actual formula you're using to derive it.

    Are there any existing formula in L58?

  6. #6
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Create a Formula that adds to a total

    Replace L58 with the formula of Order Total. i.e. If Order Total is SUM($L$27:$L$53) Then write
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-18-2016
    Location
    United States, Texas
    MS-Off Ver
    2010
    Posts
    13

    Re: Create a Formula that adds to a total

    Nope. No other formulas In that cell.

    I get a value# error when I try the formula in L58.

    Value Error.jpg

  8. #8
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Create a Formula that adds to a total

    Then use this :
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-18-2016
    Location
    United States, Texas
    MS-Off Ver
    2010
    Posts
    13

    Re: Create a Formula that adds to a total

    The dropdown box contains the words:

    Institution
    Bookstore
    Student Pay ecommerce

    I tried:

    =IF(F22=Institution,Bookstore,ORStudent Pay eCommerce+5)

    and

    =IF(Institution,Bookstore,ORStudent Pay eCommerce(F22),5)

    However neither of these work.

  10. #10
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Create a Formula that adds to a total

    Please make your problem clear to us. Only answer my questions?

    1. If any data is selected in dropdown then the result in L58 will be 5.
    2. If no data is selected in dropdown then the result in L58 will be 0.

    Are you trying to do this?

  11. #11
    Registered User
    Join Date
    08-18-2016
    Location
    United States, Texas
    MS-Off Ver
    2010
    Posts
    13

    Re: Create a Formula that adds to a total

    Yes that is correct.

  12. #12
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Create a Formula that adds to a total

    Then my formula should work there. Please upload a sample file. May be I am missing something that I couldn't get from your description.

+ 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. Have total - want to know what adds up to it
    By StDave in forum Excel General
    Replies: 4
    Last Post: 05-17-2016, 01:27 PM
  2. Replies: 6
    Last Post: 08-21-2014, 01:04 PM
  3. Replies: 19
    Last Post: 03-04-2013, 01:16 PM
  4. [SOLVED] I want to create a conditional formula that adds a specific value...
    By mbxs3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2012, 08:13 PM
  5. Replies: 6
    Last Post: 06-21-2012, 12:32 PM
  6. Replies: 0
    Last Post: 12-22-2011, 03:42 PM
  7. Replies: 2
    Last Post: 01-06-2010, 05:51 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