Test within a range?

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Try one of these:

Inclusive:

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

Between:

=AND(C1>A1,C1<B1)

copy down as needed.

Biff
 
Back
Top