Sum VLOOKUP?

A

andyoftheg

Hi All,

I appologise if this function is currently avalible and i have missed it.
Is there a function or macro in Excel 03 which will effectivly provide the
sum of multipul VLOOKUPs?

I have a table of names and hours worked for a project.
The table is also divided into tasks, so the same name may come up numberous
times if the same person has done more than 1 task.

I would like to create a new table that gives me the total hours worked by
each person by using a vlookup (or simillar) but will add up all the results,
ather than returning the 1st result as you would get from a normal VLOOKUP.

Any ideas very much appreciated.

Many thanks,

Andy
 
D

Don Guillett

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.
 
G

Glenn

andyoftheg said:
Hi All,

I appologise if this function is currently avalible and i have missed it.
Is there a function or macro in Excel 03 which will effectivly provide the
sum of multipul VLOOKUPs?

I have a table of names and hours worked for a project.
The table is also divided into tasks, so the same name may come up numberous
times if the same person has done more than 1 task.

I would like to create a new table that gives me the total hours worked by
each person by using a vlookup (or simillar) but will add up all the results,
ather than returning the 1st result as you would get from a normal VLOOKUP.

Any ideas very much appreciated.

Many thanks,

Andy


You can use a PivotTable, or you could build a table yourself using SUMIF.

http://peltiertech.com/Excel/Pivots/pivotstart.htm

http://www.contextures.com/xlFunctions01.html#SumIf
 
R

Raj

Insert a new column based on the lookup values (names in your case). In that
new column use the below formula.

Consider you have names in column A. Insert a column. now your names are in
column B. so in column A .. write the below formula and drag it.

=B2&"-"&countif(B$2:B2,B2)

once done . when the name appears for first time it prints as Rajesh-1. if
it appears 2nd time then it prints as Rajesh-2 and so on for all names.


Raj...
Dont forget to click yes if you are satified with the suggestion.
 

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