You can select with awk to print only in certain cases and not all.
For example, the following matches the last field, if it contains ssh (but you could test also for 22) then it prints the IP.
nmap -PN -p 22 --open -oG - 192.168.*.* | awk '$NF~/ssh/{print $2}' > sshopen.txt