Add one table to bottom of another

GScott

New Member
Joined
Oct 12, 2013
Messages
28
Office Version
  1. 365
Platform
  1. Windows
I have a query that extracts transactions from a PDF that has multiple pages. My data is on page 2 and 3 but the transform definition for page 2 does not work for page 3 so I have written, in the file, a query for page 3. Don't know why page 2 query doesn't work for page 3, the PDFs look the same and I am grabbing the same data, but the column count varies.
I get the data from page 2 into spreadsheet.
In an ideal world I would like to output the page 3 query to the bottom of the page 2 query. I cannot work out how to do this.
I would settle for outputting into separate sheets but can't work out how to do this either.
Can someone offer some guidance please
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Seems you have 2 functions, one for page 2 and one for page 3. So store your queries in functions (plenty of tutorials online) and apply an if by referring to the page.
Something of this sort:
Power Query:
if [Page]<2 or [Page] > 3 then null else if [Page] = "Page2" then Fn_Page2 else Fn_Page3

Then filter out your null rows and expand the column.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
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