Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Formulas that include alpha and numeric characters

Is this even possible? I have custom data in cells that contain letters and
numbers that I need to divide by 4 to one column and multiply by 5 into
another column. I need to duplicate it over 12,000 times. Here is an
example:
Primary cell contains 'B-3Y30' where 'B' remains constant and 'Y' equals 48.
Divide cell then reads 'B-43 1/2' and the multiply cell then reads 'B-18Y6'.
The divide cell converts 'Y' to 48 then times 3, adds 30 and divides by 4.
The multiply cell converts 'Y' to 48 then times 3, adds 30, multiplies by 5
and changes the sum to number of "Y's" at 48 with under 48 as the actual
number. Also, the 'B' varies to other letters and sometimes 2 or 3
characters (AXX or RN) and all need to remain constant. I can send an
example of a few if needed. Pretty wild huh? Any help will be appreciated.
--
The Doktor from Mile High
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Formulas that include alpha and numeric characters

Is there always a "Y" in the second part? Don't know if this'll work for all
cases but if your data is in A1

=LEFT(A1,FIND("-",A1))&TEXT(MID(A1,FIND("-",A1)+1,FIND("Y",A1,FIND("-",A1)+1)-FIND("-",A1)-1)*12+REPLACE(A1,1,FIND("Y",A1,FIND("-",A1)+1),"")/4,"00 ?/?")

and

=LEFT(A1,FIND("-",A1))&INT(MID(A1,FIND("-",A1)+1,FIND("Y",A1,FIND("-",A1)+1)-FIND("-",A1)-1)*5+REPLACE(A1,1,FIND("Y",A1,FIND("-",A1)+1),"")*5/48)&"Y"&MOD(MID(A1,FIND("-",A1)+1,FIND("Y",A1,FIND("-",A1)+1)-FIND("-",A1)-1)*240+REPLACE(A1,1,FIND("Y",A1,FIND("-",A1)+1),"")*5,48)



"Doktor1 at Mile High" wrote:

Is this even possible? I have custom data in cells that contain letters and
numbers that I need to divide by 4 to one column and multiply by 5 into
another column. I need to duplicate it over 12,000 times. Here is an
example:
Primary cell contains 'B-3Y30' where 'B' remains constant and 'Y' equals 48.
Divide cell then reads 'B-43 1/2' and the multiply cell then reads 'B-18Y6'.
The divide cell converts 'Y' to 48 then times 3, adds 30 and divides by 4.
The multiply cell converts 'Y' to 48 then times 3, adds 30, multiplies by 5
and changes the sum to number of "Y's" at 48 with under 48 as the actual
number. Also, the 'B' varies to other letters and sometimes 2 or 3
characters (AXX or RN) and all need to remain constant. I can send an
example of a few if needed. Pretty wild huh? Any help will be appreciated.
--
The Doktor from Mile High

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
Change the column designation from a numeric to an alpha George Sladky Excel Discussion (Misc queries) 2 May 4th 06 02:47 PM
Can you ID a cell that has both Alpha AND Numeric characters? Phil Excel Worksheet Functions 5 April 18th 06 09:32 PM
The colums changed from alpha to numeric how do you make it alpha worldmade Excel Discussion (Misc queries) 2 May 26th 05 03:44 PM
Alpha & Numeric Counts in Excel Programmer wanna be Excel Discussion (Misc queries) 3 April 5th 05 11:12 AM
Count unique alpha numeric "characters" in a common cell WIM4246 Excel Worksheet Functions 4 December 11th 04 02:27 AM


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