#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Array formula

Hi,

i have a range say A1:A100 containing numbers and i have a number in a cell
say B1, what i want to do is to have smillest number in the range A1:A100
that is bigger than the number that i have in B1, i tried the formula below
as an array formula but it does not work

=MIN(A1:A100B1)

any help would be appreciatd.

Thanks,
--
Farhad Hodjat
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Array formula

The formula A1:A100B1 returns either TRUE or FALSE. Thus, when placed in
the MIN function, only 0 or 1 would be returned. Try including an IF
statement to filter out numbers less than B1.

=MIN(IF(A1:A10B1,A1:A10,""))

Entered as an array formula.

HTH,
Elkar


"Farhad" wrote:

Hi,

i have a range say A1:A100 containing numbers and i have a number in a cell
say B1, what i want to do is to have smillest number in the range A1:A100
that is bigger than the number that i have in B1, i tried the formula below
as an array formula but it does not work

=MIN(A1:A100B1)

any help would be appreciatd.

Thanks,
--
Farhad Hodjat

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Array formula

One way (array-entered):

=MIN(IF(A1:A100B1, A1:A100))


In article ,
Farhad wrote:

Hi,

i have a range say A1:A100 containing numbers and i have a number in a cell
say B1, what i want to do is to have smillest number in the range A1:A100
that is bigger than the number that i have in B1, i tried the formula below
as an array formula but it does not work

=MIN(A1:A100B1)

any help would be appreciatd.

Thanks,

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
array formula q nickname Excel Discussion (Misc queries) 1 December 12th 06 05:12 AM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array formula Constance Excel Discussion (Misc queries) 2 December 20th 05 08:05 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM
Array formula help scott Excel Discussion (Misc queries) 3 January 27th 05 09:37 PM


All times are GMT +1. The time now is 02:03 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"