Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comapring two number fields with a differnce of 5 <>

Status
Not open for further replies.

mezcalbean

Technical User
Oct 4, 2019
13
AU
Hi trying to work out how to compare two number values but I want to highlight the difference of of 5 less and greater than ?

if{table1} <>5 {table1}} then '1' else '0'

thanks
 
If these are two fields in the same row and you want to highlight values where the absolute value is greater than 5, you could use a formula like this in the color (font color for field or detail section for the entire row) conditional formula area:

If abs(field1-field2)>5 then
Cryellow else
Crnocolor

If you are comparing values of the same field in different rows, the solution would be different.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top