Array formula to PQ

RaudMees

New Member
Joined
Dec 9, 2019
Messages
20
Office Version
  1. 2016
Platform
  1. Windows
Hello

I made a formula in Excel sheet, but now I need to convert it to PQ, but.. it will give several errors (PQ don't like @ ; and $ symbols when I paste it to PQ). Is there any option to translate it to PQ-friendly? When it's in sheet, then my table is running very slow (data is coming from CAD-software and calculating all the time makes it slow).
{=IF([@Kogus]<>"";IFERROR(INDEX($J$1:$J7;MATCH([@Alamkoost];TRIM($E$1:$E7);0))*[@Kogus];[@Kogus]);"")}

WBR
RM
 
Yes, but when I have empty rows, then 1 error is for each row. This is template file and first table will have 4000 rows.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
if you've empty rows (whole row is empty) so in the first step filter it by null/blank then the rest should work

see again my example (updated) from post#18
 
Last edited:
Upvote 0
Yes, now no errors at all :) Looks almost done. I made some sheets more and now I am in trouble to merge those sheets. They have to be side by side, like on picture. This sample is made manually by producing company. Do I need unique column to merge them?
 

Attachments

  • PQ merge.png
    PQ merge.png
    42.4 KB · Views: 15
Upvote 0
it depends what you want to achieve, there are the same headers so if you use Merge (with additional column: Index) you will get a lot of columns, so I think Append is a better choice (start with the table with the most columns)
 
Upvote 0
I tried with Append function, but it put data from top to bottom, not from left to right.
 
Upvote 0
as I said: it depends what you want to achieve
if you don't like Append result add to each table Index then Merge by Index
you didn't even show the expected result so how do I know what to do
 
Upvote 0
maybe add new column with the name of each table, 1st table - column Name filled by Karbiku kaas, 2nd table - column Name filled by Karbiku kips, etc, then Append and create Pivot Table
Big horizontal table doesn't make sense to me
[edited]
 
Last edited:
Upvote 0
Ok, will try. That picture what I sent, this is the needed result.
 
Upvote 0
post#27 was edited
btw. you cannot use merged cells in Tables ;)
and I am still talking about Power Query not about any formula(s)
 
Upvote 0
Finally I just copied those tables side by side on Summary sheet and they works. I made video too of this: http://tehnik.ee/PQ.mp4
Is there any better option to refresh all tables at once than VBA code?
 
Upvote 0

Forum statistics

Threads
1,223,806
Messages
6,174,725
Members
452,578
Latest member
Predaking

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