• 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.

  • 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.

  • 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.

  • 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
43
328 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
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.00
  • Avast Premium Security 2021 10 Devices 1 Year Global Avast Premium Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $28.00
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Kaspersky Internet Security 2021 1 year 1 device key Global Kaspersky Internet Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $24.00
Products
  • Kaspersky Plus - 1 Device 1 Year - GLOBAL Kaspersky Plus - 1 Device 1 Year - GLOBAL $23.00
  • Trend Micro Maximum Security 3 Devices 1 Year key Global Trend Micro Maximum Security 3 Devices 1 Year key Global
    Rated 5.00 out of 5
    $15.00
  • Microsoft SQL Server 2019 Enterprise Microsoft SQL Server 2019 Enterprise $39.00
  • Microsoft Visio Professional 2010 Key 1PC Microsoft Visio Professional 2010 Key 1PC $9.00
  • Kaspersky Premium - 1 Device 1 Year - GLOBAL Kaspersky Premium - 1 Device 1 Year - GLOBAL $37.00
  • Windows Server 2022 Datacenter Key Global Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $7.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.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
  • Microsoft Visio Standard 2019 Key 1PC Microsoft Visio Standard 2019 Key 1PC $12.00
  • Windows 10 Home OEM Key Global Windows 10 Home OEM Key Global
    Rated 4.80 out of 5
    $6.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.