View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tetsuya Oguma Tetsuya Oguma is offline
external usenet poster
 
Posts: 19
Default How to get =MIN() given flags?

Hi all,

Here is a breeze question for you guys!

I want to get a minimum number in Column B from the numbers whose flag in
Column A shows "Y".

<Scenario 1
A B
1 1
2 Y 5
3 Y 8
4 Y 12

The required function should show 5.

<Scenario 2
A B
1 1
2 Y 5
3 8
4 Y 12

The required function should show 5.

What is the array function to do the above?

Thanks in advance.

Tetsuya Oguma