True or False if condition match

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
543
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Web
Hi we have the following sheet where we want to track work is pending or not when date is over

Condition is
1. IF(A+7=TODAY DATE)
2. IF(A+7<TODAY DATE)
3. IF(F=BLANK)
4. Formula will not count Sunday or Holidays

if all above condition match then in column h, Pending otherwise Completed

In second want to add a conditional formatting if the above condition match then that row will be red

New Microsoft Excel Worksheet - Copy (version 1).xlsb
ABCDEFG
1DateOrderP NameQtyOrder Received onRecd. Qty
227/4/2023GivenTEST 1100,25029/4/2023100,250
329/4/2023GivenTEST 2250,3254/5/2023250,300
44/7/2023GivenTEST 3650214
55/7/2023GivenTEST 495632110/7/2023956320
65/7/2023GivenTEST 5658,745
76/7/2023GivenTEST 6500
811/7/2023GivenTEST 754800
912/7/2023GivenTEST 865,914
Sheet4
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try:
Book4
ABCDEFGH
1DateOrderP NameQtyOrder Received onRecd. Qty
24/27/2023GivenTEST 11002504/29/2023100250Complete
34/29/2023GivenTEST 22503255/4/2023250300Complete
47/4/2023GivenTEST 3650214Pending
57/5/2023GivenTEST 49563217/10/2023956320Complete
67/5/2023GivenTEST 5658745Pending
77/6/2023GivenTEST 6500Complete
87/11/2023GivenTEST 754800Complete
97/12/2023GivenTEST 865914Complete
Sheet6
Cell Formulas
RangeFormula
H2:H9H2=IF(AND(A2+7<=TODAY(),F2=""),"Pending","Complete")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:H9Expression=$H2="Pending"textNO
 
Upvote 0
Solution
Thanks AhoyNC,

Sorry if I mentioned wrong, but if there is a Sunday then it will show wrong, how can we rectify that

Thanks
 
Upvote 0
What do you want if a Sunday? What should be returned?
Not sure what you mean by "4. Formula will not count Sunday or Holidays".
 
Upvote 0
we are using A2+7
In A2 date is 27th April 2023 and if we add seven days it will be 4th May 2023 but there is a Sunday on 30th April 2023

so that we want if there is any Sunday then it will add one more day formula
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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