Min (IF AND) formula accounting for text string?

Thermalunit

New Member
Joined
Feb 23, 2011
Messages
8
I joined the board as I am completely stumped by an equation and have been unable to find a solution on any board or through an hour or so of head scratching. I wondered if someone more familiar with Excel may be kind enough to help?

I'm trying to find the minimum value from a table of data if two separate conditions are met. One of the conditions needs to search for a string of text.

I have tried using: =MIN(($K$3:$K$2152=A3)*($ER$3:$ER$2152="*Enable*")*($EG$3:$EG$2152)) as an array but I just get a 0 in return. I can see from the spreadsheet that 0 is not the correct answer.

Any help would be much appreciated.
 
Perhaps your numbers in column EG are text formatted, what do you get with

=MIN(IF(($K$3:$K$12=A3)*ISNUMBER(SEARCH("Enable",$ER$3:$ER$12)),$EG$3:$EG$12+0))

confirmed with CTRL+SHIFT+ENTER
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I think you need to confirm such a formula with control+shift+enter, not just with enter. This also holds for what follows:

=MIN(IF($K$3:$K$2152=A3,IF(ISNUMBER(SEARCH("Enable",$ER$3:$ER$2152)),$EG$3:$EG$2152)))
 
Upvote 0
Andrew - apologies - your second solution did work after all! I made an error when placing the sheet name into the equation.

Thanks for your help much appreciated!
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

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