Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
A1 = 317.84, B1 = 422.79.
Cell A1 and B1 performs a SUM on couple of numbers that are calculated through basic math operators and a ROUND function.
Calling the following function in a nearby cell:
=SQRT(A1*A1+B1*B1) constantly yields a 0.
Edit: this actually applies to any function that contains any of those two cells
Now this problem is reproducible but clearly doesn't make any sense.
Some Information That Might Help
Working on Excel 2010
I did add some VBA code but it has nothing to do with the functions
A download link of the file:
http://speedy.sh/QaZ7Z/.xlsm
http://speedy.sh/bfMZM/.xlsx
See cells BY35:BW35
Any ideas what might lead to that?
The reason is that you have circular references in BX68, BW68, BU68, BS68, BR68. Change in each of this cells 68 to 67. Correct formulas:
BX68: =SUM(BX65:BX67)
BW68: =SUM(BW65:BW67)
BU68: =SUM(BU65:BU67)
BS68: =SUM(BS65:BS67)
BR68: =SUM(BR65:BR67)
A guide for finding circular references easly: http://blogs.mccombs.utexas.edu/the-most/2012/06/22/find-circular-references-in-excel/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 months ago.
Improve this question
I have something like that on Excel
row
G
H
2
Manual
810
3
Manual
600
I want the Cell to check if any G column says Manual, and for every one it does it will then SUM the H column, if it doesn't, it does nothing, the only way I could do it was as bellow:
=IF(((G2)="Manual");SUM(H2);"")+IF(((G3)="Manual");SUM(H3);"")
If I try something like:
=IF((($G$2:$G$3)="Manual");SUM($H$2:$H$3);"")
It just give me an error stating an array value could not be found
I have other 99 items and I would like to keep it as clean as possible, can anyone assist?
Below all formula should work for you.
=SUMIFS(H:H,G:G,"Manual")
=SUMPRODUCT((H:H)*(G:G="Manual"))
=SUM(FILTER(H:H,G:G="Manual"))
=SUM(IF(G:G="Manual",H:H,0))
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I have the following data in a spreadsheet:
I
I need a formula/workaround that would give me the following:
Thanks,
You can reference and repeat data by using the INDEX function.
Placing the formula =INDEX(A:A,FLOOR((ROW()+4)/5,1),1) into a cell on the first row (B1, C1, etc.) and copying down will repeat everything in column A 5 times.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a column with numerical data in cells ranging from 1 to 500.
I want to replace numbers 1,2,3,4,5,6,7,8,9 with string "1-9".
Meaning
If cell has 1 then replace with "1-9".
If cell has 22 replace with "20-29"
And so on.
What is the formula to do this?
Please help.
Here is a crude way:
=IF(LEN(A1)=1,"1-9",IF(LEN(A1)=2,LEFT(A1,1)&"0-"&LEFT(A1,1)&"9",IF(LEN(A1)=3,LEFT(A1,2)&"0-"&LEFT(A1,2)&"9")))
Examples
1 1-9
22 20-29
488 480-489
Assumes your values are listed in column A.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need to find a formula that I can use for any number, and have it output a number identified to correspond to that range.
For instance, I need to be able to input:
A number >2.50 and <7.49, and the formula spit out $0.05
A number >7.50 and <24.49, and the formula spit out $0.10
A number >25.00 and <74.99 and the formula spit out $0.50, and so on/so forth.
If you want to have a set of pre-defined values that you output as you showed in your example then I would use =VLOOKUP() like this:
Using this you can set what your desired output is in the table. Now I cannot tell if there is a pre-defined pattern you are using to determine your outputs, if so a simple math algorithm might make more sense than this.
It is possible to do this in a single formula:
=INDEX({0,0.05,0.1,0.5,10},MATCH(B1,{0,2.5,7.5,25,75},1))
You'll have to jiggle about with the cut-off points as you haven't stated clearly where the between values should fall, and what happens with larger or smaller values.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
I have an excel that looks like this:
I need a formula that will prompt 'NOK' (or 'OK') when the size is not with the range (Lowest & Highest). The expected output should looks like this:
For O2, your formula would be:
=IF(AND(L2<=M2, L2>=M2),"OK","NOK")
and of course, you can drag it down for all other cells under column O