Replies: 1 comment 3 replies
-
I think this question is best asked at PhpSpreadsheet |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
Thank you for this wonderful set of features for importing and exporting, I love to use your features.
I have a working environment with many exports and imports.
In an export I would like to achieve the following. I have multiple sheets and would like to have a sheet where i would use a Vlookup formula that searches values from another sheet.
The expected result would be the following:
in Column A user will type(scan) an SKU and in Colunm B the Vlookup formula would search the given sku from another sheet for the product name.
But in my export I have #N/A in all cells that contains the formula, not even have the formula in the field only #N/A as text. In my config file the 'pre_calculate_formulas' => false is set.
in the export which based on FromArray I use WithMapping function and for the specifig cell I use the following:
"=VLOOKUP("B{$thisRow}",#NAMEOFSHEET#::B:C,2,FALSE)",
where #NAMEOFSHEET# is the proper name of the other sheet and $thisRowId represents the currentRow.
if I put and simpler formula to a cell, such as SUM it creates the export with the proper formula in the cell and not with the calculated value.
Is there any idea what am I doing wrong?
thank you for your kind help!
regs
Tomi
Beta Was this translation helpful? Give feedback.
All reactions