• ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips

No products in the cart.

  • ChatGPT Business
  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
    • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
Excel

Replace Values in Excel Query Source

0 Comments

In data processing, you may want to replace values displayed in a certain format, but don’t know how to do it. Don’t worry, in this article, I will guide you on how to replace values in the query source in Excel. Let’s refer to the steps below!

Replace Values in Power Query

I have the following data:

Replace Values 1Topic requirement: Change the values in the Product column to numeric format.
To fulfill this requirement, you need to follow these steps:

Step 1: First, your data must be converted to a table format. To create data in Table format: Select any cell in the data range, then go to the Insert tab, select Table or press Ctrl + T and click OK.

Replace Values 2Step 2: Go to the data query interface by selecting From Table/Range in the Data tab.

Replace Values 3Display the Power Query Editor interface. Here, you will identify the object to be processed, as per the requirement to change the values in the Product column to numeric format. Therefore, you will select the Product column by clicking on the column header name.

Step 3: On the toolbar, go to the Transform tab and select Replace Values.

Replace Values 4Step 4: The Replace Values table will be displayed. In the Value To Find field, type the content you want to replace, and in the Replace With field, type the content that will replace it.
In the example above, since I want to remove the “SP” character and leave only the number, I will set Replace With as a space.

Replace Values 5Step 5: Click OK to complete.
Note: If you want to display “SP-01” to differentiate the product code behind, in the Value To Find field, type “SP”; in Replace With, type “SP-“.

Replace Values 6And click OK to complete.

Replace Values 7Step 6: To convert the data in the Product column to a numeric format, you will select the Product column header name to select the column, then go to the Transform tab and select Data type: Whole Number.

Replace Values 8However, after converting the data, you may encounter a case where there is an Error displayed.

Replace Values 9To fix this error, you will do the following: Go to the Transform tab, select Replace error.

Replace Values 10The Replace Errors table will be displayed, where you will enter the value to replace when an error occurs.

Replace Values 11And click OK, the error will be replaced immediately with another value.

Replace Values 12Step 6: To export the data to Excel file, go to the Home tab and select Close & Load.

Replace Values 13The exported data will be displayed in a new sheet.

Replace Values 14So I have finished instructing you on how to replace values in the query source in Excel. Hopefully, this article will be helpful for you. If you find this article useful, don’t forget to rate it below!

Rate this post
42
311 Views
Ways to close unresponsive apps on WindowsPrevWays to close unresponsive apps on WindowsMarch 14, 2023
5 Excel Tips and HacksMarch 14, 20235 Excel Tips and HacksNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Kaspersky Total Security 2021 1 year 1 device key Global Kaspersky Total Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $27.00
  • Avast Ultimate Suite 2021 2 Years 10 Devices Global Avast Ultimate Suite 2021 2 Years 10 Devices Global
    Rated 5.00 out of 5
    $77.00
  • Buy Windows 11 Pro CD Key License Buy Windows 11 Pro CD Key License
    Rated 5.00 out of 5
    $6.00
  • Kaspersky Total Security 2021 1 year 5 devices key Global Kaspersky Total Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $46.00
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
Products
  • Microsoft Office Professional Plus 2010 retail Microsoft Office Professional Plus 2010 retail CD Key Global
    Rated 4.90 out of 5
    $11.00
  • Avast Premium Security 2021 10 Devices 2 Years Global Avast Premium Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $41.00
  • Microsoft Project 2019 professional Key Global Bind to your Microsoft Account Microsoft Project 2019 professional Key Global Bind to your Microsoft Account
    Rated 4.93 out of 5
    $12.00
  • ChatGPT Business – 1 Month of Affordable Power with ChatGPT 5 & ChatGPT 5 Pro ChatGPT Business – 1 Month of Affordable Power with ChatGPT 5 & ChatGPT 5 Pro $34.00 Original price was: $34.00.$9.00Current price is: $9.00.
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Kaspersky Premium - 1 Device 1 Year - GLOBAL Kaspersky Premium - 1 Device 1 Year - GLOBAL $37.00
  • Project Professional 2021 Microsoft Project Professional 2021 - 1 PC $13.00
  • Windows 11 Pro Product Activation Key Windows 11 Pro Product Activation Key
    Rated 5.00 out of 5
    $6.00
  • Buy Office 2021 Professional Plus Key Global For 5 PC Buy Office 2021 Professional Plus Key Global For 5 PC
    Rated 5.00 out of 5
    $68.00
  • Microsoft Office 2019 Home and Student for PC Key Global bind to your Microsoft account Microsoft Office 2019 Home and Student for PC Key Global bind to your Microsoft account
    Rated 4.95 out of 5
    $58.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.