+ Reply to Thread
Results 1 to 6 of 6

n/a in one row of data is screwing up my total formula

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    n/a in one row of data is screwing up my total formula

    Hi guys

    Please see data below:

    ROW 17 £234.82 0
    ROW 18 N/A #N/A


    roRow 17 has: =(E17+G17+I17)*0.1207 in one cell and =SUM(E17+G17+I17) in another cell

    Row 18 = has 0 data (i.e N/A) so I don't know if i can write an N/A formula i.e. the above but change 17 to 18. Because there is no data to calculate (N/A), it is returning 0 and it is affecting my formula at the bototm of the sheet which calculates a running total.

    Can anyone advise/

    thank you!
    Thanks,

    R.



  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: n/a in one row of data is screwing up my total formula

    Try

    =SUM(IFNA(E17,0),IFNA(G17,0),IFNA(I17,0))*0.1207

    and

    =SUM(IFNA(E17,0),IFNA(G17,0),IFNA(I17,0))

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: n/a in one row of data is screwing up my total formula

    Quote Originally Posted by 63falcondude View Post
    Try

    =SUM(IFNA(E17,0),IFNA(G17,0),IFNA(I17,0))*0.1207

    and

    =SUM(IFNA(E17,0),IFNA(G17,0),IFNA(I17,0))
    Hi

    thank you for your reply.

    This did not seem to work. Please find my spreadsheet attached. You can see my formulas and the issue is everyhwere in the spreadsheet where #VALUE! is apparent.

    So i guess if there is #VALUE! can excel exclude this or intrepret is a 0 and do the formula anyway? thank you!

    thank you for helping...
    Attached Files Attached Files
    Last edited by rayted; 03-28-2019 at 10:59 AM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: n/a in one row of data is screwing up my total formula

    What's causing the NA? Your file doesnt show. Consider fixing the NA at source, to eliminate the problem there?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    03-19-2019
    Location
    London
    MS-Off Ver
    2003-2016/2016 Mac
    Posts
    57

    Re: n/a in one row of data is screwing up my total formula

    Use this formula in N6

    Please Login or Register  to view this content.
    Press Cntl+Shift+Enter

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: n/a in one row of data is screwing up my total formula

    No, I meant what is causing the NA at source?

    Please upload a more detailed sample of your WB

    (Thanks for the rep, too)

+ 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. Print area screwing up..
    By Rhowell in forum Excel General
    Replies: 1
    Last Post: 11-15-2016, 05:28 PM
  2. I think my VBA code is screwing up my PivotTables
    By RollerRagerMD in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-24-2013, 02:59 PM
  3. [SOLVED] Simple IF fx help - I keep screwing something up...
    By brose99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-16-2012, 02:45 PM
  4. Selection.Filldown keeps screwing up
    By lordterrin in forum Excel General
    Replies: 2
    Last Post: 10-24-2012, 03:04 PM
  5. VBA Code Is Screwing Up A Formula
    By frith in forum Excel General
    Replies: 1
    Last Post: 11-13-2011, 12:43 AM
  6. Compile error screwing with me
    By MDC in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2006, 04:55 PM
  7. INSERT ROWS WITHOUT SCREWING-UP FORMULAS!
    By BILL GATES - I WANNA WORD WITH YOU! in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-04-2005, 10:06 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