circular reference

breilly00

Board Regular
Joined
Sep 15, 2008
Messages
53
Office Version
  1. 365
Platform
  1. Windows
I am searching a sheet named data25 for certain values and counting the number of times they occur
A sample of some rows in sheet data25 is below
Date/TimeFirst Detected SpeedLast Detected Speed
2/1/2021 0:37​
64​
50​
2/1/2021 4:10​
37​
28​
2/1/2021 4:11​
19​
26​
2/1/2021 5:29​
14​
25​
2/1/2021 5:37​
36​
33​
2/1/2021 5:44​
52​
46​
In my results sheet I have the following starting at row 5. I am searching the first detected and last detected to see if either of the cells should be counted for the range of Low MPH or High MPH. In the count cell, I have this formula...=COUNTIFS(data25!$B$2:data25!$C$35000,">="&A6,data25!$B$2:data25!$C$35000,"<="&B6)-SUMPRODUCT(--(data25!$B$2:data25!$B$35000>=A6),--(data25!$B$2:data25!$B$35000<=B6),--(data25!$B$2:data25!$B$35000=$C$2:$C$35000))
and I get a circular reference and a value of 0 in the cell.

What do I have to change?

L-MPHH-MPHCOUNT
25​
34​
0​
35​
44​
45​
54​
55​
64​
65​
74​
75​
84​
85​
94​
95​
104​
105​
114​
115​
124​
125​
134​
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
If your trying to get a count, try
Excel Formula:
=COUNTIFS(data25!$B$2:data25!$C$35000,">="&A6,data25!$B$2:data25!$C$35000,"<="&B6)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,923
Members
448,533
Latest member
thietbibeboiwasaco

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