If cell contains highest number return non adjacent cell in the same row

Nanaia

Active Member
Joined
Jan 11, 2018
Messages
306
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I'm trying to find the highest [MAX] number from column D and provide the information from the same row in column B. I know that if the columns were adjacent I would use [ =INDEX(B:B,MATCH(MAX(C:C),C:C,0)) ]. If I change C:C to D:D I get a #DIV/0! error. Columns C and D are a wide range of numbers not in sequential order and Column B is text. Can anyone help me refine my formula - or completely replace it with one that works?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
G1 formula =
Code:
=FILTER(B1:C9,MAX(A1:A9)=A1:A9)

Snag_1f6462f1.png
 
Upvote 0
If you are getting #DIV0! that suggest that you have that error somewhere in col D.
 
Upvote 0
Solution
If you are getting #DIV0! that suggest that you have that error somewhere in col D.
Awesome! Thank you. There's over 10K rows of data and I haven't finished my coffee yet. It hadn't even occured to me there were DIV0 errors in the AVERAGEIFS formulae in that column.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,955
Members
449,199
Latest member
Riley Johnson

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