kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
Hello and merry Christmas to you (if you do celebrate it)
I need help with this challenge :
There are these 9 textboxes on my userform that I want to add values from six of them and place the result in the 10th textbox.
Now these are the rules for the summing :
1. Add the first 4 boxes if all first 4 are none empty. Then added the first two smallest values from the rest of the textboxes.
2. If one of the first 4 boxes is empty then add the three none empty ones and add first three smallest values from the remaining textboxes.
3. If two boxes are empty from the first 4 textboxes then add the two none empty and add first 4 smallest values of the rest of the textboxes. This should follow in that order.
I am stacked with the algorithm.
I have the feeling someone here can fix it for me.
Thanks in advance
Kelly
I need help with this challenge :
There are these 9 textboxes on my userform that I want to add values from six of them and place the result in the 10th textbox.
Now these are the rules for the summing :
1. Add the first 4 boxes if all first 4 are none empty. Then added the first two smallest values from the rest of the textboxes.
2. If one of the first 4 boxes is empty then add the three none empty ones and add first three smallest values from the remaining textboxes.
3. If two boxes are empty from the first 4 textboxes then add the two none empty and add first 4 smallest values of the rest of the textboxes. This should follow in that order.
I am stacked with the algorithm.
I have the feeling someone here can fix it for me.
Thanks in advance
Kelly