Looking up Variable - finding min value / Header info

crzytimes

New Member
Joined
Oct 28, 2016
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Good Morning Everyone :) I have a data dump out of my companies ERP system that I'm trying to efficiently manage. There are about 10,000 rows and roughly 60 columns in the export file every week. I'm trying to write a formula that looks up a specific value and then finds the minimum value in that row. Another formula will pull the header that the min value is in. I've attached a sample file and a screenshot to this post if anyone can help me out. I'm completely stumped right now and struggling to get the right thing going.

Sample File
 

Attachments

  • sample file pic.PNG
    sample file pic.PNG
    17.5 KB · Views: 5

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
How about
=MIN(INDEX($G$2:$M$7,MATCH(A2,$F$2:$F$7,0),0))
 
Upvote 0
Also, with your original help, finding the column header was pretty easy. I should be able to transpose this into my ERP export pretty easily now.

Formula was

=INDEX($G$1:$M$1,0,MATCH(MIN(INDEX($G$2:$M$7,MATCH(A2,$F$2:$F$7,0),0)),(INDEX($G$2:$M$7,MATCH(A2,$F$2:$F$7,0),0)),0))

I'm going to convert it to named ranges a bit later on my master file so that it's easier for me to view again later :)

Thank you - Again :)
 
Last edited:
Upvote 0
Glad you were able to sort it. :)
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,607
Members
449,090
Latest member
vivek chauhan

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