Formula to find between 2 numbers

punit83

Board Regular
Joined
Jan 17, 2018
Messages
84
Office Version
  1. 2019
Platform
  1. Windows
SR# (Column A )J# FROM (Column B)J# TO (Column C)
19660496606
29656096586
39655596559
49653896539
59654096542
69653096537
79637596384
89638596427
99642896457
109645896465
119649796521
129652596527
1396529
149654596551
159646696490

Hello,
Need formula to show result from SR#.
eg:-
if i enter 96605 than result should be showing 1
if i enter 96560 than result should be showing 2


Thanks in Advance
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hello, maybe:

Excel Formula:
=AGGREGATE(14,6,$A$2:$A$16/($B$2:$B$16<=96605)*($C$2:$C$16>=96605),1)

But what is the upper limit for SR#13 and what the result should be when the entered value is outside of range completely?
 
Upvote 0
Hello, maybe:

Excel Formula:
=AGGREGATE(14,6,$A$2:$A$16/($B$2:$B$16<=96605)*($C$2:$C$16>=96605),1)

But what is the upper limit for SR#13 and what the result should be when the entered value is outside of range completely?
Hello,
Thank you for formula for SR#13 i will use if formula as of now.

If i want to use same formula for Text what shall i change in formula ?
 
Upvote 0
Hello, a) what version of Excel are you using (2019 does not have UNIQUE), b) what do you mean by text - e.g. that column A will contain description instead of numbers?
 
Upvote 0
Hello, a) what version of Excel are you using (2019 does not have UNIQUE), b) what do you mean by text - e.g. that column A will contain description instead of numbers?
as of now i am working on 2021.
yes description and no number ( i have another file on that i want to apply this formula )
 
Upvote 0
Many thanks for your reply. With 2021 you could e.g. use (this will work both with numbers and texts):

Excel Formula:
=XLOOKUP(1,($B$2:$B$16<=96605)*($C$2:$C$16>=96605),$A$2:$A$16,"No Match")

or

Excel Formula:
=FILTER($A$2:$A$16,($B$2:$B$16<=96605)*($C$2:$C$16>=96605),"No Match")
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,143
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top