Solved

sum values

Posted on 2014-11-03
6
77 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 52

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 26

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 52

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 26

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 26

Expert Comment

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

627 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