+ Reply to Thread
Results 1 to 5 of 5

Excel not adding all totals

  1. #1
    Registered User
    Join Date
    10-23-2013
    Location
    essex
    MS-Off Ver
    Excel 2003
    Posts
    81

    Excel not adding all totals

    The formula does not add all totals, h41 is not adding on k38 if cell e46 = yes
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    53,088

    Re: Excel not adding all totals

    Your formula does not look as if it's going to cope with what you have set up. It does not say what should happen for every combination of YES and NO.

    I'm not going to try and back-engineer it 'cos it's obviously wrong, so please tall us what you want to happen if you have in those two cells in E (E44 & E46):

    YES YES
    YES NO
    NO YES
    NO NO

    Is your profile up-to-date???
    Last edited by AliGW; 07-17-2021 at 06:09 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    10-23-2013
    Location
    essex
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: Excel not adding all totals

    If e44 = no, e46 will be yes, if e44 = yes, e46 will be no

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    53,088

    Re: Excel not adding all totals

    OK - so what do you want to happen (in WORDS or as a FORMULA) if:

    E44=YES & E46=NO

    E44=NO & E46=YES

    I have to ask because your attempted formula is muddled, unfortunately.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    53,088

    Re: Excel not adding all totals

    Your attachment is .xlsx, therefore you are not using Excel 2003. Please update your profile, as requested. Thanks.

    This may get you on the right track:

    =IF(AND(E44="YES",E46="NO"),formula_A,IF(AND(E44="NO",E46="YES"),formula_B,""))
    Last edited by AliGW; 07-17-2021 at 07:49 AM. Reason: Typo

+ 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] Adding together any two given totals
    By tom hatten in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-26-2017, 12:02 PM
  2. [SOLVED] Adding Totals To Worksheet
    By jo15765 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-09-2017, 11:54 AM
  3. Adding a new Totals Column
    By jstadtler in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-04-2014, 03:29 PM
  4. adding totals up
    By penguinJen in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-30-2013, 07:00 PM
  5. Replies: 1
    Last Post: 04-13-2012, 10:03 PM
  6. Adding pictures into excel, linked to cell totals.
    By Harrydad57 in forum Excel General
    Replies: 3
    Last Post: 12-16-2010, 08:50 PM
  7. [SOLVED] Adding category totals
    By Cryptographic_ICE@yahoo.com in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-15-2006, 06:50 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