MIN If for Multiple Criteria

eoinymc

Board Regular
Joined
Jan 29, 2009
Messages
203
Hi,

Any chance anyone can help me here..I'm looking to find the minimum range based on two criteria.

1. It equals the city
2. It is greater than or equal to the time

So, here is a sample of what I have

[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]LA[/TD]
[TD]17:45[/TD]
[/TR]
[TR]
[TD]LA[/TD]
[TD]06:30[/TD]
[/TR]
[TR]
[TD]NY[/TD]
[TD]15:00[/TD]
[/TR]
[TR]
[TD]NY[/TD]
[TD]18:00[/TD]
[/TR]
[TR]
[TD]LA[/TD]
[TD]18:00[/TD]
[/TR]
[TR]
[TD]LA[/TD]
[TD]20:00[/TD]
[/TR]
[TR]
[TD]NY[/TD]
[TD]19:45[/TD]
[/TR]
[TR]
[TD]NY[/TD]
[TD]08:00[/TD]
[/TR]
</tbody>[/TABLE]

So my two variables are:
1. LA
2. >= 17:30

Therefore, the result should return 17:45

Has anyone got any ideas how I can do this?

Cheers,

Eoin
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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