Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel: I want to assign numeric values to letters in a speradsheet

Hi,
Any help would be very greatfully received!
I am trying to work on a spreadsheet for a staffing rota. Each shift type
has a letter (i.e. E or LS). I need to assign a numeric value to each letter
that represents the number of hours of that shift (i.e. E= 5.5), so that
totals can be calculated more easily...
But I'm stumped! :s
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Excel: I want to assign numeric values to letters in a speradsheet

With a letter in A1:
=LOOKUP(A1,{"A","B","C"},{1,2,3})
will give the numerical equivalent.

modify to suit.
--
Gary''s Student - gsnu200792


"Marion Black" wrote:

Hi,
Any help would be very greatfully received!
I am trying to work on a spreadsheet for a staffing rota. Each shift type
has a letter (i.e. E or LS). I need to assign a numeric value to each letter
that represents the number of hours of that shift (i.e. E= 5.5), so that
totals can be calculated more easily...
But I'm stumped! :s

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Excel: I want to assign numeric values to letters in a speradsheet

=VLOOKUP(E1,{"E",4;"F",3;"LG",5;"LS",5.5;"MA",4},2 ,FALSE)

adjust the values to suit

You can put the values in a table and refer to that

=VLOOKUP(E1,Sheet2!A1:B52,FALSE)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Marion Black" <Marion wrote in message
...
Hi,
Any help would be very greatfully received!
I am trying to work on a spreadsheet for a staffing rota. Each shift type
has a letter (i.e. E or LS). I need to assign a numeric value to each
letter
that represents the number of hours of that shift (i.e. E= 5.5), so that
totals can be calculated more easily...
But I'm stumped! :s



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel: I want to assign numeric values to letters in a sperads

This doesn't seem to keep the letters displayed.
The idea is that the representative letters are displayed (E, LS etc) but
are interpreted by Excel as values, which can then be summed etc.
And pretty please can any replies be put as simply as possible, I'm not fab
with excel :(
Thanks!

"Gary''s Student" wrote:

With a letter in A1:
=LOOKUP(A1,{"A","B","C"},{1,2,3})
will give the numerical equivalent.

modify to suit.
--
Gary''s Student - gsnu200792


"Marion Black" wrote:

Hi,
Any help would be very greatfully received!
I am trying to work on a spreadsheet for a staffing rota. Each shift type
has a letter (i.e. E or LS). I need to assign a numeric value to each letter
that represents the number of hours of that shift (i.e. E= 5.5), so that
totals can be calculated more easily...
But I'm stumped! :s

  #5   Report Post  
Junior Member
 
Posts: 1
Default

If am set A=1,B=2,C=3...
I want AB=12
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
Solver - Assign values to the letters of the alphabet [email protected] Excel Discussion (Misc queries) 2 December 15th 06 11:18 AM
Solver - Assign values to Letters of the Alphabet GeoJack Excel Discussion (Misc queries) 0 December 14th 06 06:34 AM
Solver - Assign values to Letters of the Alphabet GeoJack Excel Discussion (Misc queries) 0 December 14th 06 06:25 AM
HOW TO ASSIGN NUMERICAL VALUES TO LETTERS IN EXCEL teacherpaul Excel Worksheet Functions 5 October 24th 06 02:35 PM
ASSIGN NUMERICAL VALUES FOR LETTERS in EXCEL 2003 legman Excel Worksheet Functions 4 May 14th 06 04:09 AM


All times are GMT +1. The time now is 03:29 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"