+ Reply to Thread
Results 1 to 7 of 7

Can't get Sum to work with current forumla

  1. #1
    Registered User
    Join Date
    05-01-2014
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    3

    Can't get Sum to work with current forumla

    Electrical Quote Forms.xlsx

    Here is the spreadsheet, I'm trying to get a completed sum at the bottom but get n/a.

    Thanks,

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Can't get Sum to work with current forumla

    all your lines are N/A so its coming down, you need to put =if(h21<>"",h21*b21,"") i think, your sheets readonly password protected so cant see.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    05-01-2014
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Can't get Sum to work with current forumla

    Electrical Quote Forms.xlsx
    Should be unprotected

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,474

    Re: Can't get Sum to work with current forumla

    Change the formula in I21 to =IF(B21="","",B21*H21) and copy down
    Change the formula in I35 to =SUM(I21:I34)
    Change the formula in I38 to SUM(I35:I37)

    Read this link on If Statements for proper syntax

    http://www.techonthenet.com/excel/formulas/if.php
    Alan


    Have you debugged your code?
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    05-01-2014
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Can't get Sum to work with current forumla

    Thanks Alan,

    That worked!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    36,263

    Re: Can't get Sum to work with current forumla

    Or you could just "hide" the errors.

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


    and

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




    Regards, TMS
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  7. #7
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Can't get Sum to work with current forumla

    or change i35 to
    =IF(SUMIF(I21:I34,"<>#n/a"),SUMIF(I21:I34,"<>#n/a"),"")
    and
    i36 to
    =IF(I35="","",I35*D18)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. Forumla won't work
    By john dalton in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-04-2013, 11:58 AM
  2. [SOLVED] Help with forumla to work out sum of overdue invoices
    By George Holmer in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-27-2013, 06:45 AM
  3. [SOLVED] trying to add an OR formula to current forumla
    By kingsnipes in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-14-2013, 07:38 PM
  4. Using the IF function: Why does this forumla not work?
    By icc56 via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-22-2005, 10:05 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