andrewwglenn
New Member
- Joined
- Sep 3, 2013
- Messages
- 10
I am performing an analysis where I have a value that grows at an unknown, changing rate. My example has two columns. The first is periods of time (t), incremented by 1. The second contains the increasing value. The value (i) at t0 = 1. For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]0[/TD]
[TD]1.00[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.05[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1.07[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1.16[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1.34[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1.87[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]2.15[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]2.41[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]3.36[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]4.10[/TD]
[/TR]
</tbody>[/TABLE]
Assuming the above table is positioned at A1:B10, how can I write one formula that will format all cells where the value is the first that has passed a "doubling" of i (in this case: 2, 4, 8, etc.), or where: x (is the first value that is) >= i * 2^n?
In my example, t = 6, 9 would be considered TRUE.
I hope this question is clear. Currently, I have 10 conditional expressions to account for the first 10 "doublings", but I would like to perform the operation with a single formula, if possible (probably is).
Cheers!
Andrew
[TABLE="width: 500"]
<tbody>[TR]
[TD]0[/TD]
[TD]1.00[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1.05[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1.07[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1.16[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1.34[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1.87[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]2.15[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]2.41[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]3.36[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]4.10[/TD]
[/TR]
</tbody>[/TABLE]
Assuming the above table is positioned at A1:B10, how can I write one formula that will format all cells where the value is the first that has passed a "doubling" of i (in this case: 2, 4, 8, etc.), or where: x (is the first value that is) >= i * 2^n?
In my example, t = 6, 9 would be considered TRUE.
I hope this question is clear. Currently, I have 10 conditional expressions to account for the first 10 "doublings", but I would like to perform the operation with a single formula, if possible (probably is).
Cheers!
Andrew