Solved

# get  row value

Posted on 2014-12-18
45 Views
I am using the formula to get the matching row/value in a column it works fine until there are like values. I need to get the value to populate cells in another range.
thanks
see book attached
get-row.xlsx
0
Question by:Svgmassive

LVL 27

Expert Comment

I don't see how this function works at all, even if there are discrete values in column BA.  Is this function copied down in order to return the additional values in BG and BH?  You'll need to provide more details here.

One problem is that - if the SUMPRODUCT function returns a zero value - that makes the row argument for the INDEX function zero.  When that happens, you'll get an invalid result.  But, instead of Excel throwing an error (which it should), it can give you unusual results.  Sometimes, it gives you the row on which the INDEX function resides - sometimes it's a value one less.
0

Author Comment

so what's the solution? is there an alternative?
0

LVL 27

Expert Comment

I'm still not sure what you are trying to achieve here.  The two lists in BG and BH are identical and there are no values in BB, which I assume you want to return.  Just need to know the proper relationships and what they mean.
0

LVL 18

Accepted Solution

krishnakrkc earned 500 total points
Try

=INDEX(\$BB\$2:\$BB\$774,MATCH(\$AQ\$2&\$BJ5,INDEX(\$BA\$2:\$BA\$774&\$BG\$2:\$BG\$774,0,0),0))
0

LVL 45

Expert Comment

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

## Featured Post

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.