Hi AlaaEddin95
Welcome to this community
I'm afraid your requirements only could be achieved using a VBA code in the worksheets event on your workbook
Let's say your scenario is in Sheet1 of your workbook
So.
1- Select the Sheet1 tab\ Right click \ View code
2-and Paste the code in the VBA panel
Here is the Code
***********************************************************************************
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim Matrix, K As Range
Dim r As Long
Set Matrix = Range("A2:C20") ''' Your Matrix range
r = 2 ''The starting row in "The List"
If Not Application.Intersect(Target, Matrix) Is Nothing Then
'''' The line below will delete old list
Range(Cells(2, "E"), Cells(Rows.Count, "E").End(xlUp)).ClearContents
''' Loop thru the matrix and update "The List"
For Each K In Matrix
If K.Value <> "" Then
Cells(r, "E").Value = K.Value
r = r + 1
End If
Next K
End If
End Sub
*****************************************************************************************
Note:
Here I choose the range "A2:C20" and column "E" to make space for headers.
Please, Change the ranges as per your needs.
Please find in the link below and download a file with my approach as a solution to your requirements
https://www.dropbox.com/s/aigsuyrgjuhfmha/Matrix-List.xlsm?dl=0
*******************************************************************************************************
Do let me know if you require any further help on this. Will be glad to help you.
If this answer would be the solution to your question, I'll appreciate you mark it as answered
Please Note:
By marking a Reply as a "Accept as Solution", if it solves your problem. Will give positive reinforcement, not only to the person who responded, but also will help other users with the same or a similar question by directing them to the response.Thanks for your co-operation.