Mar 27 2024 02:51 AM - edited Mar 29 2024 08:15 AM
I'm creating a plan where in a single cell show entered custom value and list value from dropdown together.
Eg. if user enter custom value 50% and also select value from list. Then, It should display the list value along with the custom value in the same cell. If list not selected then only custom value to be present
Eg.
Entered value 50% and conational formatting is applied.
List value are coming from another cell S1,S2,S3.
However, if user select the value from the dropdown then need to display "50%" and "Concern" together - Like 50% (Concern) Also, if list selected need to set formatting to entire text to red.
I sincerely need some help, tried multiple things but didn't work.
Thanks
@HansVogelaar @SergeiBaklan - Need help!
Mar 27 2024 10:16 PM
To achieve the desired functionality in Excel, you can use a combination of data validation, conditional formatting, and cell formulas. Here's how you can set it up:
=IF(ISNUMBER(SEARCH("S",A1)), A1 & " (Concern)", "")
Here, A1 is the cell containing the dropdown list.
This setup will display the combined custom value and list value in cell B1, applying conditional formatting to turn the text red if a list value is selected. If no list value is selected, only the custom value will be displayed. Adjust the cell references and formatting rules as needed based on your specific Excel setup.Formularbeginn The text and steps were edited with the help of AI.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and Like it!
This will help all forum participants.
Mar 28 2024 02:28 AM
Mar 29 2024 08:17 AM - edited Mar 29 2024 09:16 AM
I don't think that it is possible.
Mar 29 2024 10:37 AM
I understand your requirement now. You want the combined custom value and list value to appear in the same cell where the user selects the list value. Unfortunately, Excel doesn't support displaying both a dropdown list selection and custom input simultaneously in the same cell without using VBA, which is not supported in Excel for the web.
However, I can suggest an alternative approach that may achieve a similar result:
Here's how you can set it up:
This approach allows users to input both the custom value and the list value directly into the same cell (A1), with conditional formatting applied to visually distinguish when a list value is entered. While it doesn't exactly replicate the behavior you described, it provides a practical workaround within the limitations of Excel for the web.