Power Query to return records between two values

Richard U

Active Member
Joined
Feb 14, 2006
Messages
406
Office Version
  1. 365
  2. 2016
  3. 2010
  4. 2007
Platform
  1. Windows
I need to load records from another excel file into another based on a range of characters.

The user can enter the first and last into two cells with corresponding ranges (firstone, lastone)

From these two values, I need to do a power query to load in the data where the customer name is in between these two values.

So, if I have values 0 and D I would want all the customers who's names started with a number, or A, B, C, or D.

I am BRAND NEW to power query and haven't been able to figure this out yet.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Suggest you upload sample data of your needs and show a mocked up solution that equates to your sample data. Please use XL2BB and no pictures as we cannot manipulate data in pictures. Additionally, if you think you are going to be using PQ regularly, then pick up the book, "M is for (Data) Monkey" which can be found in the MrE store. It is an excellent PQ primer.
 
Upvote 0

Forum statistics

Threads
1,216,126
Messages
6,129,005
Members
449,480
Latest member
yesitisasport

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