In the last decade, exploration for unconventional hydrocarbon (shale gas) reservoirs has been carried out in Poland. The drilling of wells in prospective shale gas areas supplies numerous physicochemical measurements from rock and reservoir fluid samples. The objective of this paper is to present the method that has been developed for finding similarities between individual geological structures in terms of their hydrocarbon generation properties and hydrocarbon resources. The measurements and geochemical investigations of six wells located in the Ordovician, Silurian, and Cambrian formations of the Polish part of the East European Platform are used. Cluster analysis is used to compare and classify objects described by multiple attributes. The focus is on the issue of generating clusters that group samples within the gas, condensate, and oil windows. The vitrinite reflectance value (Ro) is adopted as the criterion for classifying individual samples into the respective windows. An additional issue was determining other characteristic geochemical properties of the samples classified into the selected clusters. Two variants of cluster analysis are applied—the furthest neighbor method and Ward’s method—which resulted in 10 and 11 clusters, respectively. Particular attention was paid to the mean Ro values (within each cluster), allowing the classification of samples from a given cluster into one of the windows (gas, condensate, or oil). Using these methods, the samples were effectively classified into individual windows, and their percentage share within the Silurian, Ordovician, and Cambrian units is determined.