conditional formatting formula help

Rockerdo

Board Regular
Joined
Aug 15, 2016
Messages
73
I have a complicated spread sheet I am working on.

I've done well with it except I need some assistance on the conditional formatting.

Based on the contract provisions what gets billed is based on time. There is a long list of services typically not billed together. If they are, a modifier code is added to explain why.All services provided must be listed even if not billed since time is important as is tracking what was done

So all the services provided are entered it sums at the bottom and indicates how much can be billed based on the times that were put in by the person then completes indicating how they wish to bill.

The formatting is set so if two services typically not billed together are, the modifier box will turn orange indicating a modifier reason code must be chosen.

the boxes turning orange when needed works. However, if they chose not to bill one of the services that is in the list they no longer need the modifier.
I need the orange box to go away if that other service is put as a 0 so we don't put modifiers that are not needed.


They could appear anywhere in the list of services so I can't simply say if the box below is 0 don't turn orange.


14n0c44.jpg
[/IMG]

Above is the sample. 2 units are billed for service A and 0 for the other 2 since very little time was spent doing those services. It is up to the person who does the form how they want to assign the units depending on how many are allowed.

conditional format formulas:

the formula for the cell to turn orange
=AND($AT43<>"No",$B43="",OR($K<wbr style="font-family: arial, sans-serif; font-size: 12.8px;">43>0,$K43="")) applies to: =$B$43:$G$52

to turn grey
Grey for modifier =OR(AND($AT43="No",$H43<>""),A<wbr style="font-family: arial, sans-serif; font-size: 12.8px;">ND($K43=0,$B43="",$A43<>"")) applies to =$B$43:$G$52


if needed this the the lookup formula referenced as cell AT
AT formula: =IF(ISERROR(MATCH(T50,$AS$13:$<wbr>AS$348,FALSE)),"No",MATCH(T50,<wbr>$AS$13:$AS$348,FALSE))


The table for the lookup is large and fairly complicated .

How do I get if they choose 0 for one of the paired codes it goes back grey? in this example service W and service A are considered pairs not typically billed. If they are, service A needs a modifier reason code. Since they are choosing not to bill W, since it was only a few minutes, a modifier is not needed ---but the box is still orange. The user might still put the modifier in since the sheet says any red or orange cells need to be addressed before going to the next date. Putting a NA in the drop down isn't going to help as it still stays orange

any help is appreciated
Thank you!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,216,075
Messages
6,128,660
Members
449,462
Latest member
Chislobog

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