o3-2025-04-16· OpenAI
LMArena Human Preference 140K
Write me an Excel 2016 formula that strips the parenthesis off data that starts in…
- User
Write me an Excel 2016 formula that strips the parenthesis off data that starts in column A2. For example, "AIR_CLR_TEMP(4:1:0)" should become "AIR_CLR_TEMP." I want to store the result in column M.
- Assistant
Put this formula in cell M2 and then copy it down as far as needed 👇
=IFERROR(TRIM(LEFT(A2, FIND("(", A2) - 1)), A2)What it does
FIND("(", A2)– locates the first “(”.LEFT(A2, … -1)– returns everything to the left of that position (i.e., drops the parenthesis and everything after it).TRIM()– removes any stray spaces that might precede or follow the text.IFERROR(…, A2)– if no “(” is found (i.e., the cell has no parentheses), it simply keeps the original value.
Copy the formula down column M and every entry like
AIR_CLR_TEMP(4:1:0)➜AIR_CLR_TEMP🎉
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.