Auto Highlight Cells

exelified

New Member
Joined
Mar 8, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Thanks in Advance:

The objective: Identify each mobile device user (and device) who hasn't used their device (at all) - i.e. no voice min. used and no data used over the past three consecutive months (as defined). Note: This is a monthly report so actual months change.

My column E will contain three consecutive instances of the returned value "Zero Use", sporadically, and as a result of conditions met in the formula below. Ex:

ROW COL E
281 Zero Use
282 Zero Use
283 Zero Use

The Question: In a script, how might I go about finding:

1) each 3 consecutively returned value instances of the term "Zero Use" and
2 then, once found - automatically highlight (relatively) the 3r x 4c just to the left of each instance (or in the case shown with E281) as shown in the attached image

=IF(AND(OR(A281="<12/23/2020",A281="Jan",A281="Feb"),AND(B281=0,C281=0)),"Zero Use","")=IF(AND(OR(A281="<12/23/2020",A281="Jan",A281="Feb"),AND(B281=0,C281=0)),"Zero Use","")

Note:: Formula is set for specific months but I'm thinking that doesn't have to be the case. i.e. any past tree consecutive months will satisfy the requirement.
 

Attachments

  • Conditions Met2.jpg
    Conditions Met2.jpg
    192.5 KB · Views: 33
Circling back around to update Roybzer: Thanks again. Strangely, you managed to get this to work but so far for me, results have been mixed - even using the same example sheet I provided. A screen shot of the "real world" sheet is attached. Can you tell where I've gone astray of your example?
The formula for the helper column in D has to be having issues with either the format of the dates in A or the contents of the cells that contain the usage.

Maybe test each part of the formula in seperate columns, checking =CELL("format", I5) and =SUM(J5:K5), and filling down a few rows to check the outputs.
 
Upvote 0
Solution

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
No worries. Not sure where the discrepancies are, but I'll have a look.

Can you confirm the range that you're using for the conditional format? I see that the screenshot if from row 5, but the original condition was setup from row 3. Range should therefore be $I$7:$K$10000.

I'll have a look at the 'zero use' formula and get back to you.
 
Upvote 0
The formula for the helper column in D has to be having issues with either the format of the dates in A or the contents of the cells that contain the usage.
I believe you may have nailed that theory. Today I discovered "irregularities" with the Data in GB column's cell contents which may be related to unsanitized source data downloaded from a certain wireless carrier's web portal and imported in. I'm seeing multiple / identical values in that column's filter selection dialog box... Sorting, filtering and then filling down same values appears to be fixing the issue. I appreciate your help with the formatting and ungrouping of the dates - meant to mention. That was huge! May be awhile before I can clean up the data and report back. Need to find a data integrity tool of some wort or find a 3rd part tool that can run through a data set to sniff out non-viable data.
 
Upvote 0
I believe you may have nailed that theory. Today I discovered "irregularities" with the Data in GB column's cell contents which may be related to unsanitized source data downloaded from a certain wireless carrier's web portal and imported in. I'm seeing multiple / identical values in that column's filter selection dialog box... Sorting, filtering and then filling down same values appears to be fixing the issue. I appreciate your help with the formatting and ungrouping of the dates - meant to mention. That was huge! May be awhile before I can clean up the data and report back. Need to find a data integrity tool of some wort or find a 3rd part tool that can run through a data set to sniff out non-viable data.
No worries. Glad that it was of some help. Hope you mange to find a solution.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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