MAX For INDEX-MATCH Using Only Certain Columns, Without 'Helper' Cells/Table

DerekK

Board Regular
Joined
Jun 18, 2007
Messages
90
Office Version
  1. 2003 or older
Platform
  1. Windows
ABCDEFGHI
1Reference NumberNumeral1SomethingElseNumeral2OtherBaloneyNumeral3Whatever
2C1015&c.&c.5&c.&c.6&c.
3C1028&c.&c.7&c.&c.9&c.
4C10313&c.&c.13&c.&c.16&c.

How would I return the "9", which is the MAX out of columns B, E and H only for reference number C102?

Thus far, I have come up with an array which extracts the required columns (because there are other numbers in contiguous columns which shouldn't be considered) but I'm not sure how to go about the rest:
{=CHOOSECOLS(Sheet1!$A$1:$I$4,1,2,5,8)}

Hope you can help!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
How about:
Excel Formula:
=MAX(IFERROR(VALUE(XLOOKUP("C102",A2:A4,B2:I4)),0))
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

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