+ Reply to Thread
Results 1 to 8 of 8

How to find the total number of valid cells under a specific cell name

Hybrid View

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    How to find the total number of valid cells under a specific cell name

    Hi Sir,

    I have a challenging problem: to count the number of valid cells (i.e. non-error) below a specific cell whose name is known, but the address of this cell is not known. I attached the example here. So the task is to 1) find the address of the cell with name 'Language', 2) count the number of non-error cells below the cell 'Language' and up to the 1000th row.

    To make it more interesting, please put this answer in a separate file (linked to the example file).

    Thanks for your great help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to find the total number of valid cells under a specific cell name

    see the attached file.

    I use cell H2 in combination with indirect to get the result.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: How to find the total number of valid cells under a specific cell name

    Quote Originally Posted by oeldere View Post
    see the attached file.

    I use cell H2 in combination with indirect to get the result.
    Hi oeldere, thanks for the simple answer. This is based on what you see: column C for the target cell. But what if you don't know see column C? Suppose you are not allowed to open the Example file, and have to first obtain the address for cell 'Language'. Please give the answer in a separate file to make this problem more interesting and adaptable.
    Last edited by zjianguk; 01-14-2013 at 08:13 PM.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to find the total number of valid cells under a specific cell name

    CTRL + H seek => Language.

    Seek next (it will find cel C4).

    After that you can use this cell in the offered solution.

  5. #5
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: How to find the total number of valid cells under a specific cell name

    Quote Originally Posted by oeldere View Post
    CTRL + H seek => Language.

    Seek next (it will find cel C4).

    After that you can use this cell in the offered solution.
    Hi oeldere, I am required to do this in formula.

    Any one can give a bright idea to do this via formula?

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to find the total number of valid cells under a specific cell name

    I don't understand.

    If you find the value you can fill H2 with that value +1.

    After that you can use the formula you been given.

    Why should it be an formula, if another option also works (as well)??

  7. #7
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: How to find the total number of valid cells under a specific cell name

    Quote Originally Posted by oeldere View Post
    I don't understand.

    If you find the value you can fill H2 with that value +1.

    After that you can use the formula you been given.

    Why should it be an formula, if another option also works (as well)??
    oeldere, unfortunately that is the real problem in work. It has to be formula-based and automatic.

  8. #8
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: How to find the total number of valid cells under a specific cell name

    I'm still waiting for a response answer to this question

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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