문제

I have a problem that if A2 is blank then B1 should show and if b2 also blank then c1 should show and if c2 also blank then d1 should show.

So how can I create a formula?

Thanks in advance

도움이 되었습니까?

해결책

The suggested nested IF()s solution:

=IF(A2="",IF(B2="",IF(C2="",IF(D2="","",D$1),C$1),B$1),A$1)

For something a bit more scaleable, you could use:

=IFERROR(INDEX(A$1:D$1,MATCH("*",A2:D2,0)),"")
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top