Thread: Sum VLOOKUP?
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Raj Raj is offline
external usenet poster
 
Posts: 130
Default Sum VLOOKUP?



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.

"andyoftheg" wrote:

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