Can you fix this excel formula? =IFERROR( IF(SEARCH("DATE", UPPER(CONCAT(Table2[@[Field…
- User
Can you fix this excel formula? =IFERROR( IF(SEARCH("DATE", UPPER(CONCAT(Table2[@[Field Name]:[Field Description]]))), "DATE", IF(SEARCH("TIME", UPPER(CONCAT(Table2[@[Field Name]:[Field Description]]))), "TIME", IF(SEARCH(".", UPPER(CONCAT(Table2[@[Field Name]:[Field Description]]))), "DECIMAL", IF([@[Data Type]] = 'N', "INTEGER", "STRING") ) ) ), "WBU3" // Default value if none of the conditions are met )
- Assistant
Your current formula is using the
SEARCHfunction which will return an error if it doesn't find the specified text. Therefore, it is causing the to trigger before it can check all conditions.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.