I want to change cell value according to my sum means if i give total 2000 in "A5" than value change automatic in cell range A1 to A4.
It's confusing to answer your question without knowing more.
Assuming you are working in Excel, if you have the following numbers
A1 A2 A3 A4 A5
5 6 7 8 1000
you can set the following formula for A1, A2, etc.
=IF($A$5=2000,*value that you want cells to read, "")
Essentially if the condition on cell A5 is met, in this case reaching 2000, you will change the value of cell A1 - A4 to a specified amount. If it doesn't reach 2000, you will keep the original value.
You could have formulas in A1 to A4 as percentages of A5,
for example,
A1: =0.1*A5
A2: =0.2*A5
A3: =0.3*A5
A4: =0.4*A5
Related
Column A: Cost of an apple
Column B: Quantity of apples purchased
Column C: Total cost of apples purchased
Cell A2: $1.50
Cell B2: 3
Cell B3: 10
Cell B4: 15
C2 currently has the formula =A2*B2. How would I tweak the formula, so that when I drag down the formula to cells C3 and C4, A2 stays the same?
To keep a specific cell reference value, use a $ in front of the cell and row reference, so to the formula, that would be: $A$2*B2
I would like to put in a number as a total, say B2. Then put in a negative number under it in B3, and subtract B3 form B2 and B2 shows the total. If i put in 10 in B2 and -5 in B3 and then B2 would show 5.
This would be an example of circular reference and therefore not possible. The result of the calling cell depends on the value of the referenced cell which depends on the value of the calling cell. It can never come to a resolution.
You can instead do one of two options. Change B2 into a formula:
=10+B3
This way B2 will show the value 5 by adding the negative -5 from B3 to 10.
Else, if you need it to be more dynamic, then add the 10 value to some other cell. For instance:
B1: 10, B2: =B1+B3, B3: -5
With the above B2 will show the value 5. You can then later change the B1 and/or B3 values to manipulate B2. For instance, if you change B1 to 5, and B3 remains the same, then B2 will show 0.
Is it possible for a formula or custom function in cell C1 using the values in A1 and B1.
Cell A1 has a value of 2600.
Cell B1 has a value of 25 (format percentage).
Cell C1 has a value of 3467.
Cell D1 has a formula of =C1-A1 with a result of 867.
Cell E1 has a formula of =D1/C1 with a result of 25 (format percentage).
I am at present changing the value in cell C1 until the required 25% is achieved in cell E1.
I hope this makes sense, thank you for reading.
Please try in cell C1:
=A1/(1-B1)
I need some help here with my work.
I am doing pure formulas in excel and won't be using anything else.
sorry to confuse u guys, maybe I'll change my question a tad more clearer to what I need.
I wanted to increment my cell references in the formula every time a day is added.
let's say today was Feb 1, 2014. I'd set A1 = 1, now when I enter Feb 2, 2014 on my date entry cell. A1 should change to 2.
I need the proper formula for this statement as follows, If A1 = 1, then B2 = H2, B3 = H3, now when A2 changes to 2 after the date change, my formula should become B2 = H3, B3 = H4, I can't get this part.
Many thanks!!
if A1 = 1 then cell value =A1, if it is 2 then i wanted the formula to change to A2
if today's date is the 1st day then my cell value in A1 = 1
What you want is slightly confusing if I consider the above two statements. Is this what you want?
=INDIRECT("A" & DAY(TODAY()))
This will give you A12's value for 12th Jan 2014 (Since it is the 12th day)
Followup from comments.
Let's say i take my data to be displayed in A3 from B3, my formula will be A3 = B3 in simple terms, but the next day I will need A3 to take data from B4 instead as B3 will be my past data already, how will I increment the formula to change to A3 = B4?
So my understanding was correct :) Ok Let's say your current formula in A3 is =B3 and you are storing the date say in cell D1 then change the formula in cell A3 to
=INDIRECT("B" & DAY(D1))
So if you input say 04/01/2014 (i.e 4th Jan 2014) in cell D1 then the cell A3 formula evaluates to
=INDIRECT("B" & DAY(D1))
=INDIRECT("B" & DAY(04/01/2014))
=INDIRECT("B" & 4)
=INDIRECT("B4") '<~~~
Define a named range such as DateEntryCell for the cell where you enter the date. In A1 you need a formula to return the day of the date entered in your DateEntryCell range.
=DAY(DateEntryCell)
In 'B2' enter
=INDIRECT("H" & $A$1 + ROW()-1)
The absolute reference to $A$1 means you can copy this formula down to B3. Adding ROW()-1 incorporates your offset between row 1 where you have =DAY(DateEntryCell) and B2, B3 etc.
How do you define variable cell address in Excel. For example consider the case where the content of cell A1 is 5, cell A2 is 2, cell A3 is 10 and cell A4 is 1. How do I enter a general formula to SUM the content of the cells A7 (A1+A2) through A9 (A3-A4)? I would then like to drag the formula to columns B through CJ,... and repeat similar calculations noting that values of B1 through CJ4 are different than A1 through A4. I appreciate any suggestions.
=SUM(INDEX(A:A,A1+A2,1):INDEX(A:A,A3-A4))