Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mauddib
 
Posts: n/a
Default Min Value using array ignores Zero


Im trying to search a two column list using the following formula. Its
an array formula which I know not very much about....

{=MIN(IF((Sheet2!$F$3:$F$3500=E3)*(Sheet2!$J$3:$J$ 3500),(Sheet2!$J$3:$J$3500)))}

Its working almost perfectly. The only problem Im having is if the
values are, for example:

10
2
5
100
12
0

It will pick the 2 not the Zero.

I need to be able to pick the Zero in cases such as this. Does anyone
have hints on a tweak to the formula?

Gavin


--
mauddib
------------------------------------------------------------------------
mauddib's Profile: http://www.excelforum.com/member.php...fo&userid=4169
View this thread: http://www.excelforum.com/showthread...hreadid=346025

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=MIN(IF((Sheet2!$F$3:$F$10=E3)*(Sheet2!$J$3:$J$10 =0),(Sheet2!$J$3:$J$10)))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"mauddib" wrote in message
...

Im trying to search a two column list using the following formula. Its
an array formula which I know not very much about....


{=MIN(IF((Sheet2!$F$3:$F$3500=E3)*(Sheet2!$J$3:$J$ 3500),(Sheet2!$J$3:$J$3500
)))}

Its working almost perfectly. The only problem Im having is if the
values are, for example:

10
2
5
100
12
0

It will pick the 2 not the Zero.

I need to be able to pick the Zero in cases such as this. Does anyone
have hints on a tweak to the formula?

Gavin


--
mauddib
------------------------------------------------------------------------
mauddib's Profile:

http://www.excelforum.com/member.php...fo&userid=4169
View this thread: http://www.excelforum.com/showthread...hreadid=346025



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

or even

=MIN(IF((Sheet2!$F$3:$F$10=E3),(Sheet2!$J$3:$J$10) ))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...

=MIN(IF((Sheet2!$F$3:$F$10=E3)*(Sheet2!$J$3:$J$10 =0),(Sheet2!$J$3:$J$10)))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"mauddib" wrote in message
...

Im trying to search a two column list using the following formula. Its
an array formula which I know not very much about....



{=MIN(IF((Sheet2!$F$3:$F$3500=E3)*(Sheet2!$J$3:$J$ 3500),(Sheet2!$J$3:$J$3500
)))}

Its working almost perfectly. The only problem Im having is if the
values are, for example:

10
2
5
100
12
0

It will pick the 2 not the Zero.

I need to be able to pick the Zero in cases such as this. Does anyone
have hints on a tweak to the formula?

Gavin


--
mauddib
------------------------------------------------------------------------
mauddib's Profile:

http://www.excelforum.com/member.php...fo&userid=4169
View this thread:

http://www.excelforum.com/showthread...hreadid=346025





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Array Formulas and ISNUMBER Henrik Excel Worksheet Functions 1 February 10th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Where is the bug in my array? Gail Gurman Excel Discussion (Misc queries) 1 January 25th 05 12:36 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"