• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 62
  • Last Modified:

row reference range formula

Hi,
I'm looking for a time saving formula where I don't need to enter all the ranges in for each sheet every time.
Example

=COUNTIF(AV14:AV6520,">0")

I would simply enter the following
A1    14     B1   6520

and all formulas for same row would reference the range for col AV

Many thanks

Ian
0
racepro
Asked:
racepro
  • 3
  • 3
1 Solution
 
Rgonzo1971Commented:
Hi,

pls try
=COUNTIF(INDIRECT("AV"&A1&":AV"&B1),">0")

Open in new window

Regards
2
 
ShumsDistinguished Expert - 2017Commented:
Try below:
=COUNTIF(INDIRECT("AV14:AV"&COUNTA(AV:AV)),">0")

Open in new window

1
 
Rgonzo1971Commented:
@Shums I wouldn't use your formula, we don't know what's above row 14 and if there are blank cells in the range
2
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
raceproretiredAuthor Commented:
Great one Rgonzo..... Thanks ........ it works a treat.
Ian
0
 
raceproretiredAuthor Commented:
I used a sum using same formula but didn't work.... any ideas ?
got a "VALUE" error

=SUM("AV"&A1&":AV"&A2)
0
 
Rgonzo1971Commented:
=SUM(indirect("AV"&A1&":AV"&A2))

Open in new window

0
 
raceproretiredAuthor Commented:
ok thanks again........ I need the Indirect clause
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now