View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
FrankWood FrankWood is offline
external usenet poster
 
Posts: 21
Default How do I add up texts as fixed number values in a row?

You might be able to do it easily with a count of the number of "yes"
responses.

=COUNTIF(G21:G24,"Yes")

Hope that helps.

Frank


"john_8000" wrote:

I'm creating a row with drop-down lists with text.I want to create a simple
drop-down list with yes and no. Yes would have a background (unseen) value
of 1and no would have a value of 0. After items were selected from the
drop-down list, I want the unseen value totaled to the far right of the page.
I found the following formula which works for columns, but when I try to
change the cell range to a row of cells, I get "#N/A".


=SUMPRODUCT((C3:C23={"Yes","No"})*({1,0}))

Thanks for any assistance.