Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
MP MP is offline
external usenet poster
 
Posts: 39
Default If Formula (visible cells only)

Need assistance editing the following if formula in excel 2003 to only show
the count for visible cells only and ignores any hidden rows.

=IF(J2=J1,K1+1,1)

The formula checks to see if the value in J2 equals J1, if true a + 1 is
added from K1 and entered into cell K2. If false the count is returned to 1.

The formula is entered K2:K2211. See below:

K2: =IF(J2=J1,K1+1,1)
K3: =IF(J3=J2,K2+1,1)
K4: =IF(J4=J3,K3+1,1)

Any help is appreciated.

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
Copy Visible Cells in Sheet with Merged and Hidden Cells rtwiss Excel Discussion (Misc queries) 5 April 25th 23 09:08 AM
Formula only for visible Cells lightbulb Excel Discussion (Misc queries) 1 July 24th 08 06:48 PM
When creating a formula how do you select only visible cells fuadramsey Excel Discussion (Misc queries) 1 June 13th 06 01:35 AM
How can I get a formula to work on visible cells with autofilter? Jude Sweeney Excel Discussion (Misc queries) 2 May 16th 06 05:33 PM
Help to adapt Formula syntax to work with Visible Filtered Cells Sam via OfficeKB.com Excel Worksheet Functions 6 September 16th 05 11:42 PM


All times are GMT +1. The time now is 11:36 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"