Section Numbers - Reduce To Single Digit Or Double Digits?

Jun 22, 2014

I have a column that has section numbers like 001.002.006.003.010.011.002.

I would like to divide that single column into seven columns with only the single or double digit in it, ie

1 in a cell
2 in a cell
6 in a cell
3 in a cell
10 in a cell
11 in a cell
2 in a cell

Have been using MID and FIND togther, but when I get to the double digits like 10 an 11 I run into problems.

View 3 Replies


ADVERTISEMENT

Reduce Numbers To X Digits

May 6, 2008

I have a column with numbers in about 500 rows. The entries are 5 numbers long and others 8. So I thought i could use one of the following: A macro code to tell a cell to delete the first 3 numbers if the entry is 8 numbers long?

OR

A macro code to tell a cell to reduce itself to 5 digits long starting from the right? Attached is a small example

View 3 Replies View Related

Formula To Assign Letters To Digits And Repeatedly Sum To Single Digit

Feb 26, 2011

I need creating a tool for numerology.

Every alphabet from a to z has a number associated with it.

A = 1, b 2 , c = 3 etc

Numeric Values for Each Numeral

A1N5
B2O7
C3P8
D4Q1
E5R2
F8S3
G3T4
H5U6
I1V6
J1W6
K2X5
L3Y1
M4Z7

I can either use excel or access or write this.

Example 1 , r = 2 , I = 1, L = 3. .
If I write RIL in column 1 , column 2 should say 213 and column 3 should add 2+1+3 and display 7.

Example 2:
Col 1 = Infosys Ltd
Col 2 should say 1587313 344
Col 3 = 1 + 5 + 8+ 7+ 3+1+3 3+4+4 = 39 , 3+ 9 = 12 , add 1+2 = 3

View 7 Replies View Related

Seperate 2 Digit Number Into 2 Single Digit Numbers

Apr 3, 2008

I know you can take a number from one cell and combine it with number from another cell and make it one number. What I need to do is the reverse. Take a two digit number in a cell and separate it into single digits in two cells. If you have the number 50 in a cell, then is there a formula that will take the 5 and put it in cell and take the 0 and put it in the cell beside it?

View 4 Replies View Related

Display All 8 Digit Numbers That Have The Digits 1-8 In Them

Jul 16, 2008

I need a way to display all 8 digit numbers that have the digits 1-8 in them. (ie. 12345678 but NOT 12345679 OR 12345677) Also If I could somehow divide by 13 then check for whole numbers

View 14 Replies View Related

Instances Of Single Digit In String Of Numbers

Feb 19, 2014

I am trying to write a function that will give me the amount of time a certain number shows up in the same digit place in a large set of numbers.

For example:

111112221233313
111212222233323
111312223233333
111412224233343
111512225233353
111612226233363
111712227233373
111812228233383
111912229233393

given the number set how many times does the number 5 show up in the 4th digit. I know its 3 but for the data size I need to run it on, it is impossible to count.

What function would count how many times a certain number shows up in the same spot?

View 8 Replies View Related

Filter Last 9 Digits From 16 Digit Number Within Text

Nov 20, 2012

I have a large file with cells filled with text (converted from a database, imported into Excel). The text is in rows of column A and always contains a 16 digit number, which is what I need. I am able to clean up this text and show only this number, but then Excel shows the last digit as a '0'.

An example of the text I need to filter the 16-digit number from: GIRO 6838657 K MAHMODBETALINGSKENM. 7062542158461684 STORNOADMINISTRATIEVE REDEN 1 ZIE DE TOEGEZONDEN KENNISGEVINGVAN VERHAAL OF CJIC.NL/VZD

I've altered some of the information in here so this is fake. The text is messy but all I need is the number.

This is the macro I use to clean up the text and leave only the 16 digit number:

Sub CleanUp
Dim e As Variant
With CreateObject("VBScript.RegExp")

[Code].....

It sort of works, but when I run it, I get this number as a result: 7062542158461680 (last digit is changed into a zero).

I've been trying to insert this line into the macro but it doesn't work: Columns("A:A").NumberFormat = "@"

How do I change the outcome of this macro into the actual number?

If this is impossible to do, I can also manage if there is a way to filter only the last 9 digits from the 16 digit number. I can work with that, too.

I use Excel XP (2002) at work.

View 2 Replies View Related

If Statement Based On Last Digit Or Last Two Digits In A Number

May 26, 2006

I have 4 and 5 digit numbers. For the 4 digit numbers, I want to be able to distinguish between the numbers by the last digit. For the 5 digit numbers, I want to be able to distinguish between the numbers by the last two digits.

Example: For 4 digit numbers, I would like to do something with all numbers ending in 1, 2, 3, 4, 5, 6, 7, and 8. For 5 digit numbers, I would like to do something with numbers ending in 10, 11, 12, 20, 21, etc.

The first step in being able to do this, I guess is distiguishing between 4 and 5 digit numbers, which I know can be done by the number lenght. However, the second part of looking at the last digit or the two last digits I don't know how to do.

View 4 Replies View Related

Double Digit Number 03 Vs 3 With Formula

Jul 13, 2009

="autECLSession.autECLPS.SendKeys """&B4*100&""""

B4 is 3.00% and I need it to be 03 no %, 3.00%*100= 3 but I need anything less then 10 to be two digits still (1-9)

This would be the perfect end result:
autECLSession.autECLPS.SendKeys "03"

and for over 10

autECLSession.autECLPS.SendKeys "10"

View 2 Replies View Related

Excel 2007 :: Count Number Of Digits Without Counting Digit Twice

Sep 10, 2013

The values in columns b:d range from 000-999. I need a formula that will count the number of digits in B:D that match the 3 values in H1 without counting a digit twice. The existing formula counts a digit twice, like the value in H4.

DIGIT HITSABCDEFGH10,1,2209/09/132192191222309/09/134824821441409/08/131191191112509/08/139799792550609/07/137177171551709/07/138668662000
Excel 2007Worksheet FormulasCellFormulaE2=B2&C2&D2F2=SUM(B2:D2)G2=MOD(F2,10)H2=SUMPRODUCT(--ISNUMBER(FIND(","&$B2:$D2&",",","&H$1&",")))E3=B3&C3&D3F3=SUM(B3:D3)G3=MOD(F3,10)H3=SUMPRODUCT(--ISNUMBER(FIND(","&$B3:$D3&",",","&H$1&",")))E4=B4&

[Code] ......

View 9 Replies View Related

Return T If Any 2 Of The 3 Values From Previous Row Are Double Digits

Feb 7, 2009

Need a T/F formula that will return T if any 2 of the 3 values from previous row are double digits and the third digit is also from previous row. The 3 digits in the same row must have a zero.

Examples

668 T
806
995 T
509
995 F
519

******** ******************** ************************************************************************>Microsoft Excel - CASH 3 EVE COMBO GROUPS.xlsx___Running: 12.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA3=ABCDE302/06/09006T402/05/09016F502/04/09110T602/03/09610F702/02/09661T802/01/09160FSheet1 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

View 9 Replies View Related

VLookup Only Right Most 4 Digits Of The 6 Digits Sequential Numbers

Apr 30, 2014

I have the following working great, but would like to see it refine a little, as the data vlookup is 6 digits, but i only needs the last 4 digits is enough for me to work, my question is how do i go about adding that to the following function i have implemented and working fine.

=IF(ISERROR(VLOOKUP(B4,' cmfs01home$peter[tracker data 4-25-14-a.xlsx]ControlSheet'!$B$2:$F$301,4,FALSE)),"",VLOOKUP(B4,' cmfs01home$peter[tracker data 4-25-14-a.xlsx]ControlSheet'!$B$2:$F$301,4,FALSE)

View 12 Replies View Related

VBA To Add 0 To All Single Digit Times In Column?

Jan 28, 2013

code to change all times in a column that are single digit (6:00:00 to 06:00:00) .

View 3 Replies View Related

Macro: Section And Closed/fixed Section

May 25, 2007

I'm trying to create a macro to help me with a running issues list. I what to be able to have an issues column and a fix coulumn. Then I'll have an open issues section and closed/fixed issues section. all issues that do not have any Information and date in the fix colum will stay in the open section unitl the fix is entered and then when I run my macro it will move any open issues that have data in the fixed column to the closed section)

View 2 Replies View Related

Matching Pairs - Column To Automatically Populate With Any Of 3 Digit Numbers That Share Two Numbers

Mar 12, 2013

This is what I need:

Columns B, C, D & E are all populated with 3 digit numbers.

I would like column F to automatically populate with any of the 3 digit numbers that share two numbers, i.e.

F2 might look like this (using 00 as the pair):

001, 040

F3 might look like this (using 01 as the pair):
701, 051, 110, 001, 120

F4 might look like this (using 12 as the pair):
123, 721, 281, 912, 112, 120

etc...

View 1 Replies View Related

Reduce Consecutive Numbers By Referencing Every Nth

Mar 18, 2008

I need to take every 4th data point from an array of several hundred (col A) and place the reduced array in a new column (col B). I initially tried approaching this in VBA and then tried excel, but to keep it simple i won't show the code that didn't work.

Col A Col B
5.001 5.001
5.002 5.802
5.001 5.951
5.003
5.802
5.805
5.801
5.804
6.951
6.950
6.952
6.951

View 3 Replies View Related

Pull Each Digit From Number Into Single Cells?

Oct 26, 2012

I have Put 15 Digit Number 234567890123456 in Cell A1. I am trying to get each Digit Seperately into Single Cell from B1 to P1.

View 5 Replies View Related

Automatically Convert Date Into Single Digit?

Jan 3, 2012

I'm looking for a formula that may automatically convert date into single digit e.g today is Jan 03, 2012 & after adding (1+0+3+2+0+1+2) it will come out 9 ....

View 6 Replies View Related

Pull Each Each Digit From Number Into Single Cells

Aug 21, 2008

Attached is the sample file.

Basically I have a number in column A, just wondering is that any faster to allocate the number into individual cell as shown in the attached file.

View 5 Replies View Related

Reduce Row Range In Existing Worksheet To Reduce File Size

Dec 17, 2013

I have a problem where I extended a formula down to over 40,000 records which has increased the file size substantially. I only need it to scroll down to a few thousand rows now that I realized that there is alot less data to populate the worksheet. Is there any way to get it back to a scroll range that is more modest in size?

View 1 Replies View Related

Adding 2 Digits In A Single Cell

Jul 29, 2008

I am triying to write a formula adding two digit in the same cell and return the sum as a single digit as shown below. but not sure how to go about doing it. would appreciate any kind souls to help out.

C5 D5 E5 F5H5I5J5K529121958 D8 F8 H8 J8 2 3 1 4Let's say if 2+9 = 11, than I wan to break 11 into 1+1 = 2, how can I get it done?examplecell D8 is the sum of cell C5 and D5 which is 2+9 = 11. than 11 is further break down into 1+1 = 2cell F8 is the sum of cell E5 and F5 which is 1+2 = 3.Likewise for cell H8 is the sum of cell H5 and I5 which is 1+9 = 10. than 10 is further break down into 1+ 0 =1cell J8 is the sum of cell J5 and K5 which is 5+8 = 13, than 13 is futher break down into 1+ 3 = 4.

View 9 Replies View Related

Extract Digits From A Single Long Number

Oct 17, 2011

I have in my cell a number, namely, 5260007005020024100055040300004110000000

What I would like to do is extract a set of digits from it,

Starting from the second 2, and shown here in the dots. I need all of the numbers in a separate cell, "52600070050200 .24100055.. 040300004110000000"

Hope this is clear. bearing in mind the number will remain as one so I would need to start at 14 then using LEN or something I'm not sure, extract the following 8 into another cell.

View 5 Replies View Related

COPYING A SECTION OF DATA FROM A SINGLE CELL TO A NEW CELL

Dec 23, 2006

123569LOC23 is in one cell and I am trying to copy the "LOC23" to a new cell. However, the amount of digits vary: LOC23, LOC1,LOC15 etc all the way down the column.

View 9 Replies View Related

Populate Section With Information On Top Row Of Section

Apr 2, 2014

Refer to the "Example" file I have uploaded. Basically I want to turn table on the left to something similar to the table on the right by adding an additional column to put in card number related to the transaction in each row, so I have information of the transaction and its corresponding card number in the same row.

Example.xlsx‎

View 7 Replies View Related

Checkbox In One Section Triggers NA In Other Section?

Jun 3, 2014

I have a checklist that I need to have do some different things.

I have two "sections" - not really sections but paragraphs so to speak. On each first line I have a checkbox. Now if the user checks "section" 1, I need the checkbox to change to NA for the "section" 2 first line.

View 1 Replies View Related

Replace Double Carriage (returns) With Single

Apr 14, 2008

Is it possible to replace double returns with single?

View 9 Replies View Related

Cleaning Up Address List - Some Are Single Cells / Some Are Double?

Mar 7, 2013

My problem has to do with an list of over 22,000 addresses (don't want to think about going through it manually )

The names are in column A and the addresses are in column B. The problem is, is that some of the addresses fit in one cell and others are spread over two (Oklahoma City, OK in one cell, 73034 in the one below it, for example.)

The names with corresponding addresses taking up two squares have been placed in merged cells, so that they line up with their addresses. Here is a picture below.

Capture.PNG

What I need is each address in one cell next to its address in one cell (to make it searchable, etc.) I thought I was being really clever when I copied Column A, then pasted the formatting onto Column B (so that the cells would be 1:1, one name cell, one address cell) but didn't realize I would be losing the information in the cells being merged.

View 5 Replies View Related

Single Or Double Click Non-editable Plus / Minus Buttons?

Dec 13, 2011

I am trying to create an easy to use document that allows users to click a button to add or subtract to another cell in my document. I have the basic functionality working, but am now working on making this more fool proof.

Basically what my macro does now is when user doubleclicks C1, 1 is added to B1. When user doubleclicks D1, 1 is subtracted from D1.

What I'd like to do is to protect C1 and D1 so that they can only be clicked to add or subtract, and not clicked as to edit the individual cell content (C1 and D1). B1 should still be unprotected so that the user can manually enter a number.

If possible I'd also like to change the below macro so it works with single clicks instead of double clicks, but this is not essential.

My document consists of several worksheets, and right now I am using the macro on each individual worksheet. If there is any way of modifying the macro so it works with the entire workbook instead of having a copy with each worksheet, that would be nice as well.

Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal _
Target As Range, Cancel As Boolean)
If (Target.Row >= 1 And Target.Row

View 3 Replies View Related

Convert 4 Digit Numbers To Text Value

Feb 21, 2014

I have a column that contains 4 digit numbers that I want to convert to a text value. Here is my example

Number Text Value
7004 RBPA
7002 DCVA
7001 PVBA
.....etc.

There is a total of 10 different number values. I want to include the conversion vba into an existing macro that is performing other functions on the spreadsheet.

View 1 Replies View Related

Remove Underscores From Each Of These 3 Digit Numbers

Dec 9, 2008

I have a spreadsheet with 1000's of 3 digit numbers and each one has a underscore in front of it.

HOw can I remove the underscore from each of these 3 digit numbers without doing a find/replace on each different number?

View 3 Replies View Related







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