View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Giving "X" a numerical value.

Say column A has names and there are some X's in column B. We want the sum
of X's assuming X has the value 17:

=SUMPRODUCT(--(B1:B100="X"))*17

--
Gary''s Student - gsnu200820