Write me an excel function to sum up the values in the cells in a column to the left if…
- User
Write me an excel function to sum up the values in the cells in a column to the left if the cell is full
Assistant
You can use the following formula to sum up the values in the cells in a column to the left if the cell is full:
=SUM(LEFT(A1:A100,FIND(" ",A1:A100)-1))
Where A1:A100 is the range of cells you want to sum up, and FIND(" ",A1:A100) is the function to find the position of the first space character in the range. The LEFT function is used to extract the values in the cells to the left of the space character, and the SUM function is used to add up the values.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.