+ Reply to Thread
Results 1 to 4 of 4

Formula works in one row but not another

  1. #1
    Registered User
    Join Date
    08-12-2021
    Location
    England
    MS-Off Ver
    Office 16
    Posts
    2

    Exclamation Formula works in one row but not another

    I have a formula that retrieves data from another worksheet in the same workbook. I needed to add another row to my work sheet, so just dragged the formula up one cell.

    =INDEX(TOTALS!$D$5:$ABA$31,MATCH($D8,TOTALS!$D$5:$D$31,0),MATCH(E$5,TOTALS!$D$5:$ABA$5,0))

    This formula works in row 8, and every row below that, but NOT in row 7

    =INDEX(TOTALS!$D$5:$ABA$31,MATCH($D7,TOTALS!$D$5:$D$31,0),MATCH(E$5,TOTALS!$D$5:$ABA$5,0))

    This formula does not work. The only difference is the row number

    What am i missing??

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Formula works in one row but not another

    What do you mean by "does not work"?

  3. #3
    Registered User
    Join Date
    08-12-2021
    Location
    England
    MS-Off Ver
    Office 16
    Posts
    2

    Re: Formula works in one row but not another

    I get #N/A and the error says 'Value not available error'. But there is a value in the field I am pointing the formula to.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Formula works in one row but not another

    Difficult to diagnose something we can't see, so please attach a sample workbook by following the directions given in the yellow banner at the top of the screen.

    Pete

+ 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. Replies: 1
    Last Post: 01-08-2015, 07:02 PM
  2. [SOLVED] Sumifs formula giving #value even though each part individually works as a sum formula
    By carrach in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2015, 10:34 AM
  3. how can i make this code works for multiple links it only works for one link
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2014, 08:38 AM
  4. [SOLVED] weekday() result used in an array formula doesn't work. Formula works if i type in date
    By aarco50 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-25-2014, 03:25 PM
  5. Require information on how a specific formula works (see inside for formula)
    By twiggywales in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-04-2012, 10:13 AM
  6. Formula works, but works too well...
    By shaunl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2006, 02:57 AM
  7. Excel Addin works that works on a template workbook
    By s.jay_k in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2006, 03:35 PM

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