Count # of instances meeting criteria that aren't uniform

gravanoc

Active Member
Joined
Oct 20, 2015
Messages
348
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Is there a single-cell formula that I can use to count the number of times a value in range F5:F128 is >= to H5:F128, and also where symbols in range C5:C128 <> symbols in M5:M15?

Trying to do it with a formula & not VBA or helper columns; also prefer it to be dynamic so that it will accommodate changes to the list in column M.

Sample data:
FINALwatchlist.csv
CDEFGHIJKLM
4SymbolLastWkDescriptionClose20WkEmaQ_PivStarc+Starc-Growth
5AIEQ27.35ETF MANAGERS TRUST AI POWERED EQT ETF27.629.1330.0930.7830.78RPG
6ARKG29.2ARK ETF TR GENOMIC REV ETF29.4930.531.3334.4634.46FDN
7ARKK35.74ARK ETF TR INNOVATION ETF37.5338.0938.6145.0245.02CLOU
8ARKW47.1ARK ETF TR NEXT GNRTN INTER ETF49.249.2348.9759.2359.23IPO
9CLOU16.73GLOBAL X FDS CLOUD COMPUTNG ETF16.7917.1517.819.1219.12IWF
10DIA340.36SPDR DOW JONES IND UT SER 1 ETF335.98333.18330.37354.73354.73XLK
11EEM39ISHARES TRUST MSCI EMG MKT ETF39.4239.1939.6341.6941.69VGT
12EFA73.51ISHARES TRUST MSCI EAFE ETF7470.6469.9677.0577.05ITB
13EMB84.95ISHARES TRUST JPMORGAN USD EMG ETF85.1485.5986.6288.6788.67XLV
14EMLC24.83VANECK ETF TRUST VANECK J. P. MORGAN EM LOCA25.2924.8625.0125.9225.92XLY
FINALwatchlist
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
How about
Excel Formula:
=SUMPRODUCT((F5:F128<>0)*(F5:F128>=H5:H128)*(ISNA(MATCH(C5:C128,M5:M100,0))))
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,592
Members
449,174
Latest member
chandan4057

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