Hi all,
It's my first post here; I have used solutions from this forum and others for various Excel issues over the years but this one I cannot seem to crack or find the answer to! Please help!!
My general Excel skills are pretty good, but I have been unable to solve this issue using formulas. I think it calls for VBA, which I am very poor at, so hoping for some help! I am trying to make my spreadsheet constantly monitor and compare two values, one in A1 and one in A2; A1 is fixed, but A2 is generated by some iterative calculations based on other equations which are continually changing. Things get quite complex because the value of A2 is a function of A4, and A4 is the value that I wish to be iterated as per below:
I would like the spreadsheet to iteratively reduce the value in A4, starting from a reference value held in A3, by increments of 0.01 in order to keep A2 < A1, always looking for the HIGHEST value that will keep A2 < A1; A4 must remain > 0, so essentially the required value will be somewhere between the reference value in A3 and 0.01. If A2 cannot be made < A1 by the time the value reaches 0.01, then it will simply start the sequence from the value in A3 again and keep searching. This should carry on over and over for as long as the spreadsheet is open.
I hope this makes sense! I really don't know where to start with this!
Many thanks
Ace
It's my first post here; I have used solutions from this forum and others for various Excel issues over the years but this one I cannot seem to crack or find the answer to! Please help!!
My general Excel skills are pretty good, but I have been unable to solve this issue using formulas. I think it calls for VBA, which I am very poor at, so hoping for some help! I am trying to make my spreadsheet constantly monitor and compare two values, one in A1 and one in A2; A1 is fixed, but A2 is generated by some iterative calculations based on other equations which are continually changing. Things get quite complex because the value of A2 is a function of A4, and A4 is the value that I wish to be iterated as per below:
I would like the spreadsheet to iteratively reduce the value in A4, starting from a reference value held in A3, by increments of 0.01 in order to keep A2 < A1, always looking for the HIGHEST value that will keep A2 < A1; A4 must remain > 0, so essentially the required value will be somewhere between the reference value in A3 and 0.01. If A2 cannot be made < A1 by the time the value reaches 0.01, then it will simply start the sequence from the value in A3 again and keep searching. This should carry on over and over for as long as the spreadsheet is open.
I hope this makes sense! I really don't know where to start with this!
Many thanks
Ace