In cells A1:A4, the following values appear
Enter the following formula in cell B1: =OFFSET(A1,COUNTA(A:A)-1,0)
The result: DDD