Link to home
Start Free TrialLog in
Avatar of Tocogroup
TocogroupFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How do I use INDEX and MATCH in this specific Excel example ?

Hi,

I have an Excel 2010 workbook made up of two sheets (Dashboard and Summary) which shows the results from mobile app testing.  I'm trying to use INDEX and MATCH in the Dashboard sheet to return percentage values from the Summary sheet.

The idea is to locate the correct % value on the Summary sheet by providing a mobile device name (eg. iPhone 5) and a test result description (eg Pass).

The reason I am using INDEX/MATCH is because the device names may change, or new devices may be added. Therefore, I want to make it as flexible and maintainable as possible.

I've attached a mock-up of the original workbook.

Regards
Toco
iOS-Test-Control-Panel.xlsm
Avatar of NBVC
NBVC
Flag of Canada image

Try:

=INDEX(INDEX(Summary!$D:$D,MATCH($B3,Summary!$A:$A,0)):Summary!$D$1000,MATCH(C$2,INDEX(Summary!$B:$B,MATCH($B3,Summary!$A:$A,0)):Summary!$B$1000,0))

copied across the matrix.

Note:  This formula allows for items in Summary upto row 1000.. can be adjusted.
Another way might be, first insert a column in Summary sheet before column A.. this can be hidden afterward....

Then insert formula in new A3:

=LOOKUP(REPT("z",255),B$3:B3)

copied down.


Now formula in Dashboard C3 is:

=SUMIFS(Summary!$E:$E,Summary!$A:$A,$B3,Summary!$C:$C,C$2)

copied across the matrix
Avatar of Tocogroup

ASKER

Thank you. This works a treat.

I'm trying to understand how it works......how does the nested INDEX/MATCH combinations work ?
ASKER CERTIFIED SOLUTION
Avatar of NBVC
NBVC
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's clever !
Many thanks.