Look up value of multiple occurances

C

Californiaoc

I have set up an checkbook register on the first page of a worksheet an
want to post expenses on to a second worksheet by expense type. I a
trying to create a formula that will search an array on the firs
worksheet and return a value associated with a particular expense type
I've used OFFSET and MATCH functions to do this and it works well a
long as there is only one occurance but I'm trying to find a way t
capture each indivual occurance. For example, if I have three entrie
in my checkbook for gasoline expenses, I want to pull all thre
expenses to the second worksheet and show them under a budget expens
labeled "gasoline". I thought there was a way of identifying th
second occurance or the third occurance of a particular array but
can't seem to figure it out
 
A

Alan

in Column A (Any Worksheet) enter the expense type, eg 'Gasoline'
in Column B (Any Worksheet) enter the amount,
=SUMPRODUCT(--(A1:A1000="Gasoline"),--(B1:B1000))
Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top