Converting Text To Formula

May 28, 2006

I have an excel work book where in one page (sheet1) contains formula types to be used based on a code. and in the other page (Sheet 2) when I enter the code I need it to get the formula from 1st page and then do the calculation in the second based on the code. Ex : Sheet 1

Code Formula
0 Cell A * CellB
1 Cell B - Cell A*5%
2 (Cell A + Cell B)*10%

In Sheet 2

Cell A B C D ..........

Price(A) Units(B) Code Amount

100 5 0 500 (100*5)
100 5 1 answer (5 - (100*5%)
100 5 2 answer (100+5)*10%

I hope you got the picture. The problem is I'm not sure how to take only the formula from 1st sheet and then use it in the 2nd sheet to do the calculation.
I wont mind using a form for this even.

View 7 Replies


ADVERTISEMENT

Formula For Converting Number To Text

Mar 14, 2014

I want a formula for converting a number to text

For example: 2550 ( two thousand five hundred fifty). I found one formula (BAHTTEXT) but it convert into Thai Language.

View 9 Replies View Related

Taking Text In A Long Column And Converting It Into Corresponding Text In Another?

Sep 27, 2013

I have two columns that read:

XXHSXX HR
XXTRXX MG
XXXFXX XG
XXHSXX HS
XXTRXX MG
XXMEXX RU
XXHSXX HR
XXHSXX
XXTRXX
XXTRXX
....

The above list represents 2 columns. The left column is 400 lines long. The right column is partially complete with 2 letter codes that represent the 6 letter codes on the right. I'm trying to convert the column in the XXYZXX format to a 2 letter column and each of those 2 letters corresponds to the 6 letter column on the left. How do I do this using any method or Vlookup? How does one convert a column of text to a corresponding column of text? I don't want to have to manually type in 2 letter codes that match up the left column. What do I do instead?

View 2 Replies View Related

Converting Column Of Text To Different Text?

Feb 1, 2013

I have an excel file that contains data imported from a csv file. One of the columns contains text strings that I would like to convert to a different text string. The column that I want to convert has text data that is similar to the following format:

BL BLDO
BLDO
BLDO
BLDO
EL BLDO

Now, the data above should look like this:

+CONC
CONC
CONC
CONC
-CONC

The "+" should replace the "BL" in the first row. The "CONC" should replace the "BLDO" in all rows. The "-" should replace the "EL" in the the bottom row. Within these files that I work with, there are perhaps 60 or 70 unique text items that each have a corresponding text item that should replace it, and the files usually contain upwards of several hundred to one thousand rows of data. In other words, I have a list of 60 or 70 text strings that have a specific replacement text string...and I need to apply that conversion to several files each day.

View 1 Replies View Related

Converting Text To Number

Mar 16, 2009

I am currently trying to find an easy way to convert cell references to number format. The issue I'm having is when compiling a small formula (CONCATENATE) as part of a macro in order to produce a unique reference number to a column of data (1000's of cells long) I come accross the age old number stored as text issue after the macro has converted the formula to values.

Have tried editing the macro to number stored as text = false which removes the annoying little red triangle but the vlookup functions still wont read the values. My current solution is to highlight the entirity of the data and convert to number which takes a long long time as there are multiple lookups assigned to the cells, which for my current project is not acceptable.

Am looking for a quick solution, (with no interaction required) something that would convert the cells to the format required either before the formula is assigned and overwritten by values or just after. Currently I'm stumped.

View 3 Replies View Related

Converting Percentage Into Text Value?

May 29, 2009

I need to convert my percentage marks into values based on competency values. Once again my school board has change the final reporting method. Last year we had to use A, B, C, D. This year it is based on scales of 1- to 5. Since excel cannot have more than 7 nested IF statements I was wondering if anyone knew of a way to have a percentage mark converted into a scale number. Below is the following data.

0-5% = 1-
06-15% = 1
16-25% = 1+
26-35% = 2-
36-45% = 2
46-55% = 2+
56-59% = 3-
60-64% = 3
65-70% = 3+
71-76% = 4-
77-82% = 4
83-88% = 4+
89-94% = 5-
95-00% = 5

View 4 Replies View Related

Converting Image To Text

Mar 5, 2011

I need to build excel sheets and be able to convert images to text. I copy the sheet from a web site and all fields in the table come in as text except for one. That field can be 1 of two images. Right now i have to save the xl sheet as html and then Find/Replace the html image code with a + or - sign which is time consuming. Is there a way I can convert he image though excel. I need to be able to sort the sheet as well as pull the data into a separate tab.

View 4 Replies View Related

Converting Text To Numbers?

Jan 24, 2013

I am receiving a monthly breakdown of postage costs by department but the values are received in a text format of 1 234,56.

I need to convert these to numbers.

I have replaced the comma with a full and tried to use =substitute(cell ref," ","") to remove the spaces in those numbers exceeding £1000 but this does not seem to work.

Postage.xlsx‎

View 3 Replies View Related

Converting Text To Number

Jan 25, 2013

I have a formula which extracts a number from a text string.

The text string is in A2 - the formula which extracts the number is in B2

However - when I copy the data in B2 and paste values to another sheet / cell - the forumla is as text - and I get the little green corner symbol and I have to convert to number.

Some VBA code - that will automatically convert my extracted "number" - to an actual number in number format.

View 8 Replies View Related

Converting Text To Date?

Sep 25, 2013

I have imported data that is showing dates as 18th Sep 2013. Excel does not like this and I have tried various methods of conversion but nothing seems to work. I will be getting data that has Oct, Nov, Dec etc so the formula needs to be able to handle these too. I would like these 'dates' converted to excel friendly dates.

View 7 Replies View Related

Converting Text To Numbers In Vba

Apr 20, 2009

How can i convert text columns to numbers in VBA.

View 8 Replies View Related

Converting Text To Values

Apr 23, 2007

i am having a problem here,i Have got two columns one for item name other for item quantity.the quantity field has data like:
2+2+8
5+5
2+9
5
666+98
258
6+89+7+4+2+4+5
.....etc.

i need to calculate the total of all the cells like the first has sum 12,second has 10 ,fourth has 5 .Now i can get the sum by simply putting a " = "
in the start of the cell but the problem is that ive got 8000+ cells putting = manually will kill me.

View 9 Replies View Related

Converting TEXT To NUMBER In VBA

Mar 4, 2003

On my Excel spreadsheet, I have a TEXT value in A1 that is all numbers, i.e. "000065200". I would like to write some VBA code that changes A1 to the numeric value . How do I do this?

View 9 Replies View Related

Converting Number To Text For SQL?

Sep 26, 2011

I have the following SQL that works fine...

Code:
= "SELECT [ID] FROM [Data Connection TBL] WHERE ([DateSentYear]= ""1992"" AND [DateRcvdYear]= ""1992"");"

However, if I create loops to cycle thru the years, the following doesn't work?

Code:
= "SELECT [ID] FROM [Data Connection TBL] WHERE ([DateSentYear]= " & CStr(x) & " AND [DateRcvdYear]= " & CStr(y) & ");"
Is CStr not right?

View 2 Replies View Related

Converting Text Into A Number?

Oct 25, 2011

I have the following formula that pull a value from anotther worksheet. However, for some unkown reason it does not recognise the value as as number

=OFFSET('ECM & Volvo'!A474,0,Journals!$D$1-1)

I would like a formula to convert the value into a number

View 3 Replies View Related

Converting Text To Date

Dec 18, 2007

I have few dates in column C. My Column B is blank. I want to convert all text in column C in proper date format in Column B.

The dates entered in column C is in this format 05.11.2007 (dd.mm.yy format) Is there any formula to convert it in proper dates in same which will show the date in 5-Nov-2007 format?

View 9 Replies View Related

Converting Text To Time ....

Aug 21, 2008

I have a column (R) that is formatted as text. Each cell represents a time in military format.

How do I convert the values in the column to be in 00:00 (hours:minutes) format instead of text?

For instance, 1200 is the value in R2. I want it to show as 12:00.

I tried the following:

1. Create a new column (S)
2. Format the new column (S) as 00:00 format
3. Copy cell R2 (whose value is 1200) and paste into S2.

Result: S2 value is the same (still 1200). Formatting in the S2 cell changed from 00:00 format BACK to text format upon me pasting.

So I tried and changed it BACK to 00:00 format, and I get 0:00 as the new value in cell S2. Also, the function bar shows "4/14/1903 12:00:00 AM" for cell S2. I need a formula for this apparently,

View 9 Replies View Related

Converting TEXT To NUMBER In VBA

Mar 4, 2003

on my Excel spreadsheet, I have a TEXT value in A1 that is all numbers, i.e. "000065200". I would like to write some VBA code that changes A1 to the numeric value .

View 9 Replies View Related

Converting Text To A Number ..

Apr 29, 2006

I need to convert some text to a number. I was wondering if there is a way to do it in Excel. Like, for example, the date 3/14/2006 can be converted to 38790. Is there any function in Excel that can convert a word to a number?

Example would be (numbers are totally random)

md_bla_bla_02 would convert to something like 3452615261502

View 9 Replies View Related

Converting Text To Numbers

Jul 25, 2006

I have five columns on an Excel Spreadsheet with questions in each of the columns.

Below each question is a number value. In the rows below these number values the users will be answering the questions with Y or N. When the spreadsheet is complete I would like to replace the Y's with the number value shown under the question and replace the N's with a number value of zero (0).

Is there any easy way to convert these?

View 5 Replies View Related

Converting Text To Columns For A String

Jul 31, 2012

I have a problem in converting text to columns for a string that has 1000+ entry's. Excel bumps me out after 851 using the Split function.

The data I can only download in a text format has >1000 fields that are seperated by ",". Not a problem so far but when I attempt to convert to columns there is a maximum limitation of 851.

Data1,Data2,Data3,Data4...................Data1000,Data1001,Data1002 etc...

I have tried:

Sub Split_Delimeter()
Dim Words() As String
Words = Split(Cells(2, 4), ",")
MsgBox "String contains " & (UBound(Words) + 1) & " words"
End Sub

View 2 Replies View Related

Converting Copied Text Into Table

Apr 25, 2014

My boss sends me emails with people's information, which I then reformat to put in invoices in word, save as PDF, record in excel, and send out with an email from Outlook. I would love to find an easier way. I'm wondering about putting the info in an excel table so that I can then use a mail merge to create an invoice with the address--unless it turns out to be more work than to format each one (I'm newish to Excel).

The info I get is listed in the following way:

First Name: Mia
Last Name: Kant
Email Address: mika@gmail.com
Country: Afghanistan

[code]....

I need to use some but not all of the info, but if I could get it to format into a table, I assume I could then pick and choose.

View 14 Replies View Related

Converting Text To Date / Time?

Apr 1, 2014

I am trying to convert text in a cell from: 03/08/2014 2330 to a date that looks like this: 03/08/2014 23:30. Then I also need to extract just the time only and put that in a new cell.

I can do it in a few steps by using Data -> Text To Columns, formatting the date and time separately, and then putting them back together again.

Is there a 1-step way to do the original text to date/time conversion?

View 6 Replies View Related

Converting A Text File To .xls Format

Oct 21, 2008

I have received a large file of text and numbers arranged (loosely) in columns in a .txt file that I need to get into a usable form in Excel. I'm trying to use the Text Import Wizard but am running into problems geting the column breaks right as there are thousands of rows of data items. As soon I think that I've inserted the break line in the correct place I scroll down a little further to find an item that encroaches into the next column, and when I shift the break line to the right to accommodate this new item I then encroach on the items in this next column.

View 2 Replies View Related

Converting USD Amount From Number To Text

Oct 31, 2013

I have text amount in L55 column. The amount is auto summed amount. Example, $ 5081.16

Now in C59 column (total FOB) I have to write the amount in text manually. Any formula to make the amount converted in text automatically??? I badly need this. Attaching image.

THE Format of text amount has to be like below.

ex: FIVE THOUSAND EIGHTY ONE AND SIXTEEN CENTS ONLY.

It has to be caps locked, there will be and between cents and main amount, there wil be cents after that. Attaching image.

5081.JPG‎

View 6 Replies View Related

Converting Text Into Usable Number

Mar 20, 2014

I am pulling out information from a cell using =RIGHT(C2,4). It gives me 6-2 in the cell, which is what I want. Now I want to sum the cell but how to do it. I have tried converting it but it doesn't work, I tried pulling out each digit, but that didn't work.

Ideally, I would like a formula that could convert cell A1 into a result in one cell.

Attached File : converting text example.xlsx

View 7 Replies View Related

Converting Text Into Meaningful Data

Jan 27, 2009

I have a bunch of information in word that I am converting to excel. I have attached the document called test for you to see.

How do I get all the information between the word "focus" to migrate into rows of data so that I can get one company on one row?

For example line one should be like finished product attachment.

View 8 Replies View Related

Keep Number Format When Converting To Text

Jun 30, 2009

I have an excel file that is used to create a large text file. This is all done manually so I wrote some code to create the file automatically. I have everything working except that I am losing some info. The info is zeros after the decimal point. Almost all of the cells are formatted as numbers with 3 decimal places. It is common to have values of 0.000 that end up just 0 when they are written to the text file. Is there a way to keep the formatting (all decimal places)? Here is an example of code that I am using to write data directly from a cell to the file.

View 2 Replies View Related

Converting 16 Digit Number Into Text?

Nov 25, 2011

I am using following formulae to convert 16 digit number to with validation that number is not exceeding 16 digits and should always start with "1" else it should give Error with 11 blank spaces

(IF(LEN(L2)+LEFT(L2)=17,TEXT(L2,"0000000000000000"),"ERROR"&REPT(" ",11))))

but when I input any number which has a value other than zero e.g. 1009510010000059 its returning result as 1009510010000050 I need validation also in the same formulae

View 3 Replies View Related

Converting Number Stored As Text

Mar 12, 2012

I have a spreadsheet which has over 30,000 records. One column is a row of numbers stored in a General format. Some of these numbers are however stored as Text and have the following Error Check:

"The number in this cell is stored as Text or preceded by an apostrophe"

As a result, when I try to import this sheet into Access, the numbers are not imported and appear as blank cells in the Table.

Is there a way either manually or programatically, format the column so all cells in that column are stored as a number and do not have the issue of being stored as text?

View 4 Replies View Related







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