#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Sum VLOOKUP?

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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Sum VLOOKUP?

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




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
  #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


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Sum VLOOKUP?

Hi,

You may read up on the SUMIF() function in the HELP menu

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"andyoftheg" wrote in message
...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
If (Vlookup 0) working, but what if Vlookup cell does not exist Steve Excel Worksheet Functions 18 November 18th 09 07:33 PM
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM


All times are GMT +1. The time now is 12:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"