Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Convert a letter to a number

Here's how my graph is
a b c d e
1 L L L
2 L L L L
3 L L
4 L L L
5 L
6 30 20 20 30 30

How do I get the L's to represent $10.00 but still have the L in the graph
then when I add them i show the L's added up as numbers?

Basically, what formula will help me get the added sums of L's in numerical
form like in row 6 in my graph?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Convert a letter to a number

I'm not sure if this works for you, but maybe:

=countif(a1:a5,"L")*10
(in A6)

sross002 wrote:

Here's how my graph is
a b c d e
1 L L L
2 L L L L
3 L L
4 L L L
5 L
6 30 20 20 30 30

How do I get the L's to represent $10.00 but still have the L in the graph
then when I add them i show the L's added up as numbers?

Basically, what formula will help me get the added sums of L's in numerical
form like in row 6 in my graph?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Convert a letter to a number

This array* formula in A6 will do the trick:

=SUM(IF((A1:A5="L"),10,0))

*As this is an array formula, then once you have typed it in (or
subsequently edit it) you must use CTRL-SHIFT-ENTER (CSE) instead of
just ENTER. If you do this correctly, then Excel will wrap the formula
in curly braces { } when viewed in the formula bar - you must not type
these yourself.

You can use the normal copy/paste to copy the formula into B6:E6 to
give you the other totals.

Hope this helps.

Pete

sross002 wrote:
Here's how my graph is
a b c d e
1 L L L
2 L L L L
3 L L
4 L L L
5 L
6 30 20 20 30 30

How do I get the L's to represent $10.00 but still have the L in the graph
then when I add them i show the L's added up as numbers?

Basically, what formula will help me get the added sums of L's in numerical
form like in row 6 in my graph?


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
Sort by number not by letter (C1, A2, B3, D4) dukemeiser Excel Discussion (Misc queries) 3 May 5th 06 02:40 AM
Count number of uniques starting with a given letter? MeatLightning Excel Discussion (Misc queries) 1 April 26th 06 10:32 PM
Is it possible to convert a number into hours and minutes le clef Excel Worksheet Functions 4 April 1st 06 05:43 PM
Count number of cells that contain a certain letter - Case Sensitive elite Excel Discussion (Misc queries) 4 September 20th 05 01:41 PM
How do I convert a given number into a letter? vortex0001 Excel Worksheet Functions 5 September 8th 05 10:09 AM


All times are GMT +1. The time now is 06:48 AM.

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

About Us

"It's about Microsoft Excel"