Divide Cells With Numbers & Signs
Dec 21, 2007i want to divide eg. >53/>12 but i get #value! error. i have huge columns full of is so i dont wanna so 53/12 kinda thing 1000 times. whats the formula i need to use?
View 6 Repliesi want to divide eg. >53/>12 but i get #value! error. i have huge columns full of is so i dont wanna so 53/12 kinda thing 1000 times. whats the formula i need to use?
View 6 RepliesI have a 52 (one for each week) page workbook. I am trying to average cell J9 for the entire 52 pages. However the information is not added to the cell until the end of the week so week 30-52 all have 0s and should not be counted in the dividing number. Is there a way to have Excel count the number of cells that have a number (not 0) and divide the sum of the cells but that number.
=(WK1!J9+.....WK52!J9) / (counted number of cells not = 0)
I have a list of numbers in Column A that I always copy into another sheet. The problem I have is that some of these numbers end in "+" and I can't use them when it has that. I have to go through and one by one take out the plus. I was wondering if it was possible to copy only the numerical values to a new column?
Example
Original What Im Looking For
4 4
56 56
8+ 8
5 5
90 90
2 2
4+ 4
45 45
1 1
67 67
Auto Merged Post Until 24 Hrs Passes;Actually I just figured it out. I did a text to columns with a + sign as the separator and it worked.
Have the following numeric values:
-3.46
103
0
6.2
I would like to convert (not format) them to
the following 14-byte text values:
-0000000000346
+0000000010300
+0000000000000
+0000000000620
I have three different sets of numbers on a r12m that I have to add and divide by different numbers and not quite sure I have the formula right as when I do it manually on a calculator it comes out different.
The formula I have put together is
=sum(O4:z4)/10)+(sum(o5:z5)/200)+(sum(06:z6)/1000)
This is the three rows of data
221121
2333443201142
402448314034292331351663
Using the formula above the result is 0.81 but if I do it manually on a calculator it is 1.6 (by doing each line individually and adding results)
I have a simple formula that adds two numbers and divide the result by another number
K1: SUM(E1,F1) / H1
K2: SUM(E2,F2) / H2
K3: SUM(E3,F3) / H3
K4: SUM(E4,F4) / H4
K5: SUM(E5,F5) / H5
etc, etc
and then I average the results
AVERAGE(K1:K5)
etc, etc
When H1, H2, H3, etc is 0, it generates a #DIV/0! (since you cannot divide by 0)
I want a formula that I everytime a H1, H2, H3, etc is 0, I want to set it to a specific number H1, H2, H3, etc to 15.00
For example:
IF (H1 = 0, 15.00, sum(E1,F1) / H1)
If the number provided (H1) is 0, set it to 15.00, otherwise add the two numbers (E1, F1), and divide this result by the number provided (H1)
But this is where the problem is:
In every single cell that I have NOT yet provided information, it treats the BLANK cells as if it was 0, and has set every single cell to 15.00.
How could you divide all numbers in a pivot table by a certain number?
View 1 Replies View RelatedImagine I have cells A1 to A5 with a sequence of "numbers" like this:
A1 = 50-55
A2 = 45-67
A3 = 56-90
A4 = 49-80
A5 = 51-55
The left hand side numbers represent a score a minus sign (-) to separate and the right hand side represent another score. I want a formula that I can add, subtract, divide, average, etc, etc these numbers.
If I want to add the left hand scores, for example, cells A1 to A3, sum would be 151 (50 + 45 + 56).
I have Three different combinations which are in cell A & B, These combinations are with similar signs as in A1=2- & B1 = 2- (& A1 = 2+, B1=2+). Then I have numbers with no signs which A1 =2 B1= 2. My approach is to limit to these and these combinations only and use a formula which is uniformally applied on these combination. I want A1 and B1 to take only like signs like -- or ++ or without any sign. The rest shd be ignored. IS there a way of sorting two columns which have different combinations liek -- or ++ or -+ into a area where u can apply a particular formula? Hence first i take a number and move signs on the left and then apply this
IF A7 = 2- . B7 = 3- THEN
IF(OR(RIGHT(TRIM(B7),1)="-",RIGHT(TRIM(B7),1)=" ",RIGHT(TRIM(B7),1)="+"),LEFT(TRIM(B7),LEN(TRIM(B7))-1)*3,B7*3)
I have two sets of data to compare. One is real world data, the other is forecasted data. I have real daily data for every day over about 3 months. The predictions though, there may be 4-6 predictions for ever one real daily value.
What I'd like to do is have a function that looks at Column A's date (real daily value) and Column C's date (predicted data) and if Column C equals Column A, then divide corresponding data in Column B by value in Column D.
If I have a value of lets say 53, I need it broken down into equal and whole numbers across the spread sheet with the last one being the remaining value.
Currently for example in cell F5 I have a value of 41 that I need to break down so
I have done the following:
In Cell P5 =IF(F5>=25,F5-21,F5)
Then in Cell Z5 =IF(P5>=25,P5-21,P5) and this goes on until I have zero value from the original value in the last cell can i not do this all in one formula and have the results populate in other cells.
I have just started to try and learn VBA for excel. the resource I have been using are books and the WEB. Some how, not sure how there was/is some code where all enteries in all worksheets are divided by 100, i.e if I enter 2222 after clicking the enter button the result in the cell is 22.22. I have deleted all macros and code however the problem still exist.
View 3 Replies View RelatedI really struggle with the following scenario:
A1=5 B1=4 C1=0 D1=0 E1=5
What I want to do is to divide the sum of those cells with the number of cells with a value > 0 (but all cells must be controlled to check if the value > 0).
In real life it's easy to see that I want to do 14/3 (A1>0, B1>0 and E1>0 equals three cells), but how to write this formula in Excel?
How to divide two cells if there is no text in the first?
i.e.: if there is text display a 0 and if there is a number to divide it with a second number in another cell.
I am trying to divide the total of two groups of cells and I used the following formula:
=sum(B3:M3)/(B17:M17)
However, that is not a correct formula.
Fallowed EXCEL instruction, for >DIVIDE TEXT ACROSS CELS< but result is not what it should be.
1, I select . >FIXED WIDTH< Than I create ONE !! >BREAK LINE<
2, click NEXT / FINISH.
3, MY text is split but not to two column but to MANY COLUMNS?
Repeat many times, always careful that ONLY ONE break line selected.
Also when I first select. >FIXED WIDTH< and click next.
My text is already market with many >BREAK LINES< so I have to first
delete all, seems to me strange.
i want to divide two cells from different sheets using a macro
i have this at the moment
='Cost Sheet A'!$L138/'Cost Sheet A'!$AD155
and have gathered that i can divide 2 cells that are in the same sheet using macros
but i want to link to two different sheets using a macro
I am trying to add 2 groups of cells and then divide the number by 60?
I can't get it to divide? It will only total.
=SUM(T807:T832)+SUM(T837:T846)/60
I need to divide Cell "A" with Cell "B" and put have the final sum in Cell C. e.g. Cell A===10 Cell B=2 Therefore, I want Cell C to say 5
View 6 Replies View RelatedI have attached a sheet as an example, as i am trying to Divide a cell by the number of populated cells in that column e.g column (A) has a table of 16 but only has 13 populated cells in that column, the sum would be something like this =sum(A18/13. Sometimes the column will have less and at times more populated.
test sum skip blank cells.xlsx
I have a column that looks like the following and I need to add the numbers:
27 skids
31 skids
56 skids
13 skids
The unit "skids" is constant. The answer I am looking for is "127" or "127 skids"
I am looking to create a "Retractable Menu with the + and - signs". If you don't know what I mean, go to excel help and click on the contents tab - that is the menu system I am talking about.
View 2 Replies View RelatedI have created a macro that searches my drives for files, lists them in excel and turns them into hyperlinks. My problem is that a majority of the names use # signs in the file name. What is the best way of going around this problem without changing the file name complete. There is approximately 100,000 different files in different locations that would need to be alters so I think it would be easier to just make the name link work with the # sign.
View 1 Replies View RelatedI have this autosum macro it does its job very well. Problem is that it returns autosum with absolute cell references ($ signs around cell numbers). This way I cannot copy paste formula around same row but different columns. I would rather have to copy paste code for each column and change declarations.
How to edit this code so that variable cell references are returned in the result.
Code:
Dim cel1 As String, cel2 As String
cel1 = ActiveCell.Offset(-2, 0).End(xlUp).Address
cel2 = ActiveCell.Offset(-1).Address
ActiveCell.Value = "=sum(" & (cel1) & ":" & (cel2) & ")"
I need a macro that will change a number's sign. To go from neg. to pos. or pos to neg. I need this macro to execute this on all selected cells. So, for example, if I select A1:G35 and execute this macro via button or short cut, all those selected cells with numbers will flip signs.
View 9 Replies View RelatedCould anyone guide me how to express symbols & signs in VBA , LIKE ....
View 6 Replies View RelatedI need a macro or something else that could delete the dollar signs from all the formulas on my worksheet. in row 4, columns V-FR, each cell shows a value that is calculated by an underlying formula. the formula for each cell is different. is there a way to scan all the formulas and delete the $ signs??
View 2 Replies View RelatedI've got a column with numbers. some of the numbers have the following signs/symbols proceeding the value in the same cell: ',ft,#,ea,each. I want to have these removed by a formula so that the numerical values are alone.
View 3 Replies View RelatedWill it be possible to Count continuous occurrence of each signs 1-X-2 and arrange them in corresponding column From Q To AE as shown below in example table: 1
Draw result is shown in cells A2:N11 and result of Count continuous occurrence of each signs 1-X-2 is shown in cells Q2:AE11
For example we take a look row 7 where first sign-2 has occurred 3 times, as
Column Q is for to place result of sign1
And column R is for sign-X
So far count of sign-2, which is 3 times, must be paced in cell S7,
And then count of sign-1, which is 1 time, must be placed in cell T7,
And then count of sign-2, which is 5 times, must be placed in cell V7,
And finally count of sign-X, which is, also 5 times, must be placed in cell X7,
[code]....
How do i ask excel to select the largest number ignoring the sign?
A1 = 0.1
A2= 0.2
A3= -0.3
the one that i need is 0.3