#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
edwardpestian
 
Posts: n/a
Default COUNT and OFFSET


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


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=541381

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default COUNT and OFFSET

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"
wrote in message
news:edwardpestian.27o6yo_1147396205.3949@excelfor um-nospam.com...

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


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile:
http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=541381



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
edwardpestian
 
Posts: n/a
Default COUNT and OFFSET


Changed ROW to COLUMN, and the Range to F8:CT8, and it worked like a
charm.

Thanks for the help.

Regards


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=541381

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default COUNT and OFFSET

You're welcome. Thanks for the feedback!

Biff

"edwardpestian"
wrote in message
news:edwardpestian.27oobm_1147418701.949@excelforu m-nospam.com...

Changed ROW to COLUMN, and the Range to F8:CT8, and it worked like a
charm.

Thanks for the help.

Regards


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile:
http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=541381



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OFFSET to include blank cells GMCN Excel Worksheet Functions 2 April 3rd 06 10:11 AM
Using the OFFSET and COUNT functions to get a moving total Eduardo Excel Discussion (Misc queries) 2 November 1st 05 01:58 AM
Offset, Dynamic range, Countif Bryce Excel Discussion (Misc queries) 3 October 26th 05 12:58 PM
Sum Count of Numeric Criterion Sam via OfficeKB.com Excel Worksheet Functions 2 September 21st 05 05:30 PM
Problems copying cells using offset and counta hlckom Excel Discussion (Misc queries) 4 January 30th 05 12:49 AM


All times are GMT +1. The time now is 04:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"