Add Alpha Character

Nov 10, 2009

I want to add a letter to the end of value and have it start over at "A" when the cell value changes. For example


My Column contains
BIR1510
BIR1522
BIR1524
BIR1524
BIR1524
BIR1524
BIR1532
BIR1532
BIR1533

I want this in another column
BIR1510A
BIR1522A
BIR1524A
BIR1524B
BIR1524C
BIR1524D
BIR1532A
BIR1532B
BIR1533A

View 6 Replies


ADVERTISEMENT

Limit First Character To Alpha

Feb 27, 2009

I'm trying to have the macro limit the cell entry to 5 characters beginning with a "P" and the remaining 4 character being numeric. The problem I'm having is that it's not recognizing the requirement for the beginning "P" but only identifies if the length is less than 5 characters. Any idea how I can resolve this?

For PN2 = 43 To 72
If Not IsEmpty(Cells(PN2, 1)) And Left(Cells(PN2, 1), 1) "P" And Len (Cells(PN2, 1)) 5 Then
MsgBox ("The employee number must be 5 characters long begining with P (e.g. P0001), please change accordingly!")
Range(Cells(PN2, 1), Cells(PN2 + 2, 1)).ClearContents
Cells(PN2, 1).Select
End If
Next

View 9 Replies View Related

Return Number Before Alpha Character

Feb 12, 2008

I have an Excel file that quiries Google for driving distance (someone helped me with this.) It returns the correct miles but has some 'extra' characters. Example:
31.1&nb or 886&nbs

So the answer always has &nbs after the mileage. I tried the following function which works when there is a decimal but fails when there is not. =REPLACE(MID(E2,1,SEARCH("&",E2,1)-1),SEARCH(".",E2,1),1,","). Can this be done with a function or must it be VB script? Which is fine if it is.

View 3 Replies View Related

Finds Duplicates In Column And Adds An Alpha Character

May 10, 2009

I have a Macro that finds in Column F duplicates and adds an Alpha Character (A-Z) to the last right position in the filed.(1-12 Alpha/Numeric) .

It's set to check all rows until a specific number of rows are reached. The current code does this until intCount and intRow equals 1500. The number of rows vary in each file.

View 6 Replies View Related

How To Remove Special Character Without Disturbing Other Character

Nov 27, 2012

To all sifus out there, how can i transfer from these:

NAS517-3-2
-41353913
NAS517-3-5
NAS517-3-4
-42MS27253-2
-43353908
-44357182

To these:

NAS517-3-2
353913
NAS517-3-5
NAS517-3-4
MS27253-2
353908
357182

View 1 Replies View Related

Append All Digits Before Character To All Numbers Between The Same Character

May 18, 2008

I have got a list of numeric abbreviations, for instance 10739011/21/31/41. What it should really display are the numbers 10739011, 10739021, 10739031 and 10739041 (the first six figures stay the same). All the numbers in my list are 8 figures long. I want to change the list from the list seperated by the backward slash to the complete numbers. I have uploaded an example of the list with backward slash between the numbers. Is there a way that Excel can automatically change these numbers to the full numbers?

Because all the numbers are 8 figures long, I thought the first 6 figures of the 1st number can be copied and those 6 figures pasted before the other two figures after the backslash. Auto Merged Post Until 24 Hrs Passes;sorry, pressed OK too quickly. The problem is that there are sometimes 4 numbers in the cell, sometimes 6 and once three. I would like Excel to complete all the numbers in the cell and then move on to the cell underneath it and so on. Also, I would like each number to have it's own cell.

View 5 Replies View Related

Look For Character In Cell And Insert New Character - For More Than One

Sep 20, 2009

I have a cell which will contain SER01+SER02+SER03

and what i need it to contain is [SER01]+[SER02]+[SER03]

and shocker is i've got this to work for the first instance but not the other two

code as below... be grateful for your help

Sub measure1()
Dim list As String, pos As Integer, refl As String, refr As String, newlist As String
list = Cells(1472, 16).Value
pos = InStr(list, "+")
refl = Left(list, pos - 1)
refr = Right(list, pos + 1)
newlist = "[" & refl & "]"
Cells(1472, 17) = newlist
End Sub

View 9 Replies View Related

How To Add Alpha Numeric Values

Mar 5, 2014

In a column I have data like 2W, 2BM, 4W, 6BM, 10W and 15BM. Question is how can I total all W and all BM. Total for W = 2W + 4W+10W = 16W and total for BM = 2BM +6BM +15BM = 23BM.

What formula should I used to get totals

View 5 Replies View Related

Numeric Alpha Sort

Mar 5, 2009

I have an application where there is a column A with values of F1 through
F83. There is data in columns B,C,D,E,F AND G.

From time to time there is an addition in column A, the value being F1A or F2A etc.
The rows then have to be sorted so that F1A follows F1 and the next row would start with F2 rather than F10.

View 2 Replies View Related

If Statement With Alpha Characters

Apr 24, 2009

Attached spreadsheet - the cell highlighted in yellow.
This is the formula I currently have, but it isn't giving me the results I am looking for:
=IF(TYPESVC="CompanyX", COUNT(Companies!I:I), " ")

Basically, IF the Companies tab, last column has 'CompanyX' written in it - then I want to count the number of responses provided in the Q2N column.

Same formula would be copied over to the other cells to the right as well (for Q5, Q6, Q7, etc.)

View 5 Replies View Related

Alpha Numeric Sort

Dec 15, 2006

I'm doing a sort of product codes which are of different character length with some numeric and others alpha-numeric.

A small section of the sort is below.

I want it to end up like this:

4040
4040A
4040B
4040BTO
4040C
4040E
40400
40409
41402
42402
42402A
43400

But the sort ends up like this:

4040
40400
40409
4040A
4040B
4040BTO
4040C
4040E
41402
42402
42402A
43400

In other words, I would like product codes where the last character is a letter to be sorted ahead of product codes where the last character is a digit. The way Excel is normally set up, it sorts in just the opposite way.

View 9 Replies View Related

Max Of An Alpha-numeric List

Nov 19, 2008

I've got a list of reference numbers in column A

IT0001
IT0002
IT0003

And I need to find what the biggest number is without resorting the list.

View 9 Replies View Related

Separating Alpha And Numeric

Jan 21, 2009

I have data in column with combination of alpha-numeric like "Member # 308166 RCI Number 4801-60436". can I split this without using copy and paste?

View 9 Replies View Related

Next Alpha Number Formula

Jul 18, 2006

I am trying to create a formula (or if VBA is better) where when a name is put into a field the next alpha mumber is created. Have attached example.

View 3 Replies View Related

6 Digit Alpha Numeric Random?

May 13, 2014

So what i need is a 6 digit alpha numeric random (1000 entries)

so from some searching i figured that it should be...

=MID(A1,1+INT(RAND()*LEN(A1)),1)&MID(A1,1+INT(RAND ()*LEN(A1)),1)&MID(A1,1+INT(RAND()*LEN(A1)),1)&
MID (A1,1+INT(RAND()*LEN(A1)),1)&MID(A1,1+INT(RAND()*L EN(A1)),1)&MID(A1,1+INT(RAND()*LEN(A1)),1)

[Code]....

but when i fill down it auto it to a2 , then a3 etc... how do i stop that?

I might delete out the o O and 0 cause it gets confusing...

Also, it re-randomizes every time I open the file... is there a way to stop it?

View 3 Replies View Related

Examining Alpha Numeric Data

Aug 15, 2007

I am trying to make a worksheet change the fill color depending on the data in the cells. I have two issues I cannot find the answers to.

View 12 Replies View Related

How To Increment Alpha Number String

Sep 19, 2012

I have a log that I need to number starting in cell A1, as follows:

A-0001
A-0002
A-0003

etc.

I've put this formula in A2 to try an increment it by 1, but it just replicates the string in A1:

=LEFT(A1,3)&MID(A1,2,5)+1&RIGHT(A1,2)

with the proper syntax?...

View 5 Replies View Related

Can A Vlookup Import Alpha Text

Aug 17, 2007

Can't seem to get a VLOOKUP to work and import alpha text such as a person's name. Is there a formula that would do this similar to a VLOOKUP?

View 9 Replies View Related

Extract Alpha Numeric Values

Sep 17, 2007

I have cells with alphanumeric values. I need to extract the numeric values based on certain criteria and put these values in adjescent rows.

The sheet I am using has 3 rows . Row B contains data. Row C is Amount, Row D is Month, Row E is Action

To put values in Rows C, D and E , I need the data from row B in following criteria.

data in B row is as follows :-

RS 555/STMT DT 170807/BP12/TO PAY MEMBERSHIP FEE
RS.555/STMT 020907/BP12/ OFFER
ANNFEE RS 555/- / STMT 020907 / BP 12 / FIRST TIME
RS595/STMT 0807/BP12/ first time
MEM FEES RS 525 /STMT 120807 / BP12/1ST TIM

criteria for row C
if the cell contains "AMT" or "RS" or "INR" or "AMNT" or "RS."then extract the value till first "/" or "" and put it
under Amount row. ( E.g: "AMT 595 /" or "Inr 595/" or " Rs. 595")

criteria for row D
if the cell contains "stmt" or begins with "0" or endswith "07" then extract the value till first "/" or "" and put it under Month row.

criteria for row E

if the cell contains "BP" or "OP" then extarct the value till first "/" or "" and put it under department row. ( e.g " BP01 /" or "OP 02 ")

View 9 Replies View Related

MID Function :: Numeric, Alphanumeric Or Alpha

Mar 2, 2010

A2 cell data = 11 digits alpha-numeric number.

* begin with either "0" or "1"

I want to the formula to look at the 6th and 6th digit (numeric, alpha-numeric, or Alpha) and compare it with the cells under "'PSCCR Queue - Manager" TAB from C4 thru C7.

Below formula is only looking at the first value when comparing.

=IF(A2="","",IF(ISNUMBER(MATCH(MID(A2,6,2),'PSCCR Queue - Manager'!$C$4:$C$7,0)),"ITS","Non ITS"))

View 9 Replies View Related

Covert Numeric Value To Alpha Code

May 23, 2006

I've tried searching the forum here, but have not seen anything like my problem as follows:

I would like to convert the numeric value in a cell to a coded alpha

the numbers 1,2,3,4,5,6,7,8,9,and 0 would be coded as B,L,A,C,K,H,O,R,S,E respectively.

For example, if cell A1, held the value of 5750, the formula in cell A2 would result in KLOE.

The figures in Col A would be no smaller than 3 digits nor larger than 5 digits.

View 5 Replies View Related

VBA Find Cells Containing Numbers Or Alpha

Feb 5, 2007

i need to see what cell in the collum is empty. how can i do that in vb?

View 6 Replies View Related

Sum A Column Based On Alpha Characters

Mar 6, 2007

I have columns and rows that are populated with one of three letters: P, S, & T. At the bottom of the column and at the end of the row, i'd like to assign a numeric score to the entire column/row that is based on converting the characters to a numeric eqivelant. P = 3, S = 2 and T = 1. I'm guess a case statement would be used, but not too sure here. So, I'd need the code behind the worksheet as well as the formula(s) used for the score. I've attached an example.

View 3 Replies View Related

Add Character After 1st Character Of Cells

May 6, 2008

Need a formula/code that will determine what the corrected part number should be (insert dashes if they are missing) by comparing to other values in the list.

Original A1:A5 = {452, a-bc, 123, 4-52, abc}
Corrected C1:C5 = {4-52, a-bc, 123, 4-52, a-bc}

I can do this using an intermediate working column, but can this be done all in one formula, or via VBA?

My formulaic solution is thus: .....

View 5 Replies View Related

Allowing VBA Forms To Accept Alpha Numeric?

Dec 18, 2012

My VBA form for excel currently only accepts numeric. I want two of its fields to accept alphanumerics. Those two textboxe fields are cboIns and TextCmt in the code below.

Code for the form is given below.

VB:
Dim dic As ObjectDim Ctrls
Dim myTBoxes() As clsTxtBoxes

[Code].....

View 6 Replies View Related

Addition Of Alpha Numeric Using Function COUNTIF

Mar 18, 2014

I am trying to create a shift roster for my team. My team work in general shift (GS), second shift (SS), third shift (TS). There are situations where some team members come in any of these shift but had to leave midway due to feeling well, so that should be counted as half day. This half day scenario may be in any case GS/SS/TS. I am using COUNTIF to get the sum of GS/SS/TS for each employee which is giving a whole number. I also want to incorporate 3 different variations of half day as Half Day GS (HG), Half Day SS (HS), Half Day TS (HT). My expectation is that for each Half Day only 0.5 should be added in a appropriate shift, but COUNTIF is always counting this as 1. How I can achieve this using countif or any other Excel function? Sample sheet is attached.

View 3 Replies View Related

Data Validation From 2 List And In Alpha Order

Dec 13, 2008

The user will be pasting a list of names in Column C and a list of Names in Column F I then want in Cell M1 for example a List box with all those names in from the 2 columns in alpha order.

I can create a hidden column that has the full list of names from both column and have a data validation drop down from that but cant think how to get it into alpha order in that drop down box without having a macro they would have to run 1st to sort it which i dont really want to do. is there a way if ranking a list of names in alpha order as then i could do then do a look up int he correct ranking order and use that list

View 4 Replies View Related

Summation Based On Alpha Season Code

Jul 7, 2009

I am working on an inventory report that the owner would like broken out between in-season items and out of season items. Items with no season code are always in season. Items that have seasonality have a 2 digit season code. A as if Jan, B is Feb, etc. A season code might be CE or KB. CE would be in season from March until May. KB is in season from Nov through Feb and out of season the rest of the year.

We are currently in month G. Is there an easy way to use the two digit season code and determine if G falls in between those two months.

View 6 Replies View Related

IF(ISNumber): Returning A Value For The Alpha-numberics That Begin With DMR

Jan 28, 2010

See attached file...I'm having trouble returning a value for the Alpha-numberics that begin with DMR, which should return 'Dishwasher'. All other values are correct, I'm sure it has to do with the character range but I'm a little stumped.

View 4 Replies View Related

Find Next Highest Value In Alpha Numeric Series?

Mar 15, 2014

In have a worksheet with about 5,000 rows. In column there is a unique identifier for each row, however the unique identifier can take one of 12 different formats, namely:

L1314LAND00001 through to L1314LAND0XXXX
L1314CUST00001 through to L1314CUST0XXXX
L1314COMM00001 through to L1314COMM0XXXX

M1314LAND00001 through to M1314LAND0XXXX
M1314CUST00001 through to M1314CUST0XXXX
M1314COMM00001 through to M1314COMM0XXXX

N1314LAND00001 through to N1314LAND0XXXX
N1314CUST00001 through to N1314CUST0XXXX
N1314COMM00001 through to N1314COMM0XXXX

S1314LAND00001 through to S1314LAND0XXXX
S1314CUST00001 through to S1314CUST0XXXX
S1314COMM00001 through to S1314COMM0XXXX

These unique identifiers won't always appear in sequentiual order. In Cells B2 to M2, I want to be able to determine what the next entry for each of the twelve variations will be, so for example, if the current highest value in column A for the 'S1314LAND' range S131400421, in cell K2, I would want it to display S1314LAND00422, and if the current highest value in column A for the 'M1314CUST' range M1314CUST0036, I would want cell C2 to display M1314CUST0037, so anyone at a glance can see the next highest unique reference for the relevant set, rather than having to go through the unique identifiers in column A manually to determine the next entry in the series.

I'm not really sure where to start, when there can be more than one aplhanumeric entries ending in the same number, e.g. S1314CUST00500 and M1314LAND00500.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved