NSCLC is a very aggressive solid tumor, with a poor prognosis due to post-surgical recurrence. Analysis of the specific tumor and immune signatures of NSCLC samples is a critical step in prognostic evaluation and management decisions for patients after surgery. Routine histological assays have some limitations. Therefore, new diagnostic tools with the capability to quickly recognize NSCLC subtypes and correctly identify various markers are needed. We developed a technique for ex vivo isolation of cancer and immune cells from surgical tumor and lung tissue samples of patients with NSCLC (adenocarcinomas and squamous cell carcinomas) and their examination on ex vivo cell preparations and, parallelly, on histological sections after Romanovsky-Giemsa and immunofluorescent/immunochemical staining for cancer-specific and immune-related markers. As a result, PD-L1 expression was detected for some patients only by ex vivo analysis. Immune cell profiling in the tumor microenvironment revealed significant differences in the immunological landscapes between the patients' tumors, with smokers' macrophages with simultaneous expression of pro- and anti-inflammatory cytokines, neutrophils, and eosinophils being the dominant populations. The proposed ex vivo analysis may be used as an additional diagnostic tool for quick examination of cancer and immune cells in whole tumor samples and to avoid false negatives in histological assays.