Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel |