Your question makes no sense as it breaks the fundamentals of relational databases.
You cannot insert data in a table without some kind of reference or key to so you can get it back.
Let's say that in your example, that you insert a row with Name and Parent.
Name Parent
John Mary
Then you insert a second row with the father and leave name empty
Name Parent
John Mary
<null> Robert
Then you insert row 3 and 4 with Johns friend, Peter.
Name Parent
John Mary
<null> Robert
Peter Elisabeth
<null> Patrick
Now try to create an SQL query to get both the parents name for either of the boys.
That might be a bit tricky. Right?
The SQL query
SELECT Parent FROM Parents WHERE Name = 'John';
will give the following result:
Parent
Mary
The father cannot be found because Name and Parent are not connected in this case.
So when you store the data, you cannot leave a row hanging without any reference to call it back.
The table should look like this:
Name Parent
John Mary
John Robert
Peter Elisabeth
Peter Patrick
The SQL query
SELECT Parent FROM Parents WHERE Name = 'John';
will give the following result:
Parent
Mary
Robert
How you decide to format and present this data on a screen or report is i different thing from how you store the data.
I think you have confused the way you store data in an Excel sheet with how you store it in a database, but that is just a guess.