How to represent a column in Excel

  • Thread starter Thread starter kOdreaming
  • Start date Start date
K

kOdreaming

Hi, everyone

I currently have a formula.

{=SUM(IF((Data!G2:G75="Verified")*(Data!K2:K75<=7),1,0))}


However, the length of both column G and K are not fixed.
The data is retrieved from a remote database.

Is there any other way to represent it ?


Thanks
 
One quick-and-dirty way is to just do the whole column, x`like:
{=SUM(IF((Data!G2:G65536="Verified")*(Data!K2:K65536<=7),1,0))}

It won't be appropriate for Excel 2007, but is there any chance at all you'll actually fill
the sheet to row 65536? It's also considered somewhat sloppy, but you'll have long since
been promoted. It works just fine.

You can set up what's called a dynamic range. There are restrictions. Search for that if
you want to go that way.
 
Hi!

Could'nt you write it like this?:

{=SUM(IF((Data!G:G="Verified")*(Data!K:K<=7),1,0))}

/Ole
 
Hi

Since column K is numeric, use that column to count the rows with data.
Create 2 Dynamic ranges.
Insert>Name>Define> Name RngK
Refers to =Data!$K$2:INDEX(Data!$K:$K,COUNT(Data!$K:$K)+1)

Name RngG
Refers to =Data!$G$2:INDEX(Data!$G:$G,COUNT(Data!$K:$K)+1)

Formula for result
=SUMPRODUCT((rngG="verified")*(rngK<=7))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top