Visible cell count CHALLENGE.. wait for it, BETWEEN VALUES!!

UKNOWINVU2

New Member
Joined
Jun 26, 2014
Messages
32
How do I count visible (filtered) cells in 2 columns (data range below) with values between 1.5 & 2. Meaning if cell value is equal to or between 1.5 & 2 it counts.

I have figured out how to do this with unfiltered data but cant seem to figure it out with filtered data, HELP PLEASE!!!!!

Data: J7:J100000 & N7:N100000
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You neeed to change it along the lines of
=SUMPRODUCT((J7:J14>=1.5)*(J7:J14<=2)*(SUBTOTAL(103,OFFSET(J7,ROW(J7:J14)-MIN(ROW(J7:J14)),0))))
 
Upvote 0
OMG thats crazy, it works!! Thank you so much!!! Ok 2 more questions...please...

1) Why the solo J7 entry shortly after 103, what does that mean.. the J7?
2) Is it possible to modify the formula to include an only count if the corresponding row cell A7 contains the "text" "*W3*"?

Or is this asking to much?
 
Upvote 0
OMG thats crazy, it works!! Thank you so much!!! Ok 2 more questions...please...

1) Why the solo J7 entry shortly after 103, what does that mean.. the J7?
2) Is it possible to modify the formula to include an only count if the corresponding row cell A7 contains the "text" "*W3*"?

Or is this asking to much?

Or better yet, for question # 2, I dont need to filter count if i can say:

If A7 has text "W3" & Cell J7 is equal to or between 1.5 & 2 count. I feel like that might be easier, no?
 
Upvote 0
The J7 is just the start point for the OFFSET function.
for the extra criteria, try
=SUMPRODUCT((J7:J14>=1.5)*(J7:J14<=2)*(ISNUMBER(SEARCH("W3",A7:A14))))*(SUBTOTAL(103,OFFSET(J7,ROW(J7:J14)-MIN(ROW(J7:J14)),0)))
 
Upvote 0
The J7 is just the start point for the OFFSET function.
for the extra criteria, try
=SUMPRODUCT((J7:J14>=1.5)*(J7:J14<=2)*(ISNUMBER(SEARCH("W3",A7:A14))))*(SUBTOTAL(103,OFFSET(J7,ROW(J7:J14)-MIN(ROW(J7:J14)),0)))

*round of applause* BRILLIANT!!! Thank you Fluff!
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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