Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here is the problem I have
Col1 Col2 2.3 1 3.4 1 5.6 1 7.8 2 2.3 2 5.7 2 6.1 3 3.2 3 I want average the value in col 1 only when they have the same number in col2. please help! Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sharon, not sure the question. I think you could create a thrird column to
check and either put the average or the number you want then average. so for the first line, =if(round(a1,0)=b1,a1) would put 2.3 in column 3 only if the rounded amount (2) = 1. I did not see any matches in column 1 and 2 which is why I am confused "Sharon" wrote: Here is the problem I have Col1 Col2 2.3 1 3.4 1 5.6 1 7.8 2 2.3 2 5.7 2 6.1 3 3.2 3 I want average the value in col 1 only when they have the same number in col2. please help! Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Sharon
In cell C1 =SUMIF(B:B,ROW(C1),A:A)/COUNTIF(B:B,ROW(C1)) Copy down through C2:C3 -- Regards Roger Govier "Sharon" wrote in message ... Here is the problem I have Col1 Col2 2.3 1 3.4 1 5.6 1 7.8 2 2.3 2 5.7 2 6.1 3 3.2 3 I want average the value in col 1 only when they have the same number in col2. please help! Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
dynamic range and data validation | Excel Worksheet Functions | |||
dynamic data range and series | Charts and Charting in Excel | |||
Ignore Data for Dynamic Range | Excel Worksheet Functions | |||
Average dynamic data cells over a one hour period? | Excel Discussion (Misc queries) | |||
Dynamic Data Range | Excel Worksheet Functions |