Test within a range?

G

Guest

I have a range of sequintial starting and ending numbers in two columns.
Then I have a huge list of numbers that I need to verify if they fall between
one of these ranges.

For example A1 contains 1000000000 and B1 contains 1010000000 and C1 is
1000340568. I need a forumla in D1 that would return "True" that the C1
number is between A1 and B1. I tried COUNTIF but that only works for a list
of numbers, not the start and end that I have in the above scenario.
 
T

T. Valko

Try one of these:

Inclusive:

=AND(C1>=A1,C1<=B1)

Between:

=AND(C1>A1,C1<B1)

copy down as needed.

Biff
 

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

Top