Excel Countif between time ranges

mrsushi

Board Regular
Joined
Nov 18, 2006
Messages
180
Office Version
  1. 2010
Hi,

I have the following issue where the countif function isnt working. The formula is correct, but the column to which its referencing is based on an Average formula. Not sure how to get pass this issue. Any assistance will be appreciated.

The formula in column C is =AVERAGE(D2:E2).

As a result, the return value is producing a circular reference.

Any ideas please?

1708421730469.png
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
not sure why that would give a circular reference

Book3
ABCDEFG
1
213:0712:0014:151
Sheet1
Cell Formulas
RangeFormula
C2C2=AVERAGE(D2:E2)
G2G2=COUNTIFS(C2:C7,">="&TIME(9,0,0))
 
Upvote 0
Solution
not sure why that would give a circular reference

Book3
ABCDEFG
1
213:0712:0014:151
Sheet1
Cell Formulas
RangeFormula
C2C2=AVERAGE(D2:E2)
G2G2=COUNTIFS(C2:C7,">="&TIME(9,0,0))

Just realised i had the Average formula D2-Z2 (which overlapped the CountIF formula

Regards
M
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top