Closed Thread
Results 1 to 3 of 3

Formula generating #n/a at last row after formula being dragged down.

  1. #1
    Registered User
    Join Date
    09-23-2022
    Location
    Houston, Texas
    MS-Off Ver
    365
    Posts
    72

    Formula generating #n/a at last row after formula being dragged down.

    I have this formula that was created by another user that worked out great for one version of the data.

    I have now modified the way the data appears and to my luck the formula almost works but it is generating a #N/A at the end.

    This is the formula used in my first version which works perfectly but not on my second version.
    =IF(AND(A19<>0,A19<>"other"),SUM(INDIRECT("c"& ROW(C19) & ":c" & MATCH(TRUE,INDEX(A20:A$100<>"other",0),0)+ROW(A18))),"")

    Please see the attached workbook.

    Ideally, I would like to keep the formula style the same since many other formulas used the same style.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: Formula generating #n/a at last row after formula being dragged down.

    No workbook attached.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: Formula generating #n/a at last row after formula being dragged down.

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-gen...l-appears.html

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Build formula(Like Goal Seek)
    By Masa1989 in forum Excel General
    Replies: 0
    Last Post: 03-20-2020, 04:36 AM
  2. Replies: 3
    Last Post: 09-24-2015, 11:59 PM
  3. [SOLVED] Countif Formula that can be dragged down
    By hammer2 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-12-2014, 01:03 AM
  4. Formula does not recalculate when dragged into next row
    By vulture165 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-24-2013, 12:09 PM
  5. Windows Vista : How do I show a dragged formula as zero?
    By fithawk in forum Microsoft Windows Help
    Replies: 2
    Last Post: 05-02-2012, 02:07 PM
  6. Excel 2007 : How do I show a dragged formula as zero?
    By fithawk in forum Excel General
    Replies: 1
    Last Post: 05-02-2012, 04:26 AM
  7. Formula not changing when Dragged!!!!
    By aposatsk in forum Excel General
    Replies: 2
    Last Post: 08-17-2006, 09:55 AM

Tags for this Thread

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