Data sorting formula

WorkinOnIt13

Board Regular
Joined
Sep 8, 2005
Messages
90
THis question actually pertains to a Microsoft access database. however it is usually basic formula, so I figured I would ask here as well.

I am using a query to sort data by batch number.

Between [Enter Beginning Batch] And [Enter Ending Batch]

So for example I enter 100 and then 120.

It should only show the batches typed and those in between. Heres my problem. It is also showing any batches like 1101 or 1109 or 1112 cause it sees the "met criteria" in the first three numbers. Is there a formula or an exact statement I can use to keep it from pulling anything but the batches typed and those in between whats typed??

Thanks!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi

Check the data structure. Make sure the Batch Number is numeric and not alpha.

Tony
 
Upvote 0
For petes sake....

Ok I feel really silly cause that is something I was just working with the other day, must have changed it on accident. But thank you very much for your help. It fixed my brain fart error.
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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