What to do to get this formula to work when "Value(txt_WeeklyAdjustment.Text)" is zero? It calculates correctly with any other numbers, just not zero. The actual formula = Adjustment: gal_Monthly.Selected.Adjustment + Value(txt_WeeklyAdjustment.Text)
Solved! Go to Solution.
You can place following formula for Adjustment:
if(Value(txt_WeeklyAdjustment.Text) > 0,gal_Monthly.Selected.Adjustment + Value(txt_WeeklyAdjustment.Text), gal_Monthly.Selected.Adjustment )
Please give a try and let me know if you still have the same issue.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
You can place following formula for Adjustment:
if(Value(txt_WeeklyAdjustment.Text) > 0,gal_Monthly.Selected.Adjustment + Value(txt_WeeklyAdjustment.Text), gal_Monthly.Selected.Adjustment )
Please give a try and let me know if you still have the same issue.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
Consider this:
@eka24 your suggestion does not work.
@rsaikrishna I modified your formula, it is now working. Thanks.
Adjustment: If(
Value(txt_WeeklyAdjustment.Text) <> 0,
gal_Monthly.Selected.Adjustment + Value(txt_WeeklyAdjustment.Text),
gal_Monthly.Selected.Adjustment - gal_Weekly.Selected.Adjustment
)
Btw, the way it treats zero, is it a bug or "By Design?". I like to know the reason if it is "By Design". 🙂
User | Count |
---|---|
124 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
214 | |
181 | |
140 | |
96 | |
83 |