conditional Formatting or VBA Question

steve400243

Active Member
Joined
Sep 15, 2016
Messages
429
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello, I need to get the best way to have the attached update the Status Column from NOT AVAILABLE, To AVAILABLE, and to COMPLETE. Once the 4 Needed Documents( Columns H, I, J, K) are all entered in the Status would change to AVAILABLE. And be Green, Would be red and Not Available until then. After all columns are used in the row Status would change to Complete and be Purple. This could have several Housebills. I have 3 listed for reference. Thanks in advance.

TEST SHEET.xlsx
ABCDEFGHIJKLMNOP
1Vessel:Container:Master Bill:
2APL QINGDAOOOLU123456789COSU6363636363
3
4Packet Received:ETA Date:Container Released:Container ReceivedDevanned On: Storage 7th Day:Storage 12th Day:
51-Sep-20211-Sep-20213-Sep-20213-Sep-20213-Sep-20219-Sep-202114-Sep-2021
6
7Housebill:Status:Office:Customer:Mode:Cartons:CBM:Customs Release:OBL Notification:Entry:DO Received:Pickup Date:Released to:PRO:Shipper PLTSWHSE PLTS
8ABCD123456789AVAILABLESEAABC CORPFMM1510.54-Sep4-Sep799-123456784-Sep
9ABCD123456790NOT AVAILABLESEAABC CORPFMM1510.54-Sep4-Sep
10ABCD123456791COMPLETESEAABC CORPFMM1510.54-Sep4-Sep799-123456784-Sep4-SepTruck12345678-955
Sheet2
Cell Formulas
RangeFormula
F5F5=E5+6
G5G5=E5+11
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Book2
ABCDEFGHIJKLMNOP
1Vessel:Container:Master Bill:
2APL QINGDAOOOLU123456789COSU6363636363
3
4Packet Received:ETA Date:Container Released:Container ReceivedDevanned On: Storage 7th Day:Storage 12th Day:
59/1/20219/1/20219/3/20219/3/20219/3/20219/9/20219/14/2021
6
7Housebill:Status:Office:Customer:Mode:Cartons:CBM:Customs Release:OBL Notification:Entry:DO Received:Pickup Date:Released to:PRO:Shipper PLTSWHSE PLTS
8ABCD123456789AVAILABLESEAABC CORPFMM1510.59/4/20219/4/2021799-123456789/4/2021
9ABCD123456790NOT AVAILABLESEAABC CORPFMM1510.59/4/20219/4/2021
10ABCD123456791COMPLETESEAABC CORPFMM1510.59/4/20219/4/2021799-123456789/4/20219/4/2021Truck12345678-955
Sheet7
Cell Formulas
RangeFormula
F5F5=E5+6
G5G5=E5+11
B8:B10B8=IF(SUMPRODUCT(--(C8:P8<>""))=14,"COMPLETE",IF(SUMPRODUCT(--(H8:K8<>""))=4, "AVAILABLE","NOT AVAILABLE"))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B8:B10Expression=B8="COMPLETE"textNO
B8:B10Expression=B8="NOT AVAILABLE"textNO
B8:B10Expression=B8="AVAILABLE"textNO
 
Upvote 0
Solution
Book2
ABCDEFGHIJKLMNOP
1Vessel:Container:Master Bill:
2APL QINGDAOOOLU123456789COSU6363636363
3
4Packet Received:ETA Date:Container Released:Container ReceivedDevanned On: Storage 7th Day:Storage 12th Day:
59/1/20219/1/20219/3/20219/3/20219/3/20219/9/20219/14/2021
6
7Housebill:Status:Office:Customer:Mode:Cartons:CBM:Customs Release:OBL Notification:Entry:DO Received:Pickup Date:Released to:PRO:Shipper PLTSWHSE PLTS
8ABCD123456789AVAILABLESEAABC CORPFMM1510.59/4/20219/4/2021799-123456789/4/2021
9ABCD123456790NOT AVAILABLESEAABC CORPFMM1510.59/4/20219/4/2021
10ABCD123456791COMPLETESEAABC CORPFMM1510.59/4/20219/4/2021799-123456789/4/20219/4/2021Truck12345678-955
Sheet7
Cell Formulas
RangeFormula
F5F5=E5+6
G5G5=E5+11
B8:B10B8=IF(SUMPRODUCT(--(C8:P8<>""))=14,"COMPLETE",IF(SUMPRODUCT(--(H8:K8<>""))=4, "AVAILABLE","NOT AVAILABLE"))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B8:B10Expression=B8="COMPLETE"textNO
B8:B10Expression=B8="NOT AVAILABLE"textNO
B8:B10Expression=B8="AVAILABLE"textNO
Thank you. I will check it out tomorrow. Decided to take a long weekend away!
 
Upvote 0
Thank you JGordon - I appreciate the help! Works as needed.
This means post #2 is the answer and it should be marked as the solution, but you accidentally marked your last post as the solution. So I changed the marked solution accordingly.

In the future, please mark the post as the solution that answered your question. You can also mark your own post as the solution as long as you answer your own question.
 
Upvote 0
This means post #2 is the answer and it should be marked as the solution, but you accidentally marked your last post as the solution. So I changed the marked solution accordingly.

In the future, please mark the post as the solution that answered your question. You can also mark your own post as the solution as long as you answer your own question.
Thank you making that correction. I will mark correctly in the future!
 
Upvote 0

Forum statistics

Threads
1,214,388
Messages
6,119,229
Members
448,879
Latest member
VanGirl

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