MHB Excel Question (asking for a friend)

  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Excel
AI Thread Summary
The discussion centers around using Excel to calculate sums based on specific criteria in a fantasy basketball context. A user sought help for a friend who needed to sum values in column D based on corresponding entries in column E. The solution provided was to use Excel's SUMIF function, which allows for summing values that meet specified conditions. A link to a detailed description of the SUMIF function was shared, and the user later confirmed that the solution worked effectively for their friend's needs. The conversation highlights the practical application of Excel functions in managing fantasy sports finances.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Hello All! (Wave)

A friend on another site reached out to me with a question regarding using Excel. I told him I know nothing about it, but that I could probably find someone who does. Here is his question:

Here's the sheet (fantasy basketball nerding with my buddy, we make a killing every year- this is not at all private so don't worry about that):

XdA2yzt.png


So 26B and 26C are what we've personally paid thus far. This information is individually recorded the columns D (the price) and E (the payer) already. I'm positive there's a formula I could plug into cell 26B that would display the sum of all the values in column D that corresponded to "LS" in E, and one I could plug into cell 27B that would display the sum of all the values in column D that corresponded to "JB" in E. You see what I'm getting at? I just don't know how.

Feel free to enjoy the inanity of our team names, which we come up by sending each other random pics we'll use as team logos. We often make team names subtly (or not) indicating that we're the super fan of a particular team (and we're not), just so other owners think we'll have a thing for that team's players.

Full scale psychological warfare, Mark, last year we won like 6k (on top getting our investment back).

Thanks for any help! :D
 
Physics news on Phys.org
Hi MarkFL,

This can be done using Excel's built-in SUMIF function. I was going to type something more detailed out, but I think the link below is pretty good. The one thing worth noting is that the "IF" condition of the function can include character strings to check against.

Here is a link to its description with an example that your friend can apply to his situation. https://www.ablebits.com/office-addins-blog/2014/11/04/excel-sumif-function-formula-examples/

Hope this helps!
 
GJA said:
Hi MarkFL,

This can be done using Excel's built-in SUMIF function. I was going to type something more detailed out, but I think the link below is pretty good. The one thing worth noting is that the "IF" condition of the function can include character strings to check against.

Here is a link to its description with an example that your friend can apply to his situation. https://www.ablebits.com/office-addins-blog/2014/11/04/excel-sumif-function-formula-examples/

Hope this helps!

Thank you very much! My friend said that "worked like a charm." (Yes)
 

Similar threads

Replies
1
Views
2K
Replies
1
Views
3K
Replies
4
Views
10K
Replies
1
Views
4K
Replies
8
Views
21K
Back
Top