Find all matches and consolidate them

BKGLTS

Board Regular
Joined
Aug 27, 2018
Messages
82
Hello,

I have a spreadsheet with multiple sheets.
Sheet1 Column A has alpha numeric values in it like M1, M2, M3, etc. along with empty cells between them. There may be duplicates but that doesn't matter.
I need a formula that I can put on Sheet2 that will generate a consolidated list of what is on Sheet1 based on certain criteria.

For Example:

SHEET1
ABC
1M1
2
Twigs
2M11Berries
3
4M23Twigs
5

<tbody>
</tbody>


SHEET2
I need the formula to look in Column A on Sheet1 and find all the rows that have a value starting with the letter "M", and then return the values Sheet 1 Columns B & C, but consolidated as shown here.

AB
1Twigs5
2Berries1
3
4
5

<tbody>
</tbody>


Thank you,
B
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I do not get an option to download. Right click on link and no option to download only open or save link which is an html. Clicking on the link automatically tries to open in browser.

Can you place on mediafire.com?
 
Last edited:
Upvote 0
The Power Query seems to work great even when updating and refreshing the data.
The pivot tables explode when trying to refresh them and only show the totals after refresh.
So question is how do I copy the power query or create these power queries in the actual spreadsheet please?
Thank you!
 
Upvote 0
Pivot Table:
just re-create PT, add filter CodC, DCscription to existing Qty and it will work

Power Query:
all steps you can see: Data tab, Show Queries, in Workbook Queries you will see four tables , right click on any table and Edit then you'll see steps
all these tables are copied from the first but differently filtered
 
Upvote 0
Sandy666, Thank you I was able to figure it out and got them created in my actual spreadsheet. This solution seems to work very well for what I need. I think I prefer it not to automatically update because i think it slows down the spreadsheet in general. I think i will be ok manually refreshing the tables.
 
Upvote 0
with small table(s) it can be automatic update
with large (few million rows) - better manual
you can do what you want of course :)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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