+ Reply to Thread
Results 1 to 3 of 3

Problems calculating results of an if statement

  1. #1
    Registered User
    Join Date
    03-13-2019
    Location
    Norwich,England
    MS-Off Ver
    MS Office
    Posts
    4

    Problems calculating results of an if statement

    I have created a simple formula which is '=IF(B3="","",B3*$C$2)' this is in c3, there are four of them for example the one is'=IF(D3="","",D3*E$2)' and so on. What i want to do is add the result of the four totals but when the cell is blank i get #value, but when b,d,f or g isn't blank it works the formula for this is simply '=C3+E3+G3+I3'. Because of the number of rows that will be used i don't really want 0 in the blank cells. I know there must be a simple way to sort it out any help would be appreciated

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Problems calculating results of an if statement

    use SUM

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


    unlike + the above will not try and coerce the values (to number), a text string (incl. null string) coerced will generate #VALUE! unless the string itself is numeric (e.g. "7")

  3. #3
    Registered User
    Join Date
    03-13-2019
    Location
    Norwich,England
    MS-Off Ver
    MS Office
    Posts
    4

    Re: Problems calculating results of an if statement

    Thank you knew it had to be something simple

+ 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] problems calculating occupancy
    By Mike952 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-13-2015, 07:58 PM
  2. [SOLVED] Problems with calculating percentages on any given day! please help!!
    By damo2deme2 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-20-2014, 08:26 PM
  3. Problems calculating overtime
    By darcym in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2013, 03:21 PM
  4. Snowball Problems calculating
    By astole in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-21-2013, 06:10 AM
  5. Replies: 2
    Last Post: 08-30-2011, 10:03 AM
  6. Excel 2007 : Problems calculating totals
    By Mo2783 in forum Excel General
    Replies: 0
    Last Post: 05-08-2009, 06:14 AM
  7. Calculating Cells Problems
    By MJK in forum Excel General
    Replies: 2
    Last Post: 10-15-2008, 04:38 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