Forum Discussion

Herston4006's avatar
Herston4006
Copper Contributor
Jun 19, 2023

What Assets have been service but not on the schedule?

Hi, I hope you can help please.

i have two excel spread sheets, DATA1 and DATA2.

DATA1 shows a service schedule for a set of ASSETS which are being serviced for three different SITES.

DATA2 shows the results of the services of the ASSETS over the different SITES.

Issue to show is, ASSETS may be serviced (DATA2), however it is not listed in the service schedule DATA1. Example, ASSET BB was serviced (DATA2) at SITE 22 but was not listed to be serviced in the service schedule DATA1.

How do I highlight this in DATA1 to show which ASSETS are serviced but not listed in the service schedule DATA1? Highlighted in a Pivot Table.

A Pivot Table is created so I can present what ASSETS are being serviced but are not in the service schedule.

DATA2 - Service Results

SITEASSETASSET NUMBERSTATUS
11AA2500Active
11BB2599Active
11CC4903Decommission
22AA2802Active
22BB1009Active
22CC8999Active
33AA2763Active
33BB3890Active
33CC4362Active

 

DATA1 - Service Schedule

ASSTSITESCHEDULE DATE
AA111/04/2023
BB111/04/2023
CC111/04/2023
AA221/06/2023
BB22 
CC221/06/2023
AA331/08/2023
BB331/08/2023
CC331/08/2023
  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    Herston4006 

    Here is an example file as far as I understand it.

    Method:

    First open a new column in DATA1 and enter this formula:

    =IF(AND(COUNTIFS(DATA2!$B:$B, $A2, DATA2!$A:$A, "<>"&$B2)>0, $C2=""), "Serviced, Not Scheduled", "")

    Then from D2 selected all cells below and opened a new rule in conditional formatting and enter this formula:

    =D2<>""

     

    In the sample file you can see how it is structured.

     

    I hope that I understood the task correctly and that it helps you.

     

Resources