• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

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
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

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
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

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
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
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
35
292 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 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
  • Windows 11 Home Key Global 2021 Windows 11 Home Key Global 2021
    Rated 5.00 out of 5
    $6.00
  • Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.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
Products
  • 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
  • Windows 10 Education Key Global Windows 10 Education Key Global
    Rated 4.84 out of 5
    $9.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
  • Windows Server 2016 Datacenter Key Global Windows Server 2016 Datacenter Key Global
    Rated 4.74 out of 5
    $10.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
  • 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 Server 2016 Standard Key Global Windows Server 2016 Standard Key Global
    Rated 4.80 out of 5
    $10.00
  • Windows 10 Pro Key Global Genuine Key Windows 10 Pro Key Global Genuine Key
    Rated 4.78 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
  • Buy Windows 11 Home CD Key Global Buy Windows 11 Home CD Key Global
    Rated 4.73 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.