LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default scrabble excel template

Hi,

I'm trying to make an excel workbook that calculates various values and
statistics for games of scrabble. One of the things I want the sheet to
do is to automatically update the sum total for the points for a given
set of letters. For instance, if I type into cell A1 the letters "BAT"
I want cell B1 to output "5", by knowing that the letters have the
following values and summing them: B=3, A=1, T=1. I've tried using the
COUNTIF() function:

=SUM((COUNTIF(A1,"*"&{"A","B","C","D","E","F","G", "H","I",
"J","K","L","M","N","O","P","Q","R","S","T",
"U","V","W","X","Y","Z"}&"*")0)*{1,3,3,2,1,
4,2,4,1,8,5,1,3,1,1,3,10,1,1,1,1,4,4,8,4,10})

however the function only seems to count unique letter values, and
cannot handle words with two or more instances of one letter. For
example, the word "letter" is given a value of "4", but should be "6",
however only one "t" and one "e" are counted. Any suggestions?

Thanks!

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I have Excel cells populate a Word label template? MS Questionnairess Excel Discussion (Misc queries) 1 June 8th 06 01:26 AM
excel template wizard Judy Excel Discussion (Misc queries) 6 December 8th 05 10:13 PM
"Can not download excel template" JF Sly Excel Discussion (Misc queries) 0 April 19th 05 06:36 PM
how do I change an excel template into a "workbook" joyce Excel Discussion (Misc queries) 5 April 14th 05 04:38 PM
How do I auto number cells in an Excel template? Natalie Excel Discussion (Misc queries) 3 March 30th 05 03:42 AM


All times are GMT +1. The time now is 05:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"