+ Reply to Thread
Results 1 to 2 of 2

Help needed to resolve #REF return using index & sum product formula

  1. #1
    Registered User
    Join Date
    07-14-2018
    Location
    west mids,england
    MS-Off Ver
    2010
    Posts
    8

    Help needed to resolve #REF return using index & sum product formula

    i have the following formula in a table of 5 rows and 4 columns

    =INDEX($U$8:$U$27,SUMPRODUCT(($V$8:$Z$27=$L17)*(ROW($U$8:$U$27)-ROW($U$7))))

    which returns the row detail from a pivot table when linked to L17 ( largest number in PT )

    The issue i have is some of the values in the L column are the same which in turn returns a #REF from the above formula when i know the cell should populate with the column header from the pivot table

    How can i resolve this?Capture.PNG
    Last edited by juca73; 07-03-2020 at 08:21 AM.

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

    Re: Help.....#REF

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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