I'd show you how to do it, but my RPG Maker's in French, so instead I'ma tell you what's wrong.
The first thing I noticed is that you set Variable 0007 to 23 when entering the elevator instead of 0.
In my version, Map IDs are useless, you can't just mix the two alternatives you've been given in hopes that it works, no wonder it failed just then.
You might be mistaken between IDs. 'Map IDs' are indexes given by RPG Maker to maps in order to have a numeric 'tag' to refer to them.
What I called IDs, in my solution, is a number that
you arbitrarily give to differentiate the three possible outcomes of the elevator map.
The three possible outcomes of the elevator map are : You exit to Floor F1, you exit to Floor B1 or you exit to Floor B2. That where
my IDs, my arbitrary numbers come into play. If Variable 0007 contains the number 0, then the outcome will be to exit the elevator to Floor F1. If it's 1, then the outcome will be to exit to Floor B1. If it's 2, you'll exit to Floor B2. That's why we manipulate Variable 0007 in the switch event. We need it to have the right value for the outcome the player selects via the switch choice.
What I'm saying is, you should replace your arbitrary IDs by 0, 1 and 2 for now. I'll explain it when the elevator works, if you still don't get it.
Now, onto the exit event.
Here, you've also done a mix of what you've done and what I've suggested, but it doesn't work at all.
My suggestion for the elevator exit only uses 1 page and doesn't use any switches at all. Here's the precise layout of it, with 0 corresponding to F1, 1 corresponding to B1, 2 corresponding to B2 :
@>Play SE: 'Open3', 80, 100
@>Wait: 50 frame(s)
@>Conditional Branch: Variable [0007] == 0
@>Transfer Player:[Mine 1F]
@>
Else
@>Conditional Branch: Variable [0007] == 1
@>Transfer Player:[Mine B1]
@>
Else
@>Transfer Player:[Mine B2]
@>
Branch End
@>
Branch End
@>
If you combine that elevator exit event with the exact event that I've suggested, with arbitrary numbers 0, 1 and 2, and if you change Variable 0007 to 0 if entering from F1, 1 if entering from B1 and 2 if entering from B2, in the respective gate events then it should work correctly.
The main advantage of using a variable here is that you've actually saved your three elevator switches (that you can then use elsewhere) and you also saved yourself from writing a few unnecessary pages. That's the goal of optimization in programming languages : Use the fewest resources possible, with the fewest commands possible to do what is required. It looks better and runs smoother. Also it saved you 3 switches.