+ Reply to Thread
Results 1 to 2 of 2

Counta for visible cells only

  1. #1
    Forum Contributor
    Join Date
    05-14-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    155

    Counta for visible cells only

    Dear Experts,


    I am working on a worksheet where column "C" to Column "EH" some data recorded.

    Some time i need to hide all column like AA to EH.

    I want that in every row if formula give result in column EI - COUNTA only for visible columns.

    How to complile such formula

    Please guide.


    Thanks in advance
    Rajeev Kumar

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Counta for visible cells only

    Hi,

    I don't believe there is such a formula, (unlike the equivalent SUBTOTAL() function which will only count visible rows). You would have to use a UDF looping macro to detect column widths that are zero and if so exclude that cell value from the totalling part of the UDF.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy Visible cells and paste values only to visible target cells
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2024, 12:01 AM
  2. how to copy from visible cells to visible cells
    By guhaseelan in forum Excel General
    Replies: 2
    Last Post: 04-16-2014, 09:32 AM
  3. [SOLVED] Copy/Pasting Values from visible cells (using autofilter) to visible cells
    By evakotsi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2012, 07:49 AM
  4. [SOLVED] changing a current mod (count unique visible cells ->count unique visible cells criteria
    By liranbo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2012, 03:58 AM
  5. OFFSET/COUNTA merged cells
    By dborchardt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2006, 08:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1