Forum Discussion

MichaelPercival's avatar
MichaelPercival
Frequent Visitor
1 year ago
Solved

Complex Excel Xlookup values not correctly retrieved by Power Query

Good Morning,   This might be a very specific quirk, but I have repeatedly found that some complex xlookup formulas I have in an excel spreadsheet are displaying correctly in Excel, but power queri...
  • rajendraongole1's avatar
    1 year ago

    Hi MichaelPercival -You're correct that this issue likely arises because Power Query doesn't retrieve the displayed value of a cell that contains a formula, but rather tries to recompute it based on its internal logic.

    Copy the range containing the XLOOKUP formulas.
    Paste the values back into the same range using Paste Special > Values Only.
    Load this range into Power Query. Since the cells now contain static values, Power Query will retrieve them without reinterpreting the formula.

    There’s no setting in Power Query to "force retrieve only the displayed value" without pre-processing the data in Excel.

     

    Hope this helps.