Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average of Vlookup data
I have 263 employees and I am trying to average out third quarter, so I have
tabs July, Aug, and Sept and a fourth tab for the average. I have built an average formula using vlookup (by their employee id) to simplyfy it, BUT I am getting an error (#N/A) for about 50 employees b/c they were only here for one or two months... The problem is that I do not know which month without looking through all of the data for each month. Is there a formula that could look up this info for me and average it while neglecting the missing data? Current formula: =AVERAGE(VLOOKUP(A6,JulGen,4,FALSE),VLOOKUP(A6,Aug Gen,4,FALSE), VLOOKUP(A6,SeptGen,4,FALSE)) |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average of Vlookup data
Change each of the VLOOKUP's to this (using the appropriate table name for
each): IF(ISNA(VLOOKUP(A6,JulGen,4,0)),{""},VLOOKUP(A6,Ju lGen,4,0)) -- Biff Microsoft Excel MVP "JAbels001" wrote in message ... I have 263 employees and I am trying to average out third quarter, so I have tabs July, Aug, and Sept and a fourth tab for the average. I have built an average formula using vlookup (by their employee id) to simplyfy it, BUT I am getting an error (#N/A) for about 50 employees b/c they were only here for one or two months... The problem is that I do not know which month without looking through all of the data for each month. Is there a formula that could look up this info for me and average it while neglecting the missing data? Current formula: =AVERAGE(VLOOKUP(A6,JulGen,4,FALSE),VLOOKUP(A6,Aug Gen,4,FALSE), VLOOKUP(A6,SeptGen,4,FALSE)) |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average of Vlookup data
That worked perfectly! You're a genius! Thanks!
"T. Valko" wrote: Change each of the VLOOKUP's to this (using the appropriate table name for each): IF(ISNA(VLOOKUP(A6,JulGen,4,0)),{""},VLOOKUP(A6,Ju lGen,4,0)) -- Biff Microsoft Excel MVP "JAbels001" wrote in message ... I have 263 employees and I am trying to average out third quarter, so I have tabs July, Aug, and Sept and a fourth tab for the average. I have built an average formula using vlookup (by their employee id) to simplyfy it, BUT I am getting an error (#N/A) for about 50 employees b/c they were only here for one or two months... The problem is that I do not know which month without looking through all of the data for each month. Is there a formula that could look up this info for me and average it while neglecting the missing data? Current formula: =AVERAGE(VLOOKUP(A6,JulGen,4,FALSE),VLOOKUP(A6,Aug Gen,4,FALSE), VLOOKUP(A6,SeptGen,4,FALSE)) |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average of Vlookup data
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "JAbels001" wrote in message ... That worked perfectly! You're a genius! Thanks! "T. Valko" wrote: Change each of the VLOOKUP's to this (using the appropriate table name for each): IF(ISNA(VLOOKUP(A6,JulGen,4,0)),{""},VLOOKUP(A6,Ju lGen,4,0)) -- Biff Microsoft Excel MVP "JAbels001" wrote in message ... I have 263 employees and I am trying to average out third quarter, so I have tabs July, Aug, and Sept and a fourth tab for the average. I have built an average formula using vlookup (by their employee id) to simplyfy it, BUT I am getting an error (#N/A) for about 50 employees b/c they were only here for one or two months... The problem is that I do not know which month without looking through all of the data for each month. Is there a formula that could look up this info for me and average it while neglecting the missing data? Current formula: =AVERAGE(VLOOKUP(A6,JulGen,4,FALSE),VLOOKUP(A6,Aug Gen,4,FALSE), VLOOKUP(A6,SeptGen,4,FALSE)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
vlookup then average 3 above and below | Excel Worksheet Functions | |||
Combining Average, Offset & Vlookup | Excel Worksheet Functions | |||
vlookup average() | Excel Worksheet Functions | |||
Average when No Data | Excel Worksheet Functions | |||
Using VLookup, Displacement, SumIF to total and average | Excel Discussion (Misc queries) |