COUNTIF and Named Ranges -- Please Help!

darknesseofmagyk

New Member
Joined
Jun 30, 2011
Messages
6
Good afternoon, friends!

I'm in pretty bad need of help right now. I've defined a range that consists of a certain number of rows and all columns in the spreadsheet. Let's call this range initial ($2:$730).

What I'd like to do is use a COUNTIF function to check cells in column DX (column 128) with "never". Without a named range I would use:

=countif(dx2:dx730,"never")

Unfortunately, I'm dealing with 300+ columns and a number of specific named ranges.

I've tried =countif(initial,,128,"never") to no avail. Can someone please help me?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Welcome to the board..

Index is usefull here..
=INDEX(initial,0,128)

That would return a range equivelent to DX2:DX730

So to put that in the countif
=COUNTIF(INDEX(initial,0,128),"never")


Hope that helps.
 
Upvote 0
Jonmo, you. are. my. hero.

Thank you so much! It works perfectly. I obviously have much to learn--I'd never even used the Index function before!

Again, thank you. Happy Thursday!
 
Upvote 0
Glad to help, thanks for the feedback..

Index is one of the most powerfull functions in Excel....You should get to know it..
 
Upvote 0

Forum statistics

Threads
1,224,526
Messages
6,179,322
Members
452,906
Latest member
Belthazar

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