You are here:

Excel/if/lookup

Question
QUESTION: Column B is a list of multiple names used multiple times, sorted by date; i.e. Sarah, Kate, Drew, Sarah, Mike, Drew, Landon, Melanie, Melanie, Kate. They are earning money each week, and the monetary amounts are shown in column E. Column F needs to show a running total on each line for the amount each person has earned so far. (So if Sarah earned \$50 week one, then the next time her name shows, it will add \$50 + her new earnings of \$75.) I want a formula that will see a certain name in column B, see the corresponding monetary value in column E, add it to the previous corresponding monetary values in column E, and display the total so far in column F. Hopefully that makes sense. Thank you for your help!

I recommend the SUMIF() function.  I have uploaded a sample here:

https://www.dropbox.com/s/n5n1vqdgpv45kw6/ForLiz.xlsx?dl=0

---------- FOLLOW-UP ----------

QUESTION: I looked at the file in the dropbox, but I only see it as a picture, so I see names and numbers but no formulas. The information I provided were just examples, so can you please provide the formula you used?

Re: Dropbox - On the right-hand side of the screen click the down arrow next to OPEN and choose Microsoft Excel.

Here is the formula... but it doesn't really help much without a frame of reference (IE, I have no idea what rows contain data in your workbook):

=SUMIF(\$B\$1:\$B2,B2,\$E\$1:\$E2)

My formula is located in cell F2... and then copied down so that it is the same formula... but the row number updates where there are not absolute references (\$).
Questioner's Rating
 Rating(1-10) Knowledgeability = 10 Clarity of Response = 10 Politeness = 10 Comment Thank you! That is exactly what I wanted!

This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Nathan

Expertise

This expert requires a donation of \$5 for questions answered (satisfaction guaranteed). Isn't \$5 a value for this experts time?
Microsoft Excel questions related to advanced formulas, Pivot Tables, filters, forms, graphs, and just about anything else (EXCEPT Visual Basic Coding/Programming and Macros, I don't answer questions in those categories).

Experience

I have been using spreadsheets since Lotus 1-2-3 was released.

Education/Credentials
Certified Public Accountant (CPA)