Answer the question
In order to leave comments, you need to log in
Autocomplete between two values?
There is a price list of auto parts in csv format. Automotive theme. I have two columns:
Answer the question
In order to leave comments, you need to log in
For Excel with little checks and a year based on the current date.
Formula in cell C2:
=
ЕСЛИ(
ИЛИ(И(A2="";B2="");И(B2<>"";B2<A2))
;"?!"
;ЕСЛИОШИБКА(
ОБЪЕДИНИТЬ(
", "
;1
;ПОСЛЕД(
1
;ЕСЛИ(
B2=""
;ГОД(СЕГОДНЯ())-A2+1
;B2-A2+1
)
;A2
)
)
;"-"
)
)
=ЕСЛИ(ИЛИ(И(A2="";B2="");И(B2<>"";B2<A2));"?!";ЕСЛИОШИБКА(JOIN(", ";SEQUENCE(1;ЕСЛИ(B2="";ГОД(СЕГОДНЯ())-A2+1;B2-A2+1);A2));"–"))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question