How to change cell colors when another cell is affected

samk379

New Member
Joined
Nov 8, 2024
Messages
16
Office Version
  1. 2021
Platform
  1. Windows
I'm working on setting up a work order tracking system for a small shop. I was able to get to the point where an order is scanned and then the location is scanned and that data is inputted into a table (the two-column table on the right side of the sheet). I also have another table set up that is a better visual measure of progress. If order RD0001 is at the DRILL station, for example, the cell at the intersection of the RD0001 row and the DRILL column fills green. Right now, when the order moves along to the next step, it blanks the previous cell and fills in the cell of the new location. Is there a way I can make it so that the previous cell fills in black so that we could see which orders required which steps? I am also wondering if there is a way that when an order is scanned as complete, the date and/or time of that scan shows in the COMPLETE column, but this is less important to the system function.

Any help would be greatly appreciated, thank you!
Work Order Status Sheet.XLSX
ABCDEFGHIJKLMNOPQRSTUV
1Barcode ReaderStart in B3
2
3Order
4Location
5
6
7Order NumberDateDue DateCNCPLASMADEBURRPRESSBRAKESAWLATHE1LATHE2MACHININGDRILLTACKWELD1WELD2GRINDPAINTASSEMBLYCOMPLETEOrderLocation
8TFD0012TFD0012CNCPLASMA
9CHD0036CHD0036DEBURR
10GD0009GD0009SAW
11LE0012LE0012PRESSBRAKE
12RR0001RR0001LATHE2
13RD0001RD0001DRILL
14HT0001HT0001MACHINING
15
16
17
18
19
20
21
22
23
Reader
Cells with Conditional Formatting
CellConditionCell FormatStop If True
R8:R1613Expression=V8="ASSEMBLY"textNO
Q8:Q1613Expression=V8="PAINT"textNO
S8:S1613Expression=V8="COMPLETE"textNO
P8:P1613Expression=V8="GRIND"textNO
O8:O1613Expression=V8="WELD2"textNO
N8:N1613Expression=V8="WELD1"textNO
M8:M1613Expression=V8="TACK"textNO
L8:L1613Expression=V8="DRILL"textNO
K8:K1613Expression=V8="MACHINING"textNO
J8:J1613Expression=V8="LATHE2"textNO
I8:I1613Expression=V8="LATHE1"textNO
H8:H1613Expression=V8="SAW"textNO
G8:G1613Expression=V8="PRESSBRAKE"textNO
F8:F1613Expression=V8="DEBURR"textNO
E8:E1613Expression=V8="CNCPLASMA"textNO
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi and welcome to MrExcel.

Do you need this?
varios 08nov2024.xlsm
ABCDEFGHIJKLMNOPQRSTUV
1Barcode ReaderStart in B3
2
3Order
4Location
5
6
7Order NumberDateDue DateCNCPLASMADEBURRPRESSBRAKESAWLATHE1LATHE2MACHININGDRILLTACKWELD1WELD2GRINDPAINTASSEMBLYCOMPLETEOrderLocation
8TFD0012TFD0012CNCPLASMA
9CHD0036CHD0036DEBURR
10GD0009GD0009SAW
11LE0012LE0012PRESSBRAKE
12RR0001RR0001LATHE2
13RD0001RD0001DRILL
14HT0001HT0001MACHINING
15
16
Hoja6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E8:S1000Expression=COLUMN()<MATCH($V8,$A$7:$S$7,0)textNO
E8:S1000Expression=VLOOKUP($B8,$U:$V,2,0)=E$7textNO
 
Upvote 0
Hi and welcome to MrExcel.

Do you need this?
varios 08nov2024.xlsm
ABCDEFGHIJKLMNOPQRSTUV
1Barcode ReaderStart in B3
2
3Order
4Location
5
6
7Order NumberDateDue DateCNCPLASMADEBURRPRESSBRAKESAWLATHE1LATHE2MACHININGDRILLTACKWELD1WELD2GRINDPAINTASSEMBLYCOMPLETEOrderLocation
8TFD0012TFD0012CNCPLASMA
9CHD0036CHD0036DEBURR
10GD0009GD0009SAW
11LE0012LE0012PRESSBRAKE
12RR0001RR0001LATHE2
13RD0001RD0001DRILL
14HT0001HT0001MACHINING
15
16
Hoja6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E8:S1000Expression=COLUMN()<MATCH($V8,$A$7:$S$7,0)textNO
E8:S1000Expression=VLOOKUP($B8,$U:$V,2,0)=E$7textNO
I need something very similar. Some orders might not require every step, so you might have an order that only requires SAW, DRILL, WELD, and ASSEMBLY. I'd like it where it's green when it's at saw, then when it moves to drill, the saw column goes black and drill goes green, and so on.
 
Upvote 0
I need something very similar. Some orders might not require every step, so you might have an order that only requires SAW, DRILL, WELD, and ASSEMBLY. I'd like it where it's green when it's at saw, then when it moves to drill, the saw column goes black and drill goes green, and so on.
You can explain each example with an image.
Fill the cells manually with colors simulating conditional formatting.
If you have exceptional cases, then explain each of these cases with a different image.
 
Upvote 0
You can explain each example with an image.
Fill the cells manually with colors simulating conditional formatting.
If you have exceptional cases, then explain each of these cases with a different image.
Work Order Status Sheet.XLSX
ABCDEFGHIJKLMNOPQRSTUV
1Barcode ReaderStart in B3
2
3Order
4Location
5
6
7Order NumberDateDue DateCNCPLASMADEBURRPRESSBRAKESAWLATHE1LATHE2MACHININGDRILLTACKWELD1WELD2GRINDPAINTASSEMBLYCOMPLETEOrderLocation
8TFD0012TFD0012COMPLETE
9CHD0036CHD0036ASSEMBLY
10GD0009GD0009COMPLETE
Reader
Cells with Conditional Formatting
CellConditionCell FormatStop If True
R8:R1613Expression=V8="ASSEMBLY"textNO
Q8:Q1613Expression=V8="PAINT"textNO
S8:S1613Expression=V8="COMPLETE"textNO
P8:P1613Expression=V8="GRIND"textNO
O8:O1613Expression=V8="WELD2"textNO
N8:N1613Expression=V8="WELD1"textNO
M8:M1613Expression=V8="TACK"textNO
L8:L1613Expression=V8="DRILL"textNO
K8:K1613Expression=V8="MACHINING"textNO
J8:J1613Expression=V8="LATHE2"textNO
I8:I1613Expression=V8="LATHE1"textNO
H8:H1613Expression=V8="SAW"textNO
G8:G1613Expression=V8="PRESSBRAKE"textNO
F8:F1613Expression=V8="DEBURR"textNO
E8:E1613Expression=V8="CNCPLASMA"textNO

I would like it so it only fills in the steps that were required for the job, rather than every step before the current step, if possible.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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