+ Reply to Thread
Results 1 to 7 of 7

What is wrong with my formula?

  1. #1
    Registered User
    Join Date
    10-25-2018
    Location
    London
    MS-Off Ver
    Office 2019
    Posts
    45

    Question What is wrong with my formula?

    =IFERROR((SUM(F18*0.45)=0," ",SUM(F18*0.45)), " ")

    I want the formula to do SUM F18*0.45. If the value is "0" I want the cell to be blank.
    And also if there is an error within the cell for it also to be blank.

    Any help is appreciated. Cheers

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: What is wrong with my formula?

    ...maybe

    =IFERROR(F18*0.45,"")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    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
    44,622

    Re: What is wrong with my formula?

    You're missing the IF Function
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    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


  4. #4
    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
    44,622

    Re: What is wrong with my formula?

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

  5. #5
    Registered User
    Join Date
    10-25-2018
    Location
    London
    MS-Off Ver
    Office 2019
    Posts
    45

    Re: What is wrong with my formula?

    Quote Originally Posted by TMS View Post
    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks, this works!

    Can I ask... how come the =sum is no longer needed? Was that what was messing things up?

  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
    44,622

    Re: What is wrong with my formula?

    You're not summing anything, you're multiplying a cell by a value. But no, that would still work, it's just not necessary. As I said, you were missing the IF.

  7. #7
    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
    44,622

    Re: What is wrong with my formula?

    Thanks for the rep.

+ 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] is IF formula wrong here? or what am i doing wrong?
    By Sephre in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-22-2020, 02:19 PM
  2. What is wrong with this short formula ? (conditional formula)
    By Leo=123 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 10-01-2019, 06:53 AM
  3. [SOLVED] Macro exporting and saving the wrong page with wrong name
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2018, 01:24 PM
  4. [SOLVED] Wrong formula or wrong function?
    By cpope in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2017, 10:27 AM
  5. Something wrong with my formula?
    By Lene in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-26-2009, 05:53 AM
  6. What's Wrong With This Formula?
    By SamuelT in forum Excel General
    Replies: 4
    Last Post: 09-06-2006, 09:26 AM
  7. [SOLVED] What's wrong with this formula?
    By Ken M. in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-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