Answer the question
In order to leave comments, you need to log in
How to sum INT-INT ranges in Google Sheets?
Suppose there is a column in which the data can be ordinary numbers or ranges:
100
2000
300-500
850
500-1500
at the output I want to get the result of INT-INT
in this case 3750-4950
and if they are equal, then just a number.
Help with the formula. The variant with splitting the data into 2 columns does not suit me.
Answer the question
In order to leave comments, you need to log in
=IFERROR(MID(A2,1,FIND("-",A2)-1),A2)+0
=IFERROR(MID(A2,FIND("-",A2)+1,LEN(A2)-1),A2)+0
=IF(B7=C7,B7,CONCATENATE(B7,"-",C7))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question