Greetings,
I would like to write a conditional loop that upon meeting the condition(s) will produce a set of variable values to be placed in another sheet.
I would like to be able to produce variables for all instances when a cell value associated with a row (and the counter variable in the loop) is below a threshold, BUT then also produce variable values for the FIRST INSTANCE when the threshold is overcome.
How can I structure a loop so that variable values will be assigned up to the point the threshold is overcome AND at the first point the threshold is overcome?
I am looking for a binary value to be assigned to one of the variables at the moment the threshold is overcome.
I would like to write a conditional loop that upon meeting the condition(s) will produce a set of variable values to be placed in another sheet.
I would like to be able to produce variables for all instances when a cell value associated with a row (and the counter variable in the loop) is below a threshold, BUT then also produce variable values for the FIRST INSTANCE when the threshold is overcome.
How can I structure a loop so that variable values will be assigned up to the point the threshold is overcome AND at the first point the threshold is overcome?
I am looking for a binary value to be assigned to one of the variables at the moment the threshold is overcome.