ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Multiple criteria question (https://www.excelbanter.com/excel-discussion-misc-queries/254063-multiple-criteria-question.html)

Lise

Multiple criteria question
 
Hi everyone

I have 7 columns in a worksheet - columns A-F are formulated to copy
specific cells from other worksheets within the same workbook. Column A is a
name column B is a % etc.

I want to enter a formula that calculates the average of columns B, D and F
if the corresponding cell in columns A, C and E are the same name ie if John
smith is say in a2, c13 e20 calculate the average of the cells in b2, d13 and
F20.

Hope this makes sense


Thanks

Lise

eksh

Multiple criteria question
 
Hi Lise,

Assuming the name in a column not repeating, I have a quite long formula
here, pls see if this fit your need.
=AVERAGE(VLOOKUP("John Smith",$A:$B,2,FALSE),VLOOKUP("John
Smith",$C:$D,2,FALSE),VLOOKUP("John Smith",$E:$F,2,FALSE))



"Lise" wrote:

Hi everyone

I have 7 columns in a worksheet - columns A-F are formulated to copy
specific cells from other worksheets within the same workbook. Column A is a
name column B is a % etc.

I want to enter a formula that calculates the average of columns B, D and F
if the corresponding cell in columns A, C and E are the same name ie if John
smith is say in a2, c13 e20 calculate the average of the cells in b2, d13 and
F20.

Hope this makes sense


Thanks

Lise



All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com