The effect of electromagnetically induced transparency is observed, using nanocelland microcell. The EIT-resonance with good parameters (high contrast and small FWHM) is obtained in thick cells. The EIT-resonance splitting in magnetic field is observed for the cases of D1-line of 85Rb and 85Rb. The theoretical model, explaining the EIT-resonance components frequency shift dependence on magnetic field strength is presented. The theoretical and experimental results are compared and good agreement is shown. Also the EIT-resonance behavior in hyperfine Paschen-Back regime is presented and explained. For the first time the N-type resonance in microcell is observed. Good parameters of theN-type resonance in microcell are obtained. It allows us to observe the N-type resonance behavior in magnetic field. The N-resonance splitting in magnetic field is observed for the cases of 85Rb and 85Rb. The theoretical calculations of the N-resonance components frequency shift dependence on magnetic field is presented. The theoretical and experimental results are compared and good agreement is shown. Also the N-resonance behavior in hyperfine Paschen-Back regime is presented and explained. Simultaneous observation of N- and EIT-resonance is shown. Comparison of EIT- and N-resonance is made