Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Trying to count text for filtered column based on formula

I'm using the formula below to count records based that are 0 . I need to do
the same in a column that has text. Need to count "Cash". Get error

=SUMPRODUCT(SUBTOTAL(3,OFFSET(date_new,ROW(date_ne w)-MIN(ROW(date_new)),,1)),--(date_new,"cash:))


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Trying to count text for filtered column based on formula

try:

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX(date_new,1,1),ROW(date_ne w)-ROW(INDEX(date_new,1,1)),0))=1),--(date_new="cash"))

hope this helps
Rowan

"dtg_denver" wrote:

I'm using the formula below to count records based that are 0 . I need to do
the same in a column that has text. Need to count "Cash". Get error

=SUMPRODUCT(SUBTOTAL(3,OFFSET(date_new,ROW(date_ne w)-MIN(ROW(date_new)),,1)),--(date_new,"cash:))


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Trying to count text for filtered column based on formula

Rowan,
Thanks. That worked great.

"Rowan" wrote:

try:

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX(date_new,1,1),ROW(date_ne w)-ROW(INDEX(date_new,1,1)),0))=1),--(date_new="cash"))

hope this helps
Rowan

"dtg_denver" wrote:

I'm using the formula below to count records based that are 0 . I need to do
the same in a column that has text. Need to count "Cash". Get error

=SUMPRODUCT(SUBTOTAL(3,OFFSET(date_new,ROW(date_ne w)-MIN(ROW(date_new)),,1)),--(date_new,"cash:))


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default Trying to count text for filtered column based on formula

You're welcome. More detail at

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

"dtg_denver" wrote:

Rowan,
Thanks. That worked great.

"Rowan" wrote:

try:

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX(date_new,1,1),ROW(date_ne w)-ROW(INDEX(date_new,1,1)),0))=1),--(date_new="cash"))

hope this helps
Rowan

"dtg_denver" wrote:

I'm using the formula below to count records based that are 0 . I need to do
the same in a column that has text. Need to count "Cash". Get error

=SUMPRODUCT(SUBTOTAL(3,OFFSET(date_new,ROW(date_ne w)-MIN(ROW(date_new)),,1)),--(date_new,"cash:))


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
Formula to count text string in column cells of filtered rows JSS Excel Worksheet Functions 3 October 2nd 09 05:17 PM
count filtered rows based on condition greater than forty PLVKC Excel Worksheet Functions 1 September 4th 07 07:56 AM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 0 May 15th 05 08:14 PM


All times are GMT +1. The time now is 01:34 AM.

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

About Us

"It's about Microsoft Excel"