1. Create a safe profile link for an employee
| Employee ID | Name | Department | Hire Date | Salary | Status |
| E001 | Alice Johnson | Marketing | 2015-06-01 | 75000 | Active |
=ENCODEURL("https://company.com/profile?empid=" & A2 & "&name=" & B2)Result: https%3A%2F%2Fcompany.com%2Fprofile%3Fempid%3DE001%26name%3DAlice%20Johnson
The formula concatenates a base URL with the employee ID from A2 and the name from B2. ENCODEURL then percent-encodes the entire string, turning the colon, slashes, question mark, ampersand and space into their %XX equivalents, producing a URL that can be safely passed to a web service.