greenfortyguy
New Member
- Joined
- Sep 7, 2017
- Messages
- 13
Hello,
I am trying to write a formula that will perform the following function, and drag down a column:
This is an example of the result I'm looking for:
[TABLE="width: 365"]
<colgroup><col span="2" style="text-align: center;"><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]25,034[/TD]
[TD="align: center"]4,966[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,991[/TD]
[TD="align: center"]5,009[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,946[/TD]
[TD="align: center"]5,054[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,873[/TD]
[TD="align: center"]5,127[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,820[/TD]
[TD="align: center"]5,180[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]30,000[/TD]
[TD="align: center"]-3,682[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]33,628[/TD]
[TD="align: center"]-3,628[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]33,561[/TD]
[TD="align: center"]67[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]33,495[/TD]
[TD="align: center"]133[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]29,759[/TD]
[TD="align: center"]187[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]29,700[/TD]
[TD="align: center"]246[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Guy
I am trying to write a formula that will perform the following function, and drag down a column:
- IF the value in column K is <0, the value in the same row of column I is the equivalent positive.
- The values in column I remain as a maximum.
This is an example of the result I'm looking for:
[TABLE="width: 365"]
<colgroup><col span="2" style="text-align: center;"><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]25,034[/TD]
[TD="align: center"]4,966[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,991[/TD]
[TD="align: center"]5,009[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,946[/TD]
[TD="align: center"]5,054[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,873[/TD]
[TD="align: center"]5,127[/TD]
[/TR]
[TR]
[TD="align: center"]0[/TD]
[TD="align: center"]24,820[/TD]
[TD="align: center"]5,180[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]30,000[/TD]
[TD="align: center"]-3,682[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]33,628[/TD]
[TD="align: center"]-3,628[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]33,561[/TD]
[TD="align: center"]67[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]33,495[/TD]
[TD="align: center"]133[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]29,759[/TD]
[TD="align: center"]187[/TD]
[/TR]
[TR]
[TD="align: center"]3682[/TD]
[TD="align: center"]29,700[/TD]
[TD="align: center"]246[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Guy