+ Reply to Thread
Results 1 to 3 of 3

How to lock variable text in a cell to another cell from PowerQuery

  1. #1
    Registered User
    Join Date
    08-10-2016
    Location
    Cambridge, England
    MS-Off Ver
    2016
    Posts
    1

    Question How to lock variable text in a cell to another cell from PowerQuery

    Hi Excel Experts,

    I have a list of product numbers which is derived from our ERP system through Power Query.
    I added another column in the spreadsheet (not PowerQuery) next to them, to write the responsible for this item.
    However when I refresh the spreadsheet and more data is loaded from PowerQuery, the "manual" column doesn't match anymore.
    So how can I lock what I write in the last manual column to the product number in column A from PowerQuery, so when I update the list, the manual information will follow the right product number?

    Example excel.JPG
    Last edited by hoekeren; 07-28-2023 at 07:14 AM. Reason: Solved

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,847

    Re: How to lock variable text in a cell to another cell from PowerQuery

    Welcome to the forum.

    This is an issue I found early on when using PQ at work several years ago. I found and used this solution: https://exceleratorbi.com.au/self-re...s-power-query/

    It works well.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,847

    Re: How to lock variable text in a cell to another cell from PowerQuery

    Thanks for the kind rep comment.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 02-17-2015, 11:53 PM
  2. lock and insert formula in a cell based on selection of text in another cell
    By alirazafazal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2014, 06:08 AM
  3. [SOLVED] Find a variable text string in a cell and copy this to another cell
    By Timmy22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2014, 09:50 AM
  4. [SOLVED] How to take cell with custom format and assign to variable as text (as appears in cell)
    By tv69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-07-2014, 02:44 PM
  5. Lock Cell Variable so it will only accept integers
    By gplush in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2007, 09:12 AM
  6. Replies: 1
    Last Post: 07-05-2006, 09:50 AM
  7. [SOLVED] lock text box to cell
    By Marlis in forum Excel General
    Replies: 3
    Last Post: 08-24-2005, 10:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1