Excel Formula : =MIN(IF)

mawar5530

New Member
Joined
Apr 5, 2020
Messages
38
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
=MIN(IF((A2=sheet2!$A$2:$A$1000)*(sheet1!B2=sheet2!$B$2:$B$1000),sheet2!$K$ 2:$K$1000,""))

i am comparing 2 column in diff sheet and would like to call for result in column k.

but this formula work for number not for text, can someone please help me here..
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Slight change from your formula:
Excel Formula:
=MIN(IF((sheet2!$A$2:$A$1000=A2)*(sheet2!$B$2:$B$1000=sheet1!B2),sheet2!$K$2:$K$1000,""))
 
Upvote 0
Still same the text or index not appear its shown as "0"
 

Attachments

  • Capture.JPG
    Capture.JPG
    233 KB · Views: 15
Upvote 0
Ah... I misunderstood the question.
what are in the target columns if not numbers, texts or number in text format? Would be good to see some examples.
 
Upvote 0
If the two criteria above returns one unique result, try
Excel Formula:
INDEX(sheet2!$K$2:$K$1000,MATCH(1,(sheet2!$A$2:$A$1000=A2)*(sheet2!$B$2:$B$1000=sheet1!B2),0))
Ctrl+Shift+Enter
 
Upvote 0
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Excel Formula : =MIN(IF)
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,658
Latest member
GStorm

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