Forums

General Betting

Welcome to Live View – Take the tour to learn more
Start Tour
There is currently 1 person viewing this thread.
Roman.Totale
25 Oct 10 17:04
Joined:
Date Joined: 07 Nov 08
| Topic/replies: 680 | Blogger: Roman.Totale's blog
Thanks in advance.

Column B contains names. Column E contains a corresponding number.

I can use countifs to determine how many times a name occurs, but I'd also like to tot up the corresponding value in Column E each time the specified name occurs in Column B.
Show More
Loading...
Report CurlyBlues October 25, 2010 5:21 PM BST
Sounds as though a simple sumif would work.

As an example: =SUMIF(B5:B50,"Name1",E5:E50)
Report Compound Magic October 25, 2010 5:23 PM BST
Copy and paste 

=SUMIFS(B$1:B1,E$1:E1,B1)

And fill down
Report IanP October 25, 2010 5:25 PM BST
A pivot table is neater.
Report Compound Magic October 25, 2010 5:30 PM BST
Sorry got it the wrong way round

=SUMIFS(E$1:E1,B$1:B1,B1)

I really should test first!
Report CurlyBlues October 25, 2010 5:56 PM BST
The problem with sumifs in this situation is you end up with a lot of random numbers and you still need to find the last occurrence of the required value in column B to get the final total. I am ofcourse assuming the problem to be solved is a simple one.

IanP is right, a Pivot Table would be the tidiest way of solving the problem especially if you wanted the final total for all the values in column B rather than just 1. Its also the better solution if you want to do any extra analysis on the data and is far more flexible.
Report Roman.Totale October 25, 2010 7:28 PM BST
Cheers.

There are a lot of commands i've never used in Excel, but on my way home it occured to me that there was probably a Sumifs command.

For speed i'll probably go for the Sumifs and look at the Pivot Table when I have more time.
Report Lusitano71 October 25, 2010 8:18 PM BST
http://www.youtube.com/user/ExcelIsFun

"Over 1200 Excel How To Videos. This site is intended to show you many Excel Efficiency Tricks so you can work faster, you can help others at work and you can save enough time to have extra vacation!"

i really like this guy channel you have a lot of hidden gems there
Report Lusitano71 October 25, 2010 8:21 PM BST
oh!! just one suggestion...use the search uploads feature on you tube
Post Your Reply
<CTRL+Enter> to submit
Please login to post a reply.

Wonder

Instance ID: 13539
www.betfair.com