How to Show a SharePoint Form Field Based on a Lookup Value
Question details
The user needs to configure a SharePoint form to conditionally display a field based on the value selected in a lookup column.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Configuring conditional-display formulas for SharePoint list forms.
- Observed behavior
- Conditional-display formulas fail to apply correctly to lookup columns due to incorrect value matching, formatting, or syntax issues.
Ensure you have design or edit permissions for the SharePoint list and note down the exact internal name of the lookup column you are referencing.
Verify and Adjust the Conditional Formula Syntax
Ensure the formula perfectly matches the lookup column's returned text, including spaces and capitalization.
Conditional formulas in SharePoint evaluate the exact string returned by a column. Because lookup columns can sometimes return complex objects or slightly altered text, ensuring a perfect match is the most critical step.
Navigate to your SharePoint list, click the gear icon in the top right corner, and select 'List settings'.
Select 'Form settings' to access the customized form layout and conditional formulas.
Check the exact text returned by the lookup column in your standard list view. Pay strict attention to capitalization, trailing spaces, and exact characters.
Enter the conditional display formula comparing the lookup column's internal name to the exact text string (e.g., =[$LookupColumnName] == 'Target Value'). Save your form changes.

Consult the SharePoint Development Community
If standard formula adjustments fail, specialized coding support from SharePoint engineers may be required.
Looking for a Simpler Way to Manage Team Documents?
While SharePoint offers complex form logic, it can be overwhelming for simple document collaboration. Try WPS Office as a free, lightweight, and highly compatible alternative for your team's document management and editing needs.
- 1. Download the Installer: Visit the WPS Office website and download the free installer for your operating system.
- 2. Install WPS Office: Run the setup file and follow the on-screen instructions to install the software suite on your device.
- 3. Open Your Files Seamlessly: Open any exported SharePoint documents, Excel spreadsheets, or PowerPoint presentations directly in WPS Office with full format retention.

Frequently Asked Questions
Why is my SharePoint conditional formula not recognizing the lookup value?
Lookup columns can be tricky because they often store data differently than standard text columns. Ensure your formula accounts for exact text matches, including case sensitivity and any hidden spaces.
Can I use multiple conditions for a single SharePoint form field?
Yes, you can use logical operators like && (AND) and || (OR) within your conditional formulas to evaluate multiple column values before showing or hiding a specific field.
Where do I find the internal name of my SharePoint column?
Go to your List settings, click on the column name, and look at the URL in your browser's address bar. The internal name is the text located at the very end of the URL after 'Field='.




