If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 How do I assign a numeric value to a letter
 Author Name Remember Me? Password
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## How do I assign a numeric value to a letter

 Thread Tools Display Modes
#1
November 28th 08, 09:33 AM posted to microsoft.public.excel.worksheet.functions
 IASG external usenet poster Posts: 1
How do I assign a numeric value to a letter

I am creating a work schedule and I need to asign letters to the different
shifts (start and end times) I also have to asign a numeric value to the
letter to denote the duration of the shift in hours. ie
Shift A 2300 -0800 = 9 hours therefore A=9
Shift A1 0200-0800 = 6 hours therefore A1=6
At the end of the schedule i should be able to sum up how many total hours
were worked per month, how many hours each shift worked per month.....
Thank You
GB
 Ads
#2
November 28th 08, 10:33 AM posted to microsoft.public.excel.worksheet.functions
 Pete_UK external usenet poster Posts: 8,856
How do I assign a numeric value to a letter

Just set up a two-column table somewhere on your sheet (eg in columns
X and Y) like this:

A 9
A1 6
etc.

then if you have your shift code in cell A1, you can use this formula:

=VLOOKUP(A1,X:Y,2,0)

to get the appropriate number.

Hope this helps.

Pete

On Nov 28, 9:33*am, IASG <IASG @discussions.microsoft.com> wrote:
> I am creating a work schedule and I need to asign letters to the different
> shifts (start and end times) I also have to asign a numeric value to the
> letter to denote the duration of the shift in hours. ie
> Shift A * 2300 -0800 = 9 hours therefore *A=9
> Shift A1 0200-0800 = 6 hours therefore A1=6
> At the end of the schedule i should be able to sum up how many total hours *
> were worked per month, how many hours each shift worked per month.....
> Thank You
> GB

#3
November 28th 08, 10:35 AM posted to microsoft.public.excel.worksheet.functions
 Simon Lloyd[_22_] external usenet poster Posts: 1
How do I assign a numeric value to a letter

You would probably need to create a UDF to reference the letters in
formulae.

--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=34861

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post Assign a letter to a number and then retrive ppmorise Excel Worksheet Functions 1 December 21st 07 01:05 AM How to assign a formula to a letter? Judy Excel Worksheet Functions 4 July 18th 07 07:27 PM How do I assign a letter value to a range of data? clatters69 Excel Discussion (Misc queries) 1 September 16th 06 05:55 PM How do I assign numerical values to a letter? Ex: A = 4, B=3, etc Bob1023 Excel Worksheet Functions 1 July 26th 06 02:53 AM How do I assign a numeric value to a text letter Shaun Excel Discussion (Misc queries) 2 September 18th 05 12:24 AM

All times are GMT +1. The time now is 03:20 AM.

 - Contact Us - ExcelBanter forum home - FAQ - Links - Privacy Statement - Top

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