Increment Number Within Alphanumeric Text

Apr 4, 2008

Is it possible to increment / decrement cells using wild characters? I've found myself needing to increment values at different position, for e.g. :

ABC-###-FR05-AB
ABC-222-FR##-AB
C##445-KJ

where I would want to be incrementing # placeholders. It would help if I can give it a start number, and the increment amount (which can be different than 1).

What about possibly extending it a bit more to include two or more place holders at the same time as follows:

ABC##- FR*** (where # would have its own starting number and increment value, and * would have its own).

View 9 Replies


ADVERTISEMENT

Increment Numeric Part Of Alphanumeric Text

Aug 16, 2007

I have a cell with a value of, Text 1 and in the next field I want it to display Text 2, then text 3 and so on.

Is there any way of doing this? I guess I am looking for something like a1+1, just a shame it doesn't work.

View 9 Replies View Related

Delete Columns, Increment Alphanumeric Text, Insert Rows & Sort

Feb 18, 2008

I am having to write a vba code for a survey data captured code online.

I am attaching the code and the vba module that is suupose to do

following things

2) dELETES THE LAST 3 COLUMNS

3) Initial 6 letters from each cell (Q0001=) UPTO (Q00011=)

4)Inserts new row at top from Q1 TO Q11

5) Sorts data on Q6 (Faculty/Staff)

Before all this the i need to insert blank cells for questions that have not been answered and shift the cells right (condition 1) ....

View 9 Replies View Related

Alphanumeric Increment

Jun 18, 2009

I would like to have a drop down list for cells in a row - say B1:I1.

Firstly, having the list (with only 2 selections) in these cells to place either an "A" or a "0" (zero) in a cell.

Next, if an "A" is added then a selection of a "B" or a "0".

If a "B" is added then a selection of a "C" or a "0". etc etc

If the "0" (zero) is selected and placed in the row then no more alpha but just the next number "2" available to select only then a "3" etc etc.

These would be added from left to right ie: A to H or 1 to 8.

I might be able to do this with a long formula but problem is there are 100's of rows. Maybe VBA would be more efficient?

View 9 Replies View Related

Replicate And Increment Alphanumeric Keywords?

Dec 15, 2007

I want to create a list from a "seed" word that consists of a word followed by a number (ex: seedword100).

What I want to do is to be able to create a list in Excel using that seed word and then have excel produce a bunch of replications of that seed word by incrementing the number part of the seed word by 1 for every replication.

So, for example, if cell A1 = "seedword100", I want Excel to replicate it up to "seedword199" like this...

B1 = seedword101
C1 = seedword102
D1 = seedword103
E1 = seedword104
F1 = seedword105
G1 = seedword106
H1 = seedword107 ...

and so on until the last cell = seedword199 (or whatever number I want it so stop at).

View 7 Replies View Related

Excel 2010 :: Increment Alphanumeric Value

May 1, 2012

Code for incrementing alphanumeric values as per details below. I am using Excel 2010 on Windows 7 (64 bit)

I have data as under in cell A1 "SOC-2012-00001001"

When I press enter I want the value in cell A2 to be incremented by 1 eg A2 "SOC-2012-00001002"

Similary on pressing enter A3 should show SOC-2012-00001003 and so on.

View 9 Replies View Related

Increment Numeric Value In Alphanumeric String

Dec 31, 2007

I have created a macro that searches for an existing part in my worksheet and copies the found part to the row above. I would like to increment the value of cells B and H in the new copied row. Both cells contain an alphanumeric string that ends with a numeric value. For example cell B has a string like this "APL-DK0030" and cell H has a string like this "Dell Optiplex GX260 V09"....

View 9 Replies View Related

Search For Number Within Alphanumeric Text?

Oct 2, 2012

I have data on two spread sheets which I am trying to cross reference. On the 1st spread sheet I have a list of product codes e.g. 22886, On the 2nd Spread sheet I have a list of product titles which all include product codes within the text e.g. CHRISTMAS FANCY DRESS COSTUME - SANTA SPARKLE OUTFIT 22886 M

I need to insert a formula into the 1st spread sheet which will tell me if based on the product code it is present in the 2nd spread sheet. I have tried VLOOKUP and I think because I am trying to search for a code within a text string it keeps failing! All cells are general cells but the position of the code within the titles varies.

View 7 Replies View Related

Subtract From Number On Right Of Alphanumeric Text

Oct 15, 2007

We use excel to organize salaries and contracts for my fantasy baseball league. I need an easy way to go through all the teams and subtract one year from each players contract. This is an example of a team.

The contracts are in the columns like this NG-3

I would like to change that to NG-2

View 9 Replies View Related

Convert Decimal Alphanumeric Text To Whole Number

Aug 14, 2007

i wanna convert the decimal number to a round number...like 2.0L to 2L.

View 6 Replies View Related

Return Value Based On Last Number In Alphanumeric Text

Jan 25, 2008

I want to be able to return a text string of either Trainee 1 or Trainee 2, (or default to other text) based on codes that are 4 digits (DD01, KKB1, KKB2, KKC2, GG03, etc, where starting with K and ending with 1 or 2 is the criteria for TR 1 or TR 2 . There are two many KK** items to list them all in an If statement and I can't seem to use a wildcard.

=IF (right(c1,1) = "1", "Trainee 1", B1)

gets me halfway there I think but of course doesn`t pick up Trainee 2 and also returns Trainee 1 when it sees DD01.

View 7 Replies View Related

Pull Number By Position From AlphaNumeric Text

Apr 10, 2008

I am having an issue with formatting a cell to 'general'. I have a macro that runs using a formula (i.e. =MID(A12, 18,5)) to extract certain characters from an external data source. I then use only the values of that formula. There then is another macro that compares that value to another value in another worksheet. The issue I am having is when the macro runs, the code is read as ActiveCell.Offset(0, 3).Value...but instead of returning the value in 'general' format, it returns it with what appears to be text (i.e. "75.50" instead of 75.5). This acts as a mismatch since the quotes appear.

I have attempted several things to correct, but even if I try to format-->general it maintains the quotes. The only way it changes is if I click within the cell...then it turns to general (i.e."75.00" becomes 75.5). I am not sure what is the issue.

View 2 Replies View Related

Increment Number & Text Of Alphanumerics

Feb 28, 2008

I was recently issued an alphanumeric range that I would like excel to manage for me. The alphanumeric numbers contain 5 characters. The basic pattern starts zero to nine, then A-Z, then 10. For example, A0500 through A0509, A050A-A050Z, A0510-9, A051A-A051Z, A0520-A0529, etc.

View 4 Replies View Related

Match All Text And Closest Number In Alphanumeric String?

Feb 21, 2014

Formula to match all text and closest number in alphanumeric string

View 1 Replies View Related

Increment Left Number In Alpanumeric Text

Apr 9, 2008

I have to put different ticket numbers for a company with some code. At present, I am manually copying and pasting data (which is too difficult as sometimes, tickets may be more than 300). So, suggest some easy way out, keeping in mind that I am new to Excel. I want this as output.

Company Name= New Horizons
Code=CS/02
Number of Tickets=1/300

Here, I want to increment number of tickets automatically like 1/300, 2/300, 3/300 till 300/300 and all the other entities like Company name and code should remain same. My rest of data remains same except number of tickets through out. I also have to print same data.

View 9 Replies View Related

Excel 2003 :: How To Increment Only Number In List When It Contains Both Number And Alphabets

Jun 26, 2014

I have a requirement where I want my list should auto increment with number only.

For example: I want to fill below text in cell and when I drag the cell( Along the column A) and fill the rows downward it should automaticallly incremented.

Data in one cell say (A1) is like 001_TCO_CM, now I want to drag data present in cell A1 and wants data in cell A2, A3, A4 etc... it should get increment like

A2 = 002_TCO_CM

A3 = 003_TCO_CM

A4 = 004_TCO_CM

and so on...any method or way present in Excel 2003 so that my series should get auto filled.

View 7 Replies View Related

Convert Date To Alphanumeric Number

Jan 6, 2014

As the title says I was wanting to convert a date into an alphanumeric number.

After searching around for a long time the closest thread I could find was this one : [URL] ....

I would like to enter the date by dd/mm/yyyy and have it come out to an alphanumeric number.

The alphanumeric number for example would be C21501
Where "C" is the year starting from 2013. So in this case C would be 2015

Next two digits would be the week of that year. So 21 would be in the month of May

The following number would be the day of that week starting from Monday. So in this case 5 would be Friday.

The last two numbers would be the consecutive number for that day. For example two orders could be placed that same day so the first would be C21501 and the next would be C21502.

View 8 Replies View Related

Extract Number From Alphanumeric String ..

Dec 16, 2008

I would like to parse a part number.

ab24s-12-g4a

if there is a "-#-" in the string, that is the value I want. If the "-#-" is not present, I would like to take the first number. Currently, as written in your first example, I am getting the first number - excellent and thank you!

In the sku, the first digit reprepresents capacity. If a second number is present after the capacity portion of the sku (i.e. "-#-"), that means that they want to order it filled with less than capacity. For instance, a carton of eggs and they want 6 eggs instead of the max capacity of 12. (i.e. egg12-6-z2z). Numbers after the second octet (i.e. z2z) do not matter.

It would be a number only in the second octet. If there are characters with it, the equation should disregard it.

Here are the scenarios, and what the formula should accomplish

1) egg12 --> currently returns 12
2) egg12-6 --> would return 6
3) egg12-6-g2c --> would return 6
4) egg12-g2c --> would return 12

View 5 Replies View Related

Extract First Number In Alphanumeric String?

Oct 11, 2011

Have many rows of alphanumeric strings. 2-4 letters followed by a variety of numbers, some spaces, and some additional letters. What I need is to return the first number after the initial 2-4 letters, everything after that first digit is junk. Thus, I would like a formula that takes me from:

AB23400 12 -> 2
CET25800 1 -> 2
NYT67300 H01 -> 6
HSRF49900 1 -> 4

View 9 Replies View Related

Increment Number Every Nth Cell

Feb 26, 2014

I have a spreadsheet with 2100 rows. I am trying to fill one column with a numbering system that fills the same number in for 21 cells and then increases by one. For example:

TRIAL WHOSICK?

110TRUE
15FALSE
113FALSE
117FALSE
17FALSE
12FALSE
16FALSE
14TRUE
18FALSE

[code].....

However, I did the first column manually and wish to fill in my "trial" column for all 100 trials.

View 2 Replies View Related

Increment Ref Number By Criteria

Oct 12, 2009

when a user answers yes to a question a ref number is generated. Which works fine. The problem that im having is when a no is changed to yes the ref numbers get incremented but they all get misaligned.

Not sure if the tabel will come out right when i post it.

Where the no has changed to yes it has changed all the ref numbers below the no

5050Yes51Yes51Yes52Yes52No52Yes53Yes53Yes54No53Yes55

View 9 Replies View Related

Insert New Row & Increment Number

Sep 10, 2006

I've created a spreadsheet that tracks problems using an assigned problem number. Attached is the spreadsheet.

I need assistance in inserting a new row and incrementing the sequential number after pressing the "Get/Assign New NCR Number" button. I am successful at getting a new row added, but am not able to increment the number. In addition, I would also like to have the table locked so that no deleting or amending the sequential number is allowed.

View 9 Replies View Related

Increment Entered Number

Aug 11, 2007

if I use the following formulae in A1 and fill it down, I get the serialization 1,2,3....etc. =(INT((ROW()-1)/1)+1)*1

But if I begin formulae at A11 and fill down, I get 11,12,13.....etc. Now I type 1 in A11, how do I modify the formula so that A12 will be 2, A13 will be 3, A14 will be 4 and so on ?

View 4 Replies View Related

Increment Number Until It Reaches X

Apr 3, 2008

way to do this in plain excel (no macros, I have sufficient knowledge to do it in VBA but certain circumstances do not allow me to).

I want to insert a relative formula into a cell based on a condition.

For instance, I have a number N=10 (changeable).
And the following cells with corresponding formula:
A1=1
A2=A1+1
A3=A2+1
........

Is there a way to automatically insert that relative formula to the next cell until its value is larger than N?
I don't want to use IF and then copy to 65000 rows either, it will create blank cells that I don't want to be there (and it affects the printout as well as the scroll on the right).

View 7 Replies View Related

Extract Number From Alphanumeric String Located At Different Row

Jan 20, 2008

What is the formula to be used to extract number from a alphanumeric string located at different row?

example:
test123test128test131
test124test129test132
test125test130test133
test126test131test134
test127test132test135
test128test133test136

result: ....

View 11 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

SpinButton To Increment By Decimals Not Whole Number

Sep 2, 2006

I’m using this code to change the value of an active cell with a spinner named: 1.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim lNum As Long
If IsNumeric(Target) Then
lNum = Target
If lNum = Target And Target >= 0 Then
With Me.Shapes("1").ControlFormat
.LinkedCell = vbNullString
.Value = Target
.LinkedCell = Target.Address
End With
Else
Me.Shapes("1").ControlFormat.LinkedCell = vbNullString
End If
End If
End Sub

The problem is, that whenever I click or activate a cell its value automatically changes to 0. The spinner works just fine modifying the value of the activated cell. The problem is that this code somehow causes all the decimals such as 0,3 0,1 or 0,8, entered manually, to change to 0. This way only integral numbers, such as 1, 45 or 100 are accepted. I must truly say I have no [no need to swear - mod] idea how to fix these problems meaning the automatically inserted 0 and the fact that the sheet doesn’t accept decimals changing them to an integral number.

View 2 Replies View Related

Increment Invoice Number On Open

Aug 21, 2007

I have created a templet for an invoice, but I cannot get the invoice number to increment. I am using the following code from a previous thread

Private Sub Workbook_Open()
Sheets("Sales Invoice"). Range("B7").Value = Sheets("Sales Invoice").Range("B&").Value + 1
End Sub

The address of the invoice number is B7 and the name of the sheet where the B7 is located is Sales Invoice.

I want to start the invoice number at 100000 and add the letters PM to the beginning so that when it is displayed and printed out it reads PM100000.

Then I want it to increment by 1 and this number be placed in the B7 area when the invoice is opened next time.

View 9 Replies View Related

Alphanumeric Counter (automatically Populate A Column With An Alphanumeric)

Jun 23, 2009

I need to automatically populate a column with an alphanumeric MFR0001 to MFR9999 and am currently using the formula below to add 1 to the start point (A1)...

A1=MFR0001
Formula in A2 =LEFT(C1,3)&(RIGHT(C1,4)+1)

This works perfectly if I start at MFR1000, but breaks and drops the 000 if I use it on the number I need to start with (MFR0001).

View 3 Replies View Related

Add Counter Column That Will Increment The Number Of The Rows (1,2,3..)

Mar 7, 2014

I am working on a sheet that has dynamic data saved. For any new value, a new row is inserted. I want to add a counter or more like an index so that I can see the number of the rows. I know that excel has is on the side but, I want to be able to make calculations. Like average of the numbers. Lets say I have 512 rows added. I want to be able (automatically via vba) to set the average with a sum of the values/ 512 which will be the number of the code I am asking. So I want a code that will start with the number 1 at (lets say) cell B2 and it will go like B3=2, B4=3.... any time a new row with data is added.

View 9 Replies View Related







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