+ Reply to Thread
Results 1 to 2 of 2

if #N/A then sum

  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    Helsinki
    MS-Off Ver
    Excel 2010
    Posts
    34

    if #N/A then sum

    I have two rows A1-A5 and B1-B5.
    The A1-A5 gets values from another sheet and the B1-B5 copies them from the A1-A5.
    My problem is that when for example A1 gets value #N/A I want the B1 to make a simple sum function C1+C2.
    How do I do this?
    I tried this to the B1:
    =If(A1=#N/A;(C1+C2);A1)
    I think this should work but #N/A probably has to be written in some other way?

    Thanks for helping!

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,437

    Re: if #N/A then sum

    =If(ISNA(A1);(C1+C2);A1)
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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