ABSTRACT. Functionals (vector measures) defined on the space C(Q, X) of continuous abstract functions (where Q is a compact HausdoHr space and X is a Banach space) and attaining their norm on the unit sphere are considered. A characterization of such functionals is given in terms of the Radon-Nikodym derivative of the vector measure with respect to the variation of the measure and in terms of analogs of the derivative. Applications to the characterization of finite-codimensional subspaces with the best approximation property are Norm-attaining functionals, that is, functionals attaining the maximum value in absolute value on the unit sphere, play an important role in some topics in geometry of Banach spaces and best approximations in these spaces [1,2]. Ustinov and Shashkin [3,4] studied the characterization of such functionais on C(Q, X) (as well as on the space of affine abstract functions). The present paper deals with the same topic; we give some applications, supplementing the results of [5], to the characterization of finite-codimensional existence subspaces in C(Q, X).We use the following notation: Q = (Q, 8) is an infinite compact Hausdorff space with topology 0; X is a Banach space; n (resp., w or w*) is the strong (resp., weak or weak*) topology of X or X*; E is the a-algebra of Borel subsets of Q; C = C(Q, X) is the space of continuous mappings g: Q ~ X equipped with the norm [[g[[ = sup{[[g(t)H : ~ e Q}; B = B(Q,E,X) is the space of uniform limits of simple functions r = (t E Q, xi E x, ei E ~, xe is the characteristic function of a set e E ~, and the sum is finite) equipped with the same norm, so that C is a subspace of B. We assume that C (as well as B) is real (resp., complex) if X is real (resp., complex). The dual space C* is the space of vector measures # defined on E and ranging in Z*; the norm on C* is defined by [[#[[ = ],IQ, where for any E E ~ we write I.IE = var(., E) = sup II#e llx-: e; e E, e, c E, e; n ej = e, n 9 N , the measure [#[ is assumed to be finite and regular, and (g, #) = fc2(g(t), d#) is the Gavurin integral, defined for simple functions as )-~(x~, #e~) and extended to the entire space B by continuity [6]. Note that