Can you change the color or formatting of a cell based on the value of a cell on a different page?

patfanrj

New Member
Joined
Sep 20, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello! My workbook is being used to track production for a specific task. There can be up to four different segments that can be invoiced for at one point, but sometimes, one or many of those may have already been invoiced. Right now, I have my main page which is keeping track of those individual segments, and then if some of them have been billed, I have to break said production into a new row and create a duplicate row of only what has NOT been billed.

Anyways, I have several pages being used for VLOOKUP formulas. Once I have a row completely filled out, I then have to go to another sheet and Ctrl+F a given segment name and see if it has been billed. I need a formula that will take my info from Columns D, G, J and M from Sheet 1, and then search for that segment in Column F on Sheet 2. If that segment has a match on Sheet 2, and if Column R says "YES", then it changes the format or text/cell color of the cell on Sheet 1 so that I know it has been invoiced previously. Is there a way to do this?

LAS 3GIS Connections Invoicing.xlsx
ABCDEFGHIJKLMNOPQR
1DateHubSite Span NFID AFQNID AA FootageSite Span NFID BFQNID BB FootageSite Span NFID CFQNID CC FootageSite Span NFID DFQNID DD FootageSplice FQNIDCut SheetDone?Invoiced?
29/8/2021Santa Ana MTSONot FoundFIB:BUR::500339569260.607779481709ACAT.022FIB:BUR::763503814959.20895045N/AN/AN/AN/AN/AN/AFIB:SPLCL::500022094SA MTSO_MH RED CABLE_CUT SHEET.xlsxYesNo
39/8/2021Santa Ana MTSONot FoundFIB:BUR::500339199260.607779481804BDBF.1FIB:BUR::50052329728.51819872N/AN/AN/AN/AN/AN/AFIB:SPLCL::500022094SA MTSO_ MH PINK CABLE_CUT SHEET.xlsxYesNo
49/8/2021Santa Ana MTSO1804BDBF.1FIB:BUR::50052329728.518198721709ACBJ.046FIB:AER::5002153963868.73856576N/AN/AN/AN/AN/AN/AFIB:TRNSPLC::500374210N/A (Other Side of Pink Cable)YesNo
59/8/2021Santa Ana MTSO1709ACAT.016FIB:BUR::76350410181.385660781709ACAT.017FIB:BUR::76350320510.287421111709ACAT.016FIB:BUR::500067181263.61187139N/AN/AN/AFIB:SPLCL::500054857TALBERT AVE - BUSHARD ST _ CUT SHEET.xlsxYesNo
69/8/2021Santa Ana MTSO1709ACBJ.042FIB:BUR::50052411228.518198721709ACBJ.031FIB:AER::50043095510146.64005522N/AN/AN/AN/AN/AN/AFIB:TRNSPLC::500374210N/A (Olive Cable Outside Hub)YesNo
79/8/2021Santa Ana MTSO1709ACAT.028FIB:AER::763503932800.163658301709ACBJ.037FIB:AER::760007884070.61290782N/AN/AN/A1709ACAT.028FIB:BUR::7635039235.73569070FIB:SPLCL::500148666WARNER AVE - FLOWER ST_CUT SHEET_.xlsxNoNo
89/8/2021Santa Ana MTSO1709ACBJ.016FIB:AER::76350537983.632316051709ACBJ.016FIB:BUR::763505361139.55990302N/AN/AN/AN/AN/AN/AFIB:SPLCL::500274662WASHINGTON AVE - BROADWAY _ CUT SHEET.xlsxYesNo
Data Inputs
Cell Formulas
RangeFormula
C2:C8C2=IF(ISNA(VLOOKUP(D2,'3GIS 09-16-21'!A:BW,61,FALSE)),"Not Found",VLOOKUP(D2,'3GIS 09-16-21'!A:BW,61,FALSE))
F2:F8F2=IF(ISNA(VLOOKUP(G2,'3GIS 09-16-21'!A:BW,61,FALSE)),"Not Found",VLOOKUP(G2,'3GIS 09-16-21'!A:BW,61,FALSE))
I2:I8I2=IF(ISNA(VLOOKUP(J2,'3GIS 09-16-21'!A:BW,61,FALSE)),"Not Found",VLOOKUP(J2,'3GIS 09-16-21'!A:BW,61,FALSE))
L2:L8L2=IF(ISNA(VLOOKUP(M2,'3GIS 09-16-21'!A:BW,61,FALSE)),"Not Found",VLOOKUP(M2,'3GIS 09-16-21'!A:BW,61,FALSE))
Named Ranges
NameRefers ToCells
'3GIS 09-16-21'!_FilterDatabase='3GIS 09-16-21'!$A$1:$BW$5291L2:L8, I2:I8, F2:F8, C2:C8
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1:C62,F1:F62,I1:I62,L1:L62,L80,I80,F80,C80,C82:C1048576,F82:F1048576,I82:I1048576,L82:L1048576,L64:L78,I64:I78,F64:F78,C64:C78Cell Valuecontains "Not Found"textNO
O160:O162,O1:O62,O164,O166,O168,O170,O172,O74:O75,O77:O78,O88:O158,O175:O1048576,O80,O82:O86,O64:O72Cell Valuecontains "TRNSPLC"textNO


LAS 3GIS Connections Invoicing.xlsx
BCDEFGHIJKLMQR
1WORK ORDERHUBCityCountyFQN IDSite Span NFIDCluster Ring NFIDCalculated LengthFiber CountInventory Status CodeNetwork TypeFIBER CONNECTIONSProductionBilled
2LSA_S_1709ACAV_017_SCL_ORANGE_MALL_G1ASTORIAOrangeOrangeFIB:AER::760002741709ACAV.0171709ACAV1,763.16432ProposedFrontHaulTRUE01/18/2021YES
3LSA_S_1709ACAV_017_SCL_ORANGE_MALL_G1ASTORIAOrangeOrangeFIB:AER::760002761709ACAV.0171709ACAV1,793.88432ProposedFrontHaulTRUE01/18/2021YES
4LSA_S_1709ACAV_017_SCL_ORANGE_MALL_G1ASTORIAOrangeOrangeFIB:BUR::5004389071709ACAV.0171709ACAV10.99432ProposedFrontHaulTRUE01/18/2021YES
5LSA_S_1709ACAV_017_SCL_ORANGE_MALL_G1ASTORIAOrangeOrangeFIB:TAIL::5002713911709ACAV.0171709ACAV3.1324ProposedFrontHaulTRUE01/18/2021YES
6LSA_S_1709ACAV_008_SCL_AUBURN_G2ASTORIAAnaheimOrangeFIB:BUR::760002861709ACAV.0081709ACAV2,615.15864ProposedFrontHaulTRUE01/20/2021YES
7LSA_S_1709ACAV_008_SCL_AUBURN_G2ASTORIAAnaheimOrangeFIB:TAIL::5002991781709ACAV.0081709ACAV303.6424ProposedFrontHaulTRUE01/20/2021YES
8LSA_S_1709ACAI_025_IMPERIAL_CYNASTORIAAnaheimOrangeFIB:BUR::5000152391709ACAI.0251709ACAI2,035.00432ProposedFrontHaulTRUE01/20/2021YES
9LSA_S_1709ACAI_025_IMPERIAL_CYNASTORIAAnaheimOrangeFIB:BUR::760002931709ACAI.0251709ACAI254.08432ProposedFrontHaulTRUE01/20/2021YES
10LSA_S_1709ACAI_31_SCL_ANAHEIM_100ASTORIAAnaheimOrangeFIB:BUR::5000153331709ACAI.311709ACAI2,309.16432ProposedFrontHaulTRUE01/21/2021YES
11LSA_S_1709ACAV_002_SCL_ANAHEIM_85ASTORIAAnaheimOrangeFIB:BUR::760002891709ACAV.0021709ACAV876.41432ProposedFrontHaulTRUE01/21/2021YES
12LSA_S_1709ACAV_002_SCL_ANAHEIM_85ASTORIAAnaheimOrangeFIB:BUR::760003031709ACAV.0021709ACAV726.09432ProposedFrontHaulTRUE01/21/2021YES
13LSA_S_1709ACAV_003_SCL_ANAHEIM_86ASTORIAAnaheimOrangeFIB:BUR::760002981709ACAV.0031709ACAV1,951.00432ProposedFrontHaulTRUE01/21/2021YES
14LSA_S_1709ACAV_003_SCL_ANAHEIM_86ASTORIAAnaheimOrangeFIB:BUR::766375841709ACAV.0031709ACAV536.5172ProposedFrontHaulTRUE01/21/2021YES
Fiber Connections
Cell Formulas
RangeFormula
D2:D14D2=INDEX('C:\Users\rjgab\Downloads\[LA SOUTH COMPLETE TRACKER.xlsx]VLOOKUP SHEET'!E:E,MATCH(G2,'C:\Users\rjgab\Downloads\[LA SOUTH COMPLETE TRACKER.xlsx]VLOOKUP SHEET'!F:F,0))
E2:E14E2=INDEX('C:\Users\rjgab\Downloads\[LA SOUTH COMPLETE TRACKER.xlsx]VLOOKUP SHEET'!D:D,MATCH(G2,'C:\Users\rjgab\Downloads\[LA SOUTH COMPLETE TRACKER.xlsx]VLOOKUP SHEET'!F:F,0))
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
In answer to your title - yes you can
But i dont follow the examples you gave
i dont know what sheet1 is
anyway
Columns D, G, J and M from Sheet 1
then
Search in column F

sorry no idea

BUT you can use a COUNTIFS() to see if the value exists to use in conditional formatting
not sure what a segment is

COUNTIFS( range in lookup sheet , value in D , range in lookup sheet , "YES" )
then see if its >0
and colour

conditional formatting rule, would be
=COUNTIFS( range in lookup sheet , value in D , range in lookup sheet , "YES" ) > 0

perhaps a simple sheet would help , with expected results shown
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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