Solved

sum values

Posted on 2014-11-03
6
73 Views
Last Modified: 2014-11-05
I would like to get the best approach to summing values  like.

workbook attached
book-one-test.xlsb
0
Comment
Question by:Svgmassive
  • 3
  • 2
6 Comments
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 40419359
Hi,

You could create a Table by selecting your range and Insert / Tables / Table

and the use  formula

=SUM(Table1[A],Table1[b],Table1[c])

Open in new window

Regards
book-one-testV1.xlsb
0
 
LVL 24

Expert Comment

by:Steve
ID: 40419360
You can use the following array formulas
Entered using [ctrl]+[shift]+[enter]...

=SUM($D$5:$I$8,N(D4:I4<>"*rem"))
=SUM($D$5:$I$8,N(D4:I4="*rem"))

See attached
U--book-one-test.xlsb
0
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 40419497
I think my solution is the correct one.  all others does not show the correct outcome :-)

check the attached file.
EE.xlsb
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 40419520
@JimJam

You do not show the total sum of hours but only the rest of division by day 6: 00 instead of 30:00

You have not changed the format like I did [hh]:mm ;-)
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 40419538
@Rgonzo1971

by all means, your number is also correct. sorry did not see the format ;-)  but you can agree with me that sum product is dynamic, if you change the title of the header by either adding *rem or otherway around removing the rem, then your table sum is not updated, whereas the sumproduct catches that one :-)

anyways, you are the genius
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 40419552
with three different formats attached. :-)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question