Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9097555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:08:38+00:00 2026-06-17T00:08:38+00:00

I have seen people use SUM in calcs when there is no need to

  • 0

I have seen people use SUM in calcs when there is no need to use it and I just assumed that they didn’t know what they were doing but I just downloaded a template from excel and they use it as well. So I am wondering maybe there is a good reason to do that and I am completely missing something.
Example:

=IF(SUM(A20)>0,SUM((A20*E20)-F20),"")

Why not just:

=IF(A20>0, (A20*E20)-F20, "")
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:08:39+00:00Added an answer on June 17, 2026 at 12:08 am

    I see two reasons why people use sum in such situation:

    1. They just don’t know better
    2. As error prevention: if any of the cells contains a string, using them for any mathematical operation will result in an #VALUE! error. Wrapping it with SUMwill cast a string to a 0.

    While the latter has some use, it’s normally better to ensure consistent data – or handle it more explicit in the formula, e.g. IF(ISTEXT(A1),0,A1).

    I do not see any reason why someone would wrap the result of a formula in a SUM…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen that people use <div id=name> rather than <div id=name> is that
I have seen people say that it is bad form to use catch with
I have seen some instances where people will say you have to use JS
I have seen some people in SO commenting that Singleton Pattern is an anti-pattern.
In my career I have seen literally dozens of ways that people choose to
I have seen people use clientBaseAddress at the time of wsDualHttpBinding binding. What is
I have seen different people use different types of braces/brackets for this. I tried
I have seen people use GO statement between batches of SQL code, but AFAICS
I have seen people use an alternate define syntax in require js than what
I have a few objects that are incredibly similar. In fact, they use STI

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.