In event 4 you are setting the value at 0,1 to number rather than the cell linked to the name value.
Also, you could run into trouble later if you have events 3 and 4 in that order as in event 3 you add the name to the axis and then immediately after in event 4 you check for the name.
Instead, you could use something like this:
The else statement makes sure you only run one of the conditions. I've added a stop action to the loop to prevent unnecessary searching of the entire array once you've found the first instance of the name; if you want to search the entire array for every instance of name then remove the stop.