Consulting

Results 1 to 5 of 5

Thread: Hiding a row

  1. #1

    Hiding a row

    Good morning guys
    I am tracking some stock funds and sometimes one of the funds goes into
    default. When the fund goes into default I hide the row that the fund is in.
    When I do an average on the column that the hidden row is in the answer comes up N/A. Is there a way to work around that problem?
    Thanks for your help
    Max

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    What value is in the cell that has gone into default? If there is a #N/A error in the cell we can workaround this in a number of ways.

    One way is to use an Array Formula
    =AVERAGE(IF(ISNA(A1:A6),"",A1:A6))
    Confirm this formula with Ctrl + Shift + Enter instead of just Enter.

  3. #3
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    Max

    Did this work for you? Do you still need assistance with this one or can we mark it solved?

  4. #4
    Yes it works. I do not remember getting any information on the problem before today.

  5. #5
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    Ok, glad it worked for you. Now go ahead and mark it Solved. From the top post, click where it says Thread Tools. Then click Mark Solved, then Perform Action.


Posting Permissions

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