OFFSET function with multiple table

xdenama

New Member
Joined
Feb 12, 2016
Messages
39
Office Version
  1. 365
I have 100++ sheet (table) with same format with difference high (total row not fix, will change). How to combine all table (sheet) in one sheet only. I prefer OFFSET function, any other solution is welcome. TQSM
 
here is the way for

example:
Power Query:
let
    Source = Excel.CurrentWorkbook(),
    Expand = Table.ExpandTableColumn(Source, "Content", {"Week 1", "Week 2", "Week 3", "Year", "Month", "Day"}, {"Week 1", "Week 2", "Week 3", "Year", "Month", "Day"}),
    Filter = Table.SelectRows(Expand, each not Text.Contains([Name], "Query"))
in
    Filter
View attachment 22082
and so on...

Actually, all table from online data, unfortunately, the result is shown below, only number, not other details....
 

Attachments

  • Untitled-1.fw.png
    Untitled-1.fw.png
    103.5 KB · Views: 10
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
read post#6 ;)

I assumed
- all tables are Excel Tables, not ranges that pretend to be tables
- there is nothing more than these tables

btw. you didn't update your profile about Excel version, can you do that?
My Excel is OFFICE 360
 
Upvote 0
My Excel is OFFICE 360
365 rather :cool: ok, but do that in your profile

Actually, all table from online data, unfortunately, the result is shown below, only number, not other details....
post an example of your table (with generic data
you said your tables have the same structure (headers are the same and number of columns are the same)
example of the code is for MY tables , not yours
 
Upvote 0
I'm still thinking how to provide a table with generic data, because all data from online, real data. I try copy paste value, but there is not headers. Sorry about the headers, headers is from multiple department, but the total column is same...
 
Upvote 0
Excel Table has header(s), always
if there is no headers but you'll use Ctrl+T headers will be generated as Column1 , Column2 , etc

make a copy of your table (?) , change data if necessary , use XL2BB to post this example here (few rows only)

tblvsrange.png
 
Last edited:
Upvote 0
I upload image in Power Query, only first table is shown, second table is "null".
 

Attachments

  • Untitled-2.fw.png
    Untitled-2.fw.png
    140.6 KB · Views: 8
Upvote 0
I'm saying one thing you did totally different thing (forget about video!)

so
1. New Query - From Other Sources - Blank Query
2. go to Advanced Editor and replace all there with this:
Power Query:
let
    Source = Excel.CurrentWorkbook()
in
    Source
you should see something like this
content.png

then expand content
expand.png
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,453
Members
448,898
Latest member
drewmorgan128

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