Pending, In Process or Completed based on condition

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
533
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. If there is any Sunday or Holidays then it will not count that day (I think we can use networkdays or any other)

If all above condition match then in column h, Pending
and if we have received the order then completed

and if A:G have data but order not received and A+7>today() then “In Process”.

Previous Post Here : True or False if condition match
Some questions change so creating new thread.

WhatsApp Image 2023-07-13 at 11.10.55 AM.jpeg
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
sheet are here

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
 
Upvote 0
Try this.
Please note that i think you "pending criteria" should be looking for non bank cells in A:D, not A:G.
Please note that this requires the CNTL-SHFT-ENTR keystroke to enter the formula correctly.

Book2
ABCDEFGHI
1DateOrderP NameQtyOrder Received onRecd. QtyCondition is
2Thu 2023-04-27GivenTEST 1100250Sat 2023-04-29100250Completed1. IF(A+7=TODAY DATE)
3Sat 2023-04-29GivenTEST 2250325Thu 2023-05-04250300Completed2. IF(A+7<TODAY DATE)
4Tue 2023-07-04GivenTEST 3650214PENDING3. IF(F=BLANK)
5Wed 2023-07-05GivenTEST 4956321Mon 2023-07-10956320Completed4. If there is any Sunday or Holidays then it will not count that day (I think we can use networkdays or any other)
6Wed 2023-07-05GivenTEST 5658745In Process
7Thu 2023-07-06GivenTEST 6500In ProcessIf all above condition match then in column h, Pending
8Tue 2023-07-11GivenTEST 754800In Processand if we have received the order then completed
9Wed 2023-07-12GivenTEST 865914In Process
10and if A:G have data but order not received and A+7>today() then “In Process”. I think this should be A:D, I use A:E but count only 4 non blank cells.
Sheet2
Cell Formulas
RangeFormula
H2:H9H2=IF(AND(WORKDAY.INTL(A2,6,"0000011")<TODAY(),F2=""),"PENDING", IF(F2<>"","Completed", IF(SUM(--(A2:E2<>""))=4,"In Process","")))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,133
Messages
6,123,234
Members
449,092
Latest member
SCleaveland

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