Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I have a spreadsheet set up as follows: Col A has Dates Col B has production units Col C has Energy Units Etc One row for every day of the year starting at row 2, through row 366. What I want to do is sum the production and energy units for every day that the production was greater than 5% of the average annual production. I have tried =COUNTIF($B$2:$B$366,AVERAGE($B$2:$B$366)*.05) This results in error messages. I tried using a seperate cell for the average, E.g. cell B367 =AVERAGE($B$2:$B$366)*.05 Then using the wizard =COUNTIF($B$2:$B$366,B367) changes to =COUNTIF($B$2:$B$366,"B367") and the reference is not used. What am I doing wrong? -- DCSwearingen Getting old, but love computers. ------------------------------------------------------------------------ DCSwearingen's Profile: http://www.excelforum.com/member.php...o&userid=21506 View this thread: http://www.excelforum.com/showthread...hreadid=560762 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Forget SUMIF, COUNTIF and VLOOKUP | Excel Worksheet Functions | |||
Can I use a Reference inside a SUMIF or COUNTIF Function? | Excel Worksheet Functions | |||
countif / sumif function error | Excel Worksheet Functions | |||
SUMIF and COUNTIF functions | Excel Discussion (Misc queries) | |||
problems with sumif and countif | Excel Discussion (Misc queries) |