Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Adding up letter values

Excel 2007;
I am looking for help with a formula that would let me add the values of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points, and the
letter D = 4 points. In cell A7 I need a total of all the points - in this
case the total would be 10
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Adding up letter values

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points, and the
letter D = 4 points. In cell A7 I need a total of all the points - in this
case the total would be 10

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Adding up letter values

Sorry Mike, bad example, in reality the letter A = 5 points, the letter B = 4
points, the letter C = 3 points, the letters D - H would equal 2 points each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points, and the
letter D = 4 points. In cell A7 I need a total of all the points - in this
case the total would be 10

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Adding up letter values

=SUMPRODUCT(LOOKUP(A1:A4,{"A","B","C","D","E","F", "G","H"},{5,4,3,2,2,2,2,2}))

--
__________________________________
HTH

Bob

"George" wrote in message
...
Sorry Mike, bad example, in reality the letter A = 5 points, the letter B
= 4
points, the letter C = 3 points, the letters D - H would equal 2 points
each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values
of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or
D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points,
and the
letter D = 4 points. In cell A7 I need a total of all the points - in
this
case the total would be 10



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Adding up letter values

Thanks Bob, but any of these letters can change cells, ie. I may want to
enter the letter A (worth 5 points) in a different cell, not always the first
cell. So where ever A is entered 5 points, and where ever G is entered 2
points.

"Bob Phillips" wrote:

=SUMPRODUCT(LOOKUP(A1:A4,{"A","B","C","D","E","F", "G","H"},{5,4,3,2,2,2,2,2}))

--
__________________________________
HTH

Bob

"George" wrote in message
...
Sorry Mike, bad example, in reality the letter A = 5 points, the letter B
= 4
points, the letter C = 3 points, the letters D - H would equal 2 points
each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values
of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or
D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points,
and the
letter D = 4 points. In cell A7 I need a total of all the points - in
this
case the total would be 10






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Adding up letter values

George,

If you try Bob's formula or the identical one I posted then you will find
that it works as you require.

The formula looks in the specified range (A1:A7) and if it finds an A in any
cell it evaluates that as 5 etc

Mike

"George" wrote:

Thanks Bob, but any of these letters can change cells, ie. I may want to
enter the letter A (worth 5 points) in a different cell, not always the first
cell. So where ever A is entered 5 points, and where ever G is entered 2
points.

"Bob Phillips" wrote:

=SUMPRODUCT(LOOKUP(A1:A4,{"A","B","C","D","E","F", "G","H"},{5,4,3,2,2,2,2,2}))

--
__________________________________
HTH

Bob

"George" wrote in message
...
Sorry Mike, bad example, in reality the letter A = 5 points, the letter B
= 4
points, the letter C = 3 points, the letters D - H would equal 2 points
each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values
of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or
D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points,
and the
letter D = 4 points. In cell A7 I need a total of all the points - in
this
case the total would be 10




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Adding up letter values

Which is what it does!

--
__________________________________
HTH

Bob

"George" wrote in message
...
Thanks Bob, but any of these letters can change cells, ie. I may want to
enter the letter A (worth 5 points) in a different cell, not always the
first
cell. So where ever A is entered 5 points, and where ever G is entered 2
points.

"Bob Phillips" wrote:

=SUMPRODUCT(LOOKUP(A1:A4,{"A","B","C","D","E","F", "G","H"},{5,4,3,2,2,2,2,2}))

--
__________________________________
HTH

Bob

"George" wrote in message
...
Sorry Mike, bad example, in reality the letter A = 5 points, the letter
B
= 4
points, the letter C = 3 points, the letters D - H would equal 2 points
each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the
values
of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C
or
D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3
points,
and the
letter D = 4 points. In cell A7 I need a total of all the points -
in
this
case the total would be 10






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Adding up letter values

Maybe

=SUMPRODUCT(LOOKUP({"A","B","C","D","H","I","M"},A 1:A7,{5,4,3,2,2,1,1}))
Mike

"George" wrote:

Sorry Mike, bad example, in reality the letter A = 5 points, the letter B = 4
points, the letter C = 3 points, the letters D - H would equal 2 points each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points, and the
letter D = 4 points. In cell A7 I need a total of all the points - in this
case the total would be 10

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Adding up letter values

OOPS

=SUMPRODUCT(LOOKUP(A1:A7,{"A","B","C","D","H","I", "M"},{5,4,3,2,2,1,1}))

Mike

"Mike H" wrote:

Maybe

=SUMPRODUCT(LOOKUP({"A","B","C","D","H","I","M"},A 1:A7,{5,4,3,2,2,1,1}))
Mike

"George" wrote:

Sorry Mike, bad example, in reality the letter A = 5 points, the letter B = 4
points, the letter C = 3 points, the letters D - H would equal 2 points each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points, and the
letter D = 4 points. In cell A7 I need a total of all the points - in this
case the total would be 10

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Adding up letter values

Mike, thanks again, I pluged in the formula and it works. Next problem, some
of the cells will be blank, when these cells are left blank, it does not
total.

"Mike H" wrote:

OOPS

=SUMPRODUCT(LOOKUP(A1:A7,{"A","B","C","D","H","I", "M"},{5,4,3,2,2,1,1}))

Mike

"Mike H" wrote:

Maybe

=SUMPRODUCT(LOOKUP({"A","B","C","D","H","I","M"},A 1:A7,{5,4,3,2,2,1,1}))
Mike

"George" wrote:

Sorry Mike, bad example, in reality the letter A = 5 points, the letter B = 4
points, the letter C = 3 points, the letters D - H would equal 2 points each
and the letters I - M would equal 1 point each.

"Mike H" wrote:

Try this

=SUMPRODUCT(CODE(UPPER(A1:A4))-64)

Mike

"George" wrote:

Excel 2007;
I am looking for help with a formula that would let me add the values of
letters in a cell. ie. cells A1 - A4 have the letters A or B or C or D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points, and the
letter D = 4 points. In cell A7 I need a total of all the points - in this
case the total would be 10



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding up letter values

One way would be to put this table somewhere in your sheet (eg
L1:M13):

A 5
B 4
C 3
D 2
E 2
F 2
G 2
H 2
I 1
J 1
K 1
L 1
M 1

Then in B1 you can put this formula:

=IF(A1="","",VLOOKUP(A1,L$1:M$13,2))

and copy down as required. Then just sum column B to get the total.

Hope this helps.

Pete

On Jan 30, 12:39*pm, George wrote:
Sorry Mike, bad example, in reality the letter A = 5 points, the letter B = 4
points, the letter C = 3 points, the letters D - H would equal 2 points each
and the letters I - M would equal 1 point each.



"Mike H" wrote:
Try this


=SUMPRODUCT(CODE(UPPER(A1:A4))-64)


Mike


"George" wrote:


Excel 2007;
I am looking for help with a formula that would let me add the values of
letters in a cell. *ie. cells A1 - A4 have the letters A or B or C or D, the
letter A = 1 point, the letter B = 2 points, the letter C = 3 points, and the
letter D = 4 points. *In cell A7 I need a total of all the points - in this
case the total would be 10- Hide quoted text -


- Show quoted text -


Reply
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
Adding letter at the end of cell Wanna Learn Excel Discussion (Misc queries) 5 April 5th 23 01:04 PM
Dificulty adding alphanumeric values either one letter or two JC-PS New Users to Excel 0 September 1st 08 09:04 PM
Adding Cells with a letter in one of them Jim[_6_] Excel Discussion (Misc queries) 3 April 7th 08 05:57 PM
Adding a number to a letter of the alphabet to get a letter [email protected] Excel Worksheet Functions 5 May 21st 07 04:25 PM
Adding A range of cells that have a certain text letter Dave Excel Worksheet Functions 3 September 7th 06 06:13 PM


All times are GMT +1. The time now is 07:19 PM.

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"