Text And Numbers In Formulas
Aug 18, 2009
B1, C1, E1, F1, H1, I1, K1, L1, N1, O1 will contain 1 of 10 different names (John, James, David, Jack, Alex, Aaron, Jason, Stan, Robert, Will)
I need A25 to pull the info from B1
A26 to pull the info from C1
A27 to pull the info from E1
If B1 and E1 have the same name then A27 should be blank.
Also C15, G15, and K15 contain a number. If A25 is not blank, then B25 should equal C15; If A26 is not blank, then B26 should equal C15;
If A27 is not blank, then B27 should equal K15. However, if B1 and E1 contains the same name, then A25 should equal C15 + K15.
If B1=John C1=James E1=David F1=Jack
and C15=10 G15=15 K15=20
then A25=John A26=James A27=David A28=Jack
and B25=10 (C15) B26=10 (C15) B27=15 (G15)
But if B1=John C1=James E1=John F1=Jack
and C15=10 G15=15 K15=20
then A25=John A26=James A27=(blank because John is already listed in A25) A28=Jack
and B25=25 (C15+G15) B26=10 B27=(blank) B28=15(G15).
View 14 Replies
ADVERTISEMENT
May 8, 2008
I am attempting to write a VBA function that will add textual formatting to each cell that has content. I am just learning VBA; so far, as an example I have
Sub NewSub()
i = 1
j = 1
Do
Cells(i, j) = "'" & Range(i.j).Value & "',"
i = i + 1
Loop Until i = 40
End Sub
but, as I'm sure you'll notice, it does not work. In essence I want to wrap quotes and follow with a comma each cell that contains any content. The actual content test I haven't gotten to yet.
View 6 Replies
View Related
Dec 12, 2007
If you have a cell with the value ="2*c2+3" NB: (Notice the ""), then to make excel convert the formula in another cell to =2*c2+3 (notice the removal of ""), so that it can calculate the value of the cell instead of showing a textstring?
View 11 Replies
View Related
Feb 27, 2008
I am trying to be able enter an a dollar amount into one cell and have the numbers separate into their own cells further down the page. It works basically but if I have room below to hold 10000000.00 and I only enter 100.00, the output looks something like #######100.00.
I have an IF formula using LEN and MID formulas in each of the cells. So if nothing is entered, a VALUE error appears in each cell. Is there a way around this? I will paste the formula and the Excel screenshot using the lovely HTML maker below: ...
View 13 Replies
View Related
Jun 15, 2013
I am trying to combine the text values of several formulas in addition to adding some text (punctuation) in between.
Here is the data that I am trying to combine
C14: 2013
C15: Period 6
C16: Week 1
In Cell C13, I would like to have this value returned: "2013 - Period 6, Week 1"
Is there such a way to do this?
View 9 Replies
View Related
Apr 16, 2009
I have several excel spreadsheets cataloging the right ascension transit times of various extrasolar planets. I need to convert all the times (in 24-hour format) from UT to PDT (that is, subtract seven hours). Unfortunately, each transit time is included in the same cell as the date the exoplanet's star is visible, like so:
http://img26.imageshack.us/img26/3998/transit.png
Now, I have a lot of data that I need to convert. I do not want to go through manually and change each cell's value manually. Unfortunately, I cannot figure out a way to use a formula to do so; I do not want to modify the date (the top value of each cell), and the colon separating hours from minutes screws up the rest of the formula.
So, how can I use excel to automatically subtract seven hours from the bottom value of each cell, without doing anything to the rest of the numbers in each cell?
View 6 Replies
View Related
Apr 23, 2009
I'm tring do a simple formula: =CA3+BP3+BE3+AT3+AI3+X3+M3, but because the cells I am adding have formulas in them already it is returning a error. Can I add them using 'sumproduct' formula, or is there another way?
View 9 Replies
View Related
Jul 25, 2013
I have a large spread sheet with about 10 tabs. Is there any way to convert all the formulas to numbers in just one macro.
View 3 Replies
View Related
Oct 13, 2008
I'd like to use a SUM formula to add together the numbers in a column, however i would like to do this missing some rows out........ ie; A1:A11 plus A13:A20 plus A22:A30.
I would also like to do this with another column containg fractions.
View 9 Replies
View Related
Jul 3, 2012
I want to find the min and max numbers within a thread of numbers that has both positive and negative values. The key is that I want the smallest amount or the largest amount based on the number and not on the positive or negative.
For example, below is my list of numbers.
7
5
2
-5
-6
7
-8
-3
I want the min formula to return 2 and the max formula to return 8.
View 2 Replies
View Related
Aug 16, 2007
I need to find a way to autosort a series of numbers, inputted manually for example, in cells A1 through A15. The autosort function needs to put the numbers in descending or ascending (either way, doesn't matter) in cells B1 through B15.
In effect, if the numbers inputted into the first cells change daily, then the correct order of these be automatically sorted so that they are in a specific order.
The closest I can come WORKS, but I'm using about 300 filter formulas to do so.
View 9 Replies
View Related
Dec 3, 2007
Is there a way, WITHOUT VBA, to have a cell turn color if a user overlays a function with a value. Using conditional formatting or an easier way if possible, I would like to have any cells that the user overlays with a number to have a different background color.
I know I could use an event-driven macro but am trying to find a function that can check a cell to see if it contains a formula (or function) or a value.
View 9 Replies
View Related
Dec 11, 2012
When I download data from server side into excel, specific number such as "83437E207" gets converted into scientific number such as "8.3437E+211".
Is there a way to format excel to always to read numeric data as numbers only.
View 7 Replies
View Related
Oct 14, 2008
Is there a formula that can extract data by taking numbers within a specific range and assigning a number to the data within that specific range?
0-25=1, 26-50=2, 51-75=3, 76-100=4, >100=5
View 9 Replies
View Related
Jan 12, 2007
I'm looking for an answer about how I can show the numbers underlying a
nested IF function. The formula works fine, but I need to be able to show
how I arrived at the numbers that I did. Here is an example of one of the formulas:
=IF(B9=1,(B4*Data!G5*Data!F5),IF(Calculations!B10=2,(Calculations!B5*Data!G5*Data!F5),IF(Calculations!B11=3,(Calculations!B6*Data!G5*Data!F5),0)))
Instead of the reference to the cell, I would like the formula that the cell represents. I know that I could go through individually and pull each piece apart with control F9, but since there are numerous cells and because the data changes every time I create a new budget, it would help if I could have some way to display it all with one action.
View 9 Replies
View Related
May 26, 2006
i have a list of serial numbers in a column, say column a, for example, and i have corresponding data in columns to the right of this, say just column B for example- I also have a header on column B which counts the data in column b. (just a COUNTA, counting occurences of 'x' )
my issue is this: i need to limit the range of the COUNTA dynamically- by the number of serial numbers in column A. for example: if i have 10 serial numbers, i want my COUNTA range to be B1:B10 (excluding header) and... i need this to be a built-in formula, NOT a VBA macro. i need it to update automatically, as soon as another serial number is entered. i've tried using references to named ranges and all sorts of language tricks, and i cant seem to get it to work. (such as:
' =counta(b1:namedrange1)
i'm going to have to do the same thing with COUNTIF's, so if that is also easily explainable,
View 9 Replies
View Related
Feb 20, 2013
I am extracting data from a website to excel 2010. my problem is the data contains both text, numbers, and sometimes a combination of both.
e.g. hi im ron for more information you can reach me at 6 five 6 four 5 seven 7 three 2 two..
I need it to look like this 6564577322 or 7 * 0 * 2 * 4 * 5 * 6 * 8 * 6 * 2 * 1...i need to look look the same
How do i first format the numbers written in text into numbers and then show only the numbers in a cell minus the text?
View 3 Replies
View Related
Jul 19, 2014
I have a text file with rows and columns of numbers ranging from 1-4 digits that I'd like to import/copy into Excel with each number being in its own cell. But whenever I copy/try to import, Excel splits all of the 3-4 digit numbers up into single digit numbers. The text file has 10,000+ columns (each number occupies two columns so I have half of that amount in numbers) and 300+ lines.
Is the file simply too large for Excel to handle or is there a way I can do this?
View 14 Replies
View Related
Oct 22, 2009
In the ID column of the attached excel file whenever I convert the numbers stored as text to numbers it results in a weird transformation.
e.g. an ID of 480610141001 becomes 4.8061E+11. When I do the same process in the name column, which has similar numbers, it will give the correct result following the same process.
View 2 Replies
View Related
Feb 23, 2010
The format of the text in which I need to extract numbers is as follows:
23411268 - 23411270
Need to extract the following:
23411268
23411269
23411270
These numbers have to be listed in three seperate rows.
View 14 Replies
View Related
Feb 5, 2014
I've got a main workbook (excel 2007) with a main spreadsheet where i group all the information (text and values) about brands and models linked to 10 workbooks (brands) with several spreadsheets (one spreadsheet=one model).
On the main spreadsheet I've got 16 lines for each model which they have the follow formulas, wich are linked to other workbook / spreadsheet (Mar/Gato)
1)
IF(ISERROR(VLOOKUP(V844;[Mar.xlsx]Gato!$A$3:$CE$78;3;FALSE));"";VLOOKUP(V844;[Mar.xlsx]Gato!$A$3:$CE$78;3;FALSE))
and will return text values
2)
IF(ISERROR(VLOOKUP(V844;[Mar.xlsx]Gato!$A$3:$CE$78;82;FALSE));"";VLOOKUP(V844;[Mar.xlsx]G!$A$3:$CE$78;82;FALSE))
And will return number values
3)
IF(M844<>"";HLOOKUP($V$3;[Mar.xlsx]Gato!$A$2:$CE$78;2;FALSE);"")
And will return number values. The return value (;2 goes from 2 to 16.
This process repeats to all the 10 workbooks e and 250 spreadsheets
4) Table Array of the model spreadsheet
With regard to formula 1) and 2)
The problem is that the table array (on the model spreadsheet) could have diferent dimensions (becouse the launch year of the model) like this:
A$3:$CE$78 (2009 - Launch year)
A$3:$BR$78 (2010 - Launch year)
A$3:$BE$78 (2011 - Launch year)
A$3:$AR$78 (2012 - Launch year)
A$3:$AE$78 (2013 - Launch year)
And the return column (value) for formula 1) is always ;3;
And the return column (value) for formula 2) are like this:
;82; (2009 - Launch year)
;69; (2010 - Launch year)
;56; (2011 - Launch year)
;43; (2012 - Launch year)
;30; (2013 - Launch year)
;17; (2014 - Launch year)
The difference between above values is 13, it corresponds 12 months and the total column (12+1)
For the formula 3) the table array its the same, the only difference is instead of starting A$3, starts in A$2
5) The update of the formulas 1) 2) 3) for 2014
I'm doing this manually... The formulas are updated like this,for 2013, I've got table array A$3:$AE$78 and the return value (;17, then for 2014 i will have a table array A$3:$AR$78 and the return value will be (;30, and so on
5) Change the network drive
For other reasons I've to change my files to another network drive, something like this:
Q:KPI2014Main File
6) Main Goal
I was thinking using Excel's regular Find and Replace feature to change:
- The network drive designation
- the table array area
- The return value
But I don't know if this process ( Find and Replace) is safe and clean. I'm doing this manually and I've got on the main worbook/sheet 4000 lines with 3 formulas its 12000 operations!I'm on the 350 line....!
The main goal is to update the all formulas (links) to "brand" workbooks and inside "model" spreadsheets automatically with a macro.
View 2 Replies
View Related
May 23, 2014
I have been looking through the forums and found the below code, but I have both text and numbers in the same range. I have attached an example of what I need to have converted.
Book1.xlsx
View 3 Replies
View Related
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
Sep 26, 2012
A
B
C
D
E
F
G
23445566894 Brwn pdc aft
Cat1
45687930596
$5
45687930596 Gld wdget adi
Cat2
23445566894
$6
In the example above, I would like to do a vlookup in column C that matches the digits in column A to those in column F, with the output being the corresponding value in column G. I believe it involves the left function but not sure how to really use it here.
View 9 Replies
View Related
Jun 27, 2013
I'm working on a spreadsheet with about 400 rows and 10 columns. All the numbers in the columns are formatted as text, which doesn't allow me to use AutoSum. I have selected the cells and formatted them as number with no decimals, but AutoSum still doesn't work because the formatting hasn't changed and they're still formatted as text. I know if I double click each cell, the cell changes the format from text to number, but that will take a lot of time to change 400 cells in each of the 10 columns. What can I do to quickly reformat the cells from text to number?
View 1 Replies
View Related
Nov 13, 2013
I am looking for a VBA to sort rows which include actual numbers and text representing decomposed CTQs (or procedures in IT development)
Code:
Col A Col B
1Billing Accuracy
2Billing Time
3Credit Check Accuracy
4Credit Check Time
2.1Bill preparation
[Code]....
This is the order in which the data is copied and saved from worksheets in which they are developed. Note that 3 rows (8.1.2.1 through 8.1.2.3) are below 8.1.3 (because the three come from Worksheet 8.1.2 which came after worksheet 8.1). The first four rows came from a Top Level Worksheet. I would like to see them intermixed but in proper order.
View 9 Replies
View Related
May 3, 2006
I need to compare two colums by number decription for example m344 in one column and fsh344-1 in another. All I want to match is 344. In column a I want to indcate the match by placing an X by each match. View my attachment for reference. I don't know if it makes a difference but the columns are centered in my original spreadsheet.
View 8 Replies
View Related
Feb 9, 2007
I'm looking for the VBA command for this function. I tried just recording a macro in where I perform the task but it didn't record anything. Tried it several times even.
View 7 Replies
View Related
Jan 16, 2008
See attached file. A colleague is downloading rows of data from a website which contains a number field Excel is currently treating as Text after being pasted in. My spreadsheet includes just a sample of the many rows of data however as you can see the VALUE function refuses to convert these text values to numbers. How these might be converted and why the VALUE function refuses to work in this case?
View 5 Replies
View Related
May 29, 2013
Col A - budget items (description)
Col B - budget dollars
Col C - actual dollars
Row 10 - summation Cols B and C
When the budget is prepared the actual dollars in Col C are equal to the budget dollars for all items. For instance the formula =b2 is placed in cell C2. As time passes the user records actual dollars in Col C for each item by entering the actual amount directly into the cell. Actual dollars do not become known all at the same time, so that Col C will contain a mixture of formulas and entered numbers.
How can I highlight the cells in Col C that have entered numbers rather than formulas.
View 1 Replies
View Related