• 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
314 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
  • Avast Premium Security 2021 Avast Premium Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
  • 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
Products
  • Windows Server 2008 R2 Standard Windows Server 2008 R2 Standard $10.00
  • Kaspersky Premium - 1 Device 1 Year - GLOBAL Kaspersky Premium - 1 Device 1 Year - GLOBAL $37.00
  • Buy Windows Server 2016 Essentials Key Global Buy Windows Server 2016 Essentials Key Global
    Rated 4.75 out of 5
    $10.00
  • Windows 10 Pro Key Global Windows 10 Pro Key Global
    Rated 4.74 out of 5
    $6.00
  • Windows Server 2025 Remote Desktop Services 50 User Connections Windows Server 2025 Remote Desktop Services 50 User Connections $25.00
  • Microsoft Office Professional Plus 2019 CD Key Global Microsoft Office Professional Plus 2019 CD Key Global - 5 PC
    Rated 4.92 out of 5
    $32.00
  • Microsoft Visio Professional 2013 Key 1PC Microsoft Visio Professional 2013 Key 1PC $9.00
  • Windows Server 2019 Essentials Key Global Windows Server 2019 Essentials Key Global
    Rated 4.71 out of 5
    $7.00
  • Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year
    Rated 5.00 out of 5
    $201.00
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.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.