For a positive definite ternary integral quadratic form f, let r(n,f) be the number of representations of an integer n by f. A ternary quadratic form f is said to be a generalized Bell ternary quadratic form if f is isometric to x2+2αy2+2βz2 for some nonnegative integers α,β. In this paper, we give a closed formula for r(n,f) for a generalized Bell ternary quadratic form f(x,y,z)=x2+2αy2+2βz2 with 0≤α≤β≤6 and class number greater than 1 by using the Minkowski–Siegel formula and bases for spaces of cusp forms of weight 32 and level 2t with t=6,7,8 consisting of eta-quotients.