Change the color of a row in a form if criteria is met

Mac1206

Board Regular
Joined
Jun 3, 2016
Messages
184
Can anyone tell me how I can change the color of row data in my form if it meets this criteria and how would I create the query if it already has a select statement that populates the form...

* Distribution Type: In-Service Withdrawal
* Disbursement Amount: $50,000.00 or more
* Disbursement Method: ACH Transfer
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
You could apply the same expression to all controls in the row using conditional formatting ?
Or use Crystal's method.

https://www.youtube.com/watch?v=2ArtsDJrK7k


So, I can apply all 3 criteria's within the expression in conditional formatting and if so, how would I write the expression in order to meet the 3 criteria's:


If any row meets this criteria:
* Distribution Type: In-Service Withdrawal
* Disbursement Amount: $50,000.00 or more
* Disbursement Method: ACH Transfer
Then highlight those specific rows....
 
Upvote 0
It depends on how many controls you have to whether you do it individually or use Crystal's method.? Up to 5 I'd probably do them individually, any more I'd put in the extra control and do it Crystal's way. The expression would be the same either way?

You build the expression just the same as if you did it in VBA but without the If and with []

[Amount] > 50000 AND .......
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,447
Members
448,898
Latest member
drewmorgan128

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top