1. The fan's fundamental frequency isn't perfectly stable, so even if you are in a spot where there speaker's tone cancels with it, the fan will probably wander around that frequency enough that the cancellation won't work well.
2. The fan isn't just a fundamental tone + noise. There are also a whole series of harmonics above it. You'll need to cancel those out too. Even if you do cancel out the fundamental, you'll still "hear" it because of the missing fundamental effect [1] otherwise. Cancelling those overtones out gets harder and harder because the higher the frequency, the more precise you need to be with phase to get proper cancellation.
3. Obviously, none of this will help with the atonal noise components of the fan's sound, which are significant. Though arguably, if you get rid of the droning tonal part, the remaining whooshing noise might actually be a nice sound.
I believe the most effective fixes here are:
1. Get a better, quieter fan that produces less noise to begin with.
2. Move the fan farther away. You don't necessarily need to filter the air from the window closest to you. Put it in a farther window. Or go all the way and get a whole house fan that puts the fan in the attic.