Auto convert a cell to absolute on 'met IF condition'? (possible solution)

Markexsel

New Member
Joined
Dec 21, 2013
Messages
1
=IF(OR(R35<0),((S35*U35)+AF34),(AB35-(AD35*R35)))
=IF(OR(R36<0),((S36*U36)+AF35),(AB36-(AD36*R36)))
=IF(OR(R37<0),((S37*U37)+AF36),(AB37-(AD37*R37)))

The objective is to create a form utility, requiring only initial input.
The output will be at least 2 columns of 100 rows: 1 - 100% against the calculated values per increment.

Currently AF is the output column, and the above formula is written into the AF cells.
AF is initially filled by (AB37-(AD37*R37), until R37<0.

Therefore the final output of (AB37-(AD37*R37) is held in AF36 (in this case).
Thereafter I effectively need this:

AF37 value = ((S37*U37)+$AF$36)
AF38 value = ((S38*U38)+$AF$36)
AF39 value = ((S39*U39)+$AF$36)

Thoughts:
Using a single repository cell.

=IF(OR(R35<0),((S35*U35)+$ZZ$1),((AB35-(AD35*R35))COPY VALUE TO $ZZ$1))
=IF(OR(R36<0),((S36*U36)+$ZZ$1),((AB36-(AD36*R36))COPY VALUE TO $ZZ$1))
=IF(OR(R37<0),((S37*U37)+$ZZ$1),((AB37-(AD37*R37))COPY VALUE TO $ZZ$1)) condition met

I don't as yet know the COPY TO function - I'm trying to figure this out as I type & share the problem with you.

Something like this would ensure that the final value in ZZ1 would be that of AF36.

If this is a neat way of solving this problem, does anybody know a neat way of writing:
((AB37-(AD37*R37))COPY VALUE TO $ZZ$1))

There will be 'one more' similar change around row 75, but primarily I'd like to see how this problem can be fundamentally solved.
Searching the web has got me nowhere, so perhaps the title will help others in the future.
We'll deal with any complex nesting required when I've figured out how the final set of calculations need to function.

:)
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top