Google Sheets – Editing a VLOOKUP Formula Referencing a Pivot Table

google sheetsvlookup

After inserting a VLOOKUP formula in a Google spreadsheet, where the array parameter references columns of a pivot table, how do I edit the formula again?

When I enter the formula, it just displays the value returned by the formula, and I can't seem to find a way to view or edit the original VLOOKUP formula.

Best Answer

I had this same issue. I did a workaround which seems to work fine for me.

Instead of using something like

=vlookup(A2,BOM!A:B, 2,0)  

I just added a +0 at the end as my lookup was returning an integer.

So when I put

=vlookup(A2,BOM!A:B, 2,0)+0 

it works fine for me and my vlookup is now editable.

Also, if you already have a vlookup you may need to delete it and then reenter it.