The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
I'm trying to create a table in Excel that has two inputs and one output. Basically, I have a column of data that is decaying that is the input to cell A1, with A2 another variable and A3 is the product of A1 and A2. I can increase A2 up to a point to compensate for the decay in A1 to try and maintain a constant value in A3. I would like to automate this somehow, as it currently is rather time consuming to fill in a table manually making the changes and it isn't very easy to test different decay scenarios. Any ideas on how to do this? Are there built in functions that I can use, or will I have to write a macro to do it? Thanks for the help.
This is kind of what I'm trying to do. The first column has data that is decaying and the second column has a variable that can be increased to compensate for the decay, but it has a maximum value. The third column is the output, which is basically a product of the first two columns. I'm trying to adjust the value in the second column to maintain the value in the third column until C2 hits the limit.
C1 and C3 are constant, you want C2 to be automatic so that it finds the necessary value to multiply by C1 to get what is in C3. If that is the case then just enter this into C2:
=C3/C1
Then just drag the little square at the bottom right and fill out the rest of the cells for the sheet.. (Autofill? I forget the name of it)
The formula you want in the middle column is "MIN(<desired result>/A1,<max value>)", and then the right column will have "A1*B1". In your example:
10 =MIN(20/A1,4) =A1*B1
9 =MIN(20/A2,4) =A2*B2
etc.
Note: You'll have to know ahead of time which product you want in the third column (hence the hard-coded 20), or else you'll have a circular reference.
Posts
Or do you want it to just put both fields together in A3, like for example: A1 and A2 placed together in field A3
A1 A2 A3
99 05 99 05
Kind of confusing, but trying to fully understand the problem. Any specific examples you can provide would be great.
C1 and C3 are constant, you want C2 to be automatic so that it finds the necessary value to multiply by C1 to get what is in C3. If that is the case then just enter this into C2:
=C3/C1
Then just drag the little square at the bottom right and fill out the rest of the cells for the sheet.. (Autofill? I forget the name of it)
etc.
Note: You'll have to know ahead of time which product you want in the third column (hence the hard-coded 20), or else you'll have a circular reference.