B9 =IF(H6,C6,0)-f9
C9 =$A$2-E6
D9 =(NEED HELP)
Is there a formula I can put in D9 OR maybe just add to B9 and C9 (still need the above formulas) that will deduct B9 value until it reaches zero BEFORE deducting from C9 when I enter amount in F9?
Example:
B9 has 150 based on the above formula
C9 has 200 based on the above formula
D9 is the total of B9&C9 350 (This column may not be necessary)
F9 is where I would put in a number so say I put in 175. B9 should now say 0 and C9 should now say 175.
It's basic math:
B9 +C9 -F9 =175
150+200-175=175
Just add another column. However you cannot put the result in B9.
That is called a circular reference, which is the same idea as saying:
"I am one year older than you, and you are one year older than me."
You can, however, use one of mpore additional cells/columns, to display your result, like G9, and hide any columns that you don't want to display.
I have a question for executing quickly.
A1:C3 is original. I want to create a new based on it and F1:F3.
A8 is A3 / F1.
A7 is A2 / F2.
A6 is A1 / F3.
B7 is B2 / F1.
B6 is B1 / F2.
C6 is C1 / F1.
I want to use formula to do this rather than input A8 = A3/F1. And do it many times in each cells.
How can I do?
This formula should do it:
=IF(A1<>"",A1/INDEX($F$1:$F$3,1+(ROW()-ROW($A$6)+COLUMN()-COLUMN($A$6))),"")
You have to put it in A6 and copy it to the other cells.
(#Rob Gale: ok :-) )
First you have to check for empty cells (A1<>"").
Then the numerator of the division is simply a reference and can easily copied between the formulas (A1).
The tricky one is the nominator. The sum of the row and column offsets of the respective cell is calculated and used as index into the 'percentage range' in column F.
Select A6:C8
Press F2
Copy and paste this formula
=CHOOSE({1,2,3;4,5,6;7,8,9},A1,B1,C1,A2,B2,C2,A3,B3,C3)/CHOOSE({3,2,1;2,1,1;1,1,1},F1,F2,F3,F1,F2,F3,F1,F2,F3)
Press Ctrl+Shift+Enter
I have an excel sheet that I need to concatenate a couple of cells and then add a number. I want something like:
A1
A2
A3
A4
B1
B2
B3
A5
But instead, I get:
A1
A2
A3
A4
B5
B6
B7
A8
Is there a way to achieve what I want?
Thank you
Does this work for you? Added a helper column.
My excel image:
At E6 cell, I used this formula:
=countifs(Example1!$L$19:$L$1000;$B$6;Exampale1!$M$19:$M$1000;$C$6)
And at F6 cell, i used this formula with C8 cell contains the sheetname that I want to refer:
=countifs('INDIRECT(C8)'!$L$19:$L$1000;$B$6;'INDIRECT(C8)'!$M$19:$M$1000;$C$6)
why are there 2 different returned results?
As expected, I want F6 will return as E6.
I tried to search but nothing can resolve.
That's not how indirect works.
Replace the formula in F6 as follow.
=COUNTIFS(INDIRECT("'"&C8&"'!"&"$L$19:$L$1000"),$B$6,INDIRECT("'"&C8&"'!"&"$M$19:$M$1000"),$C$6)
This is a very basic example.
What is in A3 and A4 are the formulas that are in B3 & B4 respectively.
I want the value in B4 to be "ValueB2"(the value from B2)
I basically want to control the formula in B4 with a value from another cell(C4)
Can this be done or how do I do it?
=INDIRECT(CONCATENATE("b",C4))
this in B4 works
The INDIRECT function seems to be what you would want to use for this based on your description.
http://office.microsoft.com/en-us/excel-help/indirect-function-HP010062413.aspx