Extract Numbers For Square Footage Calculation

Jul 14, 2009

I'm a new member to the forum and have a question about extracting numbers from a string for a square footage calculation. I am trying to extract the two numbers of varying length on either side of an "x" within an alphanumeric string. As you can see from below, the only constant is that each string will contain an "x" (assume there will be no other "x"'s in the string). I am trying to achieve the following:

A1 = 36.5 x 112 --> B1 = 36.5, C1 = 112
A2 = 36.5x112 --> B2 = 36.5, C2 = 112
A3 = 36.5' x112 --> B3 = 36.5, C3 = 112
A4= 36.5'x112.5' --> B4 = 36.5, C4 = 112.5
A5= abc123 36 x 112.5' --> B5 = 36, C5 = 112.5

If there is a non-VBA code fix, that would be preferable (mix of MID,FIND,MATCH functions...?), but I am okay with some basic VBA.

View 4 Replies


ADVERTISEMENT

Finding Whether A Number Is A Square, Or Whether Square Root Is Integer

Aug 19, 2009

I need a formula to tell me whether a number is a square number, or I can do it so to see if the square root of a number is an interger. So far Iv been doing

A1 = 2
A2 = AND(RIGHT(A1,1)=INT(A1))

True or false outcome is fine, and it has been working fine on some examples, but the problem comes when I have 49, as it is 2 digits long. I've seen a formula similar to find the root symbol, and look at all the numbers upto this point (maybe FIND).

View 3 Replies View Related

Extract Numbers From Text Para And Sum Extracted Numbers?

Jan 27, 2012

I have a text string in cell A1 as below:

repairs booked in Dec,11 (INR 37k)
training fees Dec,11 (INR 42k)test Fee Reimb for 03 emp Dec,11 (INR 56k)
skill fees booked in Jan,12 INR 52k
Reimb for 01 employee in Jan,12 INR 8k fee accounted- xyz INR 250k, Quick solutions INR 52K, ABCD India INR 272K, Layer Technologies INR30K and complex mgt INR 21K

Note: (INR 37K) means negative number i.e. -37

Now my task is to manually total the above amounts in calculator, i.e.

-37-42-56+52+8+250+52+272+30+21 = =550

like this there are 100s of cells, could derive a formula for this task.

View 9 Replies View Related

Shifting Numbers Calculation?

Feb 12, 2014

Any way to automatically shift the numbers in a calculation range without having to manually enter for =SUM every time.

The spreadsheet shows a listing of the 20 most recent golf scores in one column, and the other column adds the best 10 of the most recent 20. Currently I am doing this by hand, and just entering the sum in the top cell. Is there a way once I enter the newest score for excel to read that and automatically adjust the formula?

View 7 Replies View Related

Extract Numbers After The (/)

Aug 13, 2009

just got a problem with this guys, sample :

in A1 i copy and paste -> "previous / 12.25 " or " "previous/12.25"

and i want in b1 to only have "12.25".

View 4 Replies View Related

Extract Numbers Only

Sep 5, 2007

CAn a formula/macro be provided to extract the numbers (including Decimal) from a cell value containing alphanumbers?
For eg.Down 3,492.00 INR should be extracted as -3492.00
Up3,492.00 INR as 3492.00

Please note that the numbers may be of any digit. If it contains down, then the number should be negative and if UP then positive.

View 9 Replies View Related

Extract The Numbers

Feb 27, 2009

I'm trying to obtain a daily/monthly sales total. As you can see from the sample I've left, I have a number of different sales dep't and have to tally each one, but I have a situation where 1 of the dep't I need to keep a tally (including text) of what the amount refers to (but all in the same column, can't seperate them into different columns.......just in case of an doubts). What I need to accomplish is a formula for the following:

1- that it can recognize AND sum across the values. (TOTALS column)
2- that it can recognize AND sum down the SALES D column.

Sheet1 *ABCDEFG1DATE SALES A SALES BSALES CSALES DSALES ETOTALS22/26/2009$458.00 $23.00 $- * $20.00 Late fee + $30.00 purchase$9.00 = $540.0032/27/2009$875.00 $- * $56.00 $12.00 late fee $100.00 delinquency$43.00 = $1,086.0042/28/2009$1,235.00 $12.00 $42.00 $7.00 vis $16.00 mcd $23.00 amx$13.00 = $1,348.005SUBTOTALS$2,568.00 $35.00 $98.00 $208.00 $65.00 $2,974.00 Excel tables to the web >> Excel Jeanie HTML 4

View 9 Replies View Related

How To Extract Numbers From Sentence

Aug 25, 2014

I want to EXTRACT LAST 4 numbers from a sentence

EX:

A1:what is your name 1234

To be

B1:1234

View 8 Replies View Related

Extract Numbers Only From Cell

May 6, 2009

I have a data set that I imported from Access. One of the columns contains the code for specific work activities, for example 13Z or 9A. I need to extract the numbers only from the cells in that column so that they are in separate cells in a separate column. I've been trying to use left, right, or mid functions, as well as text to columns with varying degrees of success.

View 2 Replies View Related

Extract Numbers Before Text

Nov 20, 2009

I need some code that extracts everything after the last number in a cell. For example, in A1 I have

Flat 3 45 New Road

and need to rearrange it to get

Flat 3 45

into another cell. I've found this code;

View 8 Replies View Related

Extract Numbers From Text?

Jan 16, 2012

I require a formula to extract minutes and seconds from the below cells and place them in the cells beneath the required data heading as shown.

Code:

ABCD1
REQUIREDREQUIREDREQUIRED2
DATA DATA DATA3DATAMINUTESSECONDS 1SECONDS 246m02.4s62453m58.s358061m11.98s1119870m58.54s05854812m58.04s1258491m12.56s11256105m08.s580115m.01s501121m00.17s1017

View 9 Replies View Related

Extract Numbers From String?

Feb 1, 2012

I need a formula to extract the numbers from data in a cell:

Examples of data in cells:

G 622 ENTERTAINMENT ( I need to extract 622 )
D 6129 TOYS ( I need to extract 6129)
C 1039 Toddler TOYS ( I need to extract 1039 )
R 05 VEHICLES (I need to extract 5 )

All the cells have spaces before an alphabetical identifier, then a space ( it could be more than one in some cases ), then a number ( between 1 and 4 digits ), then a space and a description.

View 9 Replies View Related

How To Extract Numbers From Text

Aug 30, 2012

I need an automated way to extract the dollar amount from B and then from C and put them into separate columngs.
So the dollar amount in column B is extracted out of the text and then put into a separate column. Then, the dollar amount in column C is extracted and put into a separate column.

Please see the excel file in this link [URL]....

View 3 Replies View Related

Extract Numbers From Field?

Sep 18, 2012

I run this report from ADP and it only comes out in PDF or txt. I copied and pasted it to Excel, but it comes out funny. Below is a sample of the data from one field and I am trying to extract the 6 digits (it's the employee ID) from everyones name with a macro to the adacent column (.i.e data is in col B3, I would like the output to be in cell B4)

The problem is the 6 digit numbers isn't in the same location and I didn't know how to extract it.

Sample Data

MEYOR,SAM 010046 A 07/30/1979 -----> 010046

000548 A MOLINA,DARREN 06/01/2002 -----> 000548

View 8 Replies View Related

Formula That Extract The Numbers

Mar 17, 2007

Need a formula that will extract the numbers in Col C into this format
C2 2,2,1,0,0,0 to 221000. Thanks for all suggestions. I can copy the numbers into Notepad and do a replace, but there has to be a better way in Excel.

******** ******************** ************************************************************************>Microsoft Excel - FL LOTTO 6-53.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutC2=
CDEF22, 2, 1, 0, 0, 0 32, 2, 0, 1, 0, 0 42, 2, 0, 0, 1, 0 52, 2, 0, 0, 0, 1 62, 1, 2, 0, 0, 0 72, 1, 0, 2, 0, 0 82, 1, 0, 0, 2, 0 92, 1, 0, 0, 0, 2 102, 0, 2, 1, 0, 0 112, 0, 2, 0, 1, 0 122, 0, 2, 0, 0, 1 132, 0, 1, 2, 0, 0 142, 0, 1, 0, 2, 0 152, 0, 1, 0, 0, 2 162, 0, 0, 2, 1, 0 172, 0, 0, 2, 0, 1 182, 0, 0, 1, 2, 0 Sheet9
[HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

View 9 Replies View Related

Extract Numbers From Text

Sep 29, 2007

Cell A1 = RJ46512263-F

Is there a formula wherein i can extract the numbers from the above text?

Cell B1 should give the result "46512263"

View 9 Replies View Related

Extract Numbers, PO Box, RR# From Address

May 16, 2009

I have an excel spreadsheet database displaying 5.000 contact information such as my example below:

Title FirstName LastName Address
Mr adulted it is me 144 picton street e
Ms Moe Scally 1343 university court

What I am trying to do is put 144 in its own column to the left of address and the street name (picton street e) in its own column or the street name to the right of the address column.

Or as in the second example What I am trying to do is put 1343 in its own column to the left of address and the street name (university court) in its own column or the street name to the right of the address column.

In simple terms, this 5,000 enrties need to be sorted by street name only, exluding numbers, possible PO Box, or RR # 3, etc...

View 9 Replies View Related

Extract Numbers From A Range

Jun 23, 2009

I have following data from which I want to extract only numbers.

Abc ch#25981Abc ch#25982Abc ch#25983Abc ch#25984Chq#25894Chq#25895Chq#25896Chq#25897Aed chq#25897 Bounced

View 10 Replies View Related

Extract Text And Numbers

Nov 28, 2009

I want extract numbers and text from

LAXMI GANPATI ENTERPRISES19.475

In column one LAXMI GANPATI ENTERPRISES
In column Two 19.475

BALAMURLI ENTERPRISES
19.11

View 9 Replies View Related

Extract The Numbers Following # Sign

Dec 23, 2009

This should be an easy one but I am having a difficult time extracting the digits after the # sign in each account description in my list. The values in each cell do not follow any rhyme or reason and differ in length. Three examples of the current data and what I am looking to extract are below.

Current Data:
ALBERTSONS #8272-ROSEVIL WHS-closed
ALBERTSON'S #703 - SAN RAMON
ALBERTSONS #7105 - CARMEL (SOLD 6/06)

Extract Needed:
8272
703
7105

View 9 Replies View Related

Extract Numbers Only From Cell Containing Text Also?

Jan 24, 2008

I have a cell that I need to clean up. It contains text and numbers.

What I want to know is this, can I have a formula that will extract just the numbers and not the text?

For example if cell B2 = 'Ref No. 123456'. Could I just extract the '123456'?

View 5 Replies View Related

Extract Dates From Column Of Numbers

Sep 14, 2013

I have a column of numbers that have certain dates in it. I want to extract the dates and then copy and paste the dates into another column. Shall I use a macro for this or can it be done manually?

Column A1
03.03.2013
1,02043
1,02043
1,01927
1,01988
06.01.2013
1,04778
1,0512
1,04758
1,05099
07.10.2012

View 10 Replies View Related

Extract Numbers From Text String

Sep 24, 2009

I have several lines with text strings containting three numbers in each line. I need a code to extract all three numbers from each text string. The numbers can be placed on the following columns in each row.

View 2 Replies View Related

Extract Numbers And Prefix Letter

Aug 21, 2009

I need to extract (and then use for SumIfs) only item numbers from the long description. Please see the attached list where item number column shows existing list & next column shows what i want to extract. The exrtacted part if has any trailing or succeeding letters, characters between numbers should stay. for example from "SGA:RV-SVA:PEPPERS/PEPPERONCINI:SV9176001/232034" I need to extract " SV9176001/232034" or from " SPICES:BULK SPICES 7100:9054B" I need to extract " 7100:9054B". Can some one please urgently help me on this.

View 9 Replies View Related

Macro To Extract Numbers In Groups

May 8, 2013

I have a workbook called PETB. I would like to extract the following account number ranges in Col A to sheet 2 (the numbers are all 6 digits) for eg 273000

1) All numbers starting with 2730 and ending in a zero and 02 to be extracted together in one group for eg 273000, 273050, 273250, 273002, 273052 to be extracted below each each

2) All numbers starting with 2730 and ending in a 4 to be extracted together in one group

3) All numbers starting with 2730 and ending in a 6 to be extracted to together in one group

View 2 Replies View Related

Extract Numbers After Specific Words?

Mar 13, 2014

I am trying to extract numbers after a specific text in a text, for eg :

abc SN 12345 xyz
edf SN No. 456 mno

As per above, i want to extract any numbers afters "SN". the numbers can be vary in digits i.e. it can be 3 digit numbers or 4 or 6. Also, at times there is some other text in between (like SN No.) numbers and search word (i.e. SN)

Any formula to get result as "12345" and "456".

View 2 Replies View Related

Extract String After First Space And Numbers?

Jun 30, 2014

I'm looking for a way to extract the data after the first space in a string to after the first set of numbers (always 8 digits). The formula I'm using is not accurate since the number of words that appears between the first space to the first set of numbers changes.

Sheet2ABC1Desired results2277 xxx spzrtmhk
companies 12345678 231516990 2475.06 3199.57 23.19 street 1 739.00xxx spzrtmhk
companies12345678 231516990xxx spzrtmhk companies 1234567831528 dts powertrain comp inc
15981808 231516989 43.55 84.40 48.40 5.00dts

[Code] ...........

View 9 Replies View Related

Extract Numbers Based On First 2 Digits

May 27, 2008

I would like to extract numbers based on the first 2 digits (22....) of a column along with its next column (on the right) and put them on another sheet.

View 9 Replies View Related

Extract Numbers From Alphanumeric Strings

Mar 7, 2009

I have this formula that extracts numbers from alphanumeric strings.

{=1*MID(A1,MATCH(TRUE,ISNUMBER(1*MID(A1,ROW($1:$100),1)),0),COUNT(1*MID(A1,ROW($1:$100),1)))}
However this extracts only the 1st instance of the numbers

In a string like 123avfbsdf4556.. it'll extract only 123.

My questions are the following:

1. Is there a way that i could get the result as 1234556

2. A way which refers to a cell where I put in a number and it'll extract those many number instances. In the above example, if I put the number as 1, it'll extract 123. If I put the number as 2, it'll extract 4556 and so on.

I guess this would require some modifications to the Match function so that it does not look at only the 1st instance.

View 9 Replies View Related

How To Extract Column Numbers From One Cell

Dec 9, 2009

I a simple macro below that loops through columns and copies a value from each column. The columns to loop through are specified in cells F2,F3,F4 which contain numbers indicating the column number (currently 1, 4 and 7).

Sub Testing()
'For i = 2 To 4
Cells(6, i).Copy
Range("h100").End(xlUp).Offset(1, 0).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Next i
End Sub

However, I would like to specify the column numbers in one cell instead across multiple cells. So, for example in cell H2 I could specify each column number separated by a comma
i.e. H2 would show: 1,4,7

Is there a way I could get the macro to reference that once cell only for the column numbers instead of in separate cells as currently? I'm assuming I need to use some clever text functions to extract each column number from the cell based on the comma delimiter and then feed into the macro?

View 9 Replies View Related







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