How to make this formula show "PENDING"?

Marq

Well-known Member
Joined
Dec 13, 2004
Messages
914
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
Below is a formula I have in a cell that calculates based on choices made from two drop down menus....the drop downs have the word "PENDING" when nothing as been chosen yet.

How do I made the cell that the formula is in show "PENDING" when either D3 or D4 (or both) are in PENDING status?

Right now the cell shows "FALSE" when D3 and D4 are in pending status....and it shows FALSE if either D3 or D4 are in pending status.

=IF($D$3="st",IF($D$4="Yes",$M$5,IF($D$4="No",$M$3,IF($D$4="PENDING",""))),IF(D3="ot",IF($D$4="Yes",$M$6,IF($D$4="No",$M$4,IF($D$4="PENDING","")))))
 
If D4 & D5 are both pending, but D3 is not should that still return pending?
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
If D4 & D5 are both pending, but D3 is not should that still return pending?
Yes..if D3 if ST or OT and D4 & D5 are both PENDING then D57 it should be pending

Why? In that scenario u mentioned, it would be me knowing the job won't be worked on overtime...it will be worked as straight time..BUT Im still waiting on the lead and asbestos results to come in....so I still cant commit to a billing rate until I get the lead and asbestos results back (for D47 D5)….so basically I have one factor of the job known: I know we wont work this job OT, so I can chose ST in D3.....but I wont know if the billing rate will be ST or ST-LEAD/ASB until I get the results back.....so I need to leave it as PENDING.
 
Upvote 0
Ok, how about
Excel Formula:
=IF(D3="Pending","Pending",IF(OR(D4="Yes",D5="Yes"),D3&"-LEAD/ASB",IF(COUNTIF(D4:D5,"Pending")>0,"Pending",D3)))
 
Upvote 0
Solution
Ok, how about
Excel Formula:
=IF(D3="Pending","Pending",IF(OR(D4="Yes",D5="Yes"),D3&"-LEAD/ASB",IF(COUNTIF(D4:D5,"Pending")>0,"Pending",D3)))
THAT''S IT!!!!!!!!!!!!!!!!!!!!!!

man oh man!!..u did it!...I cant begin to tell you how much this helps me out....Im about to have a ton of 2021 estimates to do and this wlll help streamline the process for me and others.

Thanks so much!...this case is closed!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,652
Members
448,975
Latest member
sweeberry

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