Jan 14, 2011 #1 cyreports Programmer May 12, 2010 89 US I need help with a formula. I would like to set ado.rvufee equal to 20% of its normal value if {ado.Mod1}, {ado.Mod2},{ado.Mod3} or {ado.Mod4} equals 80.
I need help with a formula. I would like to set ado.rvufee equal to 20% of its normal value if {ado.Mod1}, {ado.Mod2},{ado.Mod3} or {ado.Mod4} equals 80.
Jan 14, 2011 1 #2 lbass Technical User Feb 9, 2002 32,816 US if {ado.Mod1} = 80 or {ado.Mod2} = 80 or {ado.Mod3} = 80 or {ado.Mod4} = 80 then .2*{ado.rvufee} else {ado.rvufee} -LB Upvote 0 Downvote
if {ado.Mod1} = 80 or {ado.Mod2} = 80 or {ado.Mod3} = 80 or {ado.Mod4} = 80 then .2*{ado.rvufee} else {ado.rvufee} -LB
Jan 14, 2011 1 #3 Turkbear Technical User Mar 22, 2002 8,631 US Hi, If I understand the issue then try Code: If ( {ado.Mod1} = 80 OR {ado.Mod2} = 80 OR {ado.Mod3} = 80 OR {ado.Mod4} = 80 ) Then ado.rvufee * .20 ELSE ado.rvufee To Paraphrase:"The Help you get is proportional to the Help you give.." Upvote 0 Downvote
Hi, If I understand the issue then try Code: If ( {ado.Mod1} = 80 OR {ado.Mod2} = 80 OR {ado.Mod3} = 80 OR {ado.Mod4} = 80 ) Then ado.rvufee * .20 ELSE ado.rvufee To Paraphrase:"The Help you get is proportional to the Help you give.."
Jan 14, 2011 Thread starter #4 cyreports Programmer May 12, 2010 89 US Wow, thank you for the speedy response. It tells me a string is required here and highlights the first 80. Should I enclose it in ' ' or " " ? Upvote 0 Downvote
Wow, thank you for the speedy response. It tells me a string is required here and highlights the first 80. Should I enclose it in ' ' or " " ?
Jan 14, 2011 #5 lbass Technical User Feb 9, 2002 32,816 US Enclose all the 80's in either single or double quotes. -LB Upvote 0 Downvote
Jan 14, 2011 Thread starter #6 cyreports Programmer May 12, 2010 89 US Thank you both! Upvote 0 Downvote