Help Using an Index With Multiple Zeros

daw382

New Member
Joined
Aug 25, 2011
Messages
10
Hello,

Im working on an Excel project that uses an index function to match a series of ID's with their corresponding P&L figures to return another corresponding class ID. Originally, the P&L figures were unique throughout the series of ID's, so I didn't have any issues with getting the corresponding class to return. However, using a new set of data, I am finding that I have some ID's with multiple 0's throughout, which causes it to return the same class multiple times.

I'd like to attach an example worskeet, but I don't see an option to do so? Here's the function I am using:
Code:
=INDEX(CS!$C$2:$C$25, MATCH($A2 & "|" & $D2, INDEX(CS!$A$2:$A$25 & "|" & SUBTOTAL(9,OFFSET(CS!$D$2:$F$2,ROW(CS!D2:F25)-ROW(CS!D2),0)), 0), 0))
Anyways, if someone knows a solution to this, or can guide me on how to upload this file, I would greatly appreciate it.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,224,583
Messages
6,179,682
Members
452,937
Latest member
Bhg1984

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top