Array formula

G

Guest

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:A100>B1)

any help would be appreciatd.

Thanks,
 
G

Guest

The formula A1:A100>B1 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:A10>B1,A1:A10,""))

Entered as an array formula.

HTH,
Elkar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top