Solved

# accumulated totals var with same name

Posted on 2016-11-02
43 Views
Hi,
I would like a formula to determine accumulated totals for same names where value =1
Many thanks
Ian
0
Question by:racepro
[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

LVL 52

Expert Comment

ID: 41871444
in general, you would need to use SumIf or SumIfs function.

MS Excel: How to use the SUMIF Function (WS)
https://www.techonthenet.com/excel/formulas/sumif.php

MS Excel: How to use the SUMIFS Function (WS)
https://www.techonthenet.com/excel/formulas/sumifs.php

pls attach your document for our references.
0

Author Comment

ID: 41871747
oops I forgot to click on the Upload File button
sorry :)
see attached
Accum-Wins-same-name.xlsx
0

LVL 52

Expert Comment

ID: 41871757
you may try use formula like this in C2:

``````=COUNTIFS(\$A\$1:A2,A2,\$B\$1:B2,1)
``````
and drag down your formula for the rest of the cells.
0

LVL 52

Accepted Solution

Ryan Chong earned 500 total points
ID: 41871758
sample as attached.
Accum-Wins-same-name_b.xlsx
0

Author Closing Comment

ID: 41871805
That was simple.
Works well
Thanks Ryan
0

## Featured Post

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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…
###### Suggested Courses
Course of the Month2 days, 10 hours left to enroll

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

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