COUNT and OFFSET

  • Thread starter Thread starter edwardpestian
  • Start date Start date
E

edwardpestian

I have a range of Data: F8:CT8

I need to count the 1st column in this data range with there being 3
columns.

I just need to count if there is data in the cell excluding zeros.

In other words F8 F9 F10 F11 F12 F13
12 17


I need to know if there is data in f8 and f11 and so forthe...

Expect result is 2

Thanks in advance.

Regards,

EP
 
Hi!

Try this:

=SUMPRODUCT(--(MOD(ROW(F8:F100),3)=2),--(F8:F100<>0),--(F8:F100<>""))

Adjust for the end of the range.

If you might insert new rows before the start of the range:

=SUMPRODUCT(--(MOD(ROW(F8:F100)-ROW(F8),3)=0),--(F8:F100<>0),--(F8:F100<>""))

Biff

"edwardpestian" <[email protected]>
wrote in message
news:[email protected]...
 
Changed ROW to COLUMN, and the Range to F8:CT8, and it worked like a
charm.

Thanks for the help.

Regards
 

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