View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
mikeg mikeg is offline
external usenet poster
 
Posts: 3
Default using Name or other method to add cell values through workbook

SUMIF is exactly what I was looking for. I got what I wanted with:
=SUMIF(E1:E67,"=Maintenance",F1:F67)

Thanks so much for your assistance!

On Apr 11, 1:20*pm, JLatham wrote:
Look at help for the SUMIF() worksheet function. *If I understand your post
correctly, the actual entries in the tax references are like "Maintenance"? *
And if so, then SUMIF() should work for you.



"mikeg" wrote:
I suspect what I want to do is fairly easy, but I need help
nonetheless.
I have a workbook I'm using to track expenses for a project. On each
worksheet, I have bank statements with transaction amounts. I have
gone through and labelled each of these transaction amounts with a tax
reference (e.g., "Maintenance"). So, on a worksheet, there might be
three Maintenance cells, with the neighbouring cell representing the
transcation's value. I know how to define a Name to get a constant
value (e.g., A2's value is Tax, A3's value is the current tax rate, so
I just define "Tax" then on another cell I can multiply 10*tax to find
out how much tax I pay on $10).
I would like to do something similar, but here I just want to add up
all the cells with a neighbouring name/label of "Maintenance" I
suspect I can do this with name, but can't figure it out. Can someone
show me how to do this?
.- Hide quoted text -


- Show quoted text -