if function
RH

Forum home » Delegate support and help forum » Microsoft Excel Training and help » IF Function

IF Function

resolvedResolved · Low Priority · Version 2016

Mark has attended:
Excel Advanced course

IF Function

I am trying to create a formula using the following criteria:

Before today's date AND has a status of either Draft Report, Final Report, Cancelled, Closed.

I have been trying to use the following formula and it hasn't worked:
=IF(AND(F2<=$AG$1,OR(P2<>"Final Report Issued",P2<>"Draft Report Issued",P2<>"Audit Closed",P2<>"Audit Cancelled")),"At Risk","Completed")

AG1 has the date function applied to it.

At the moment it is giving me the wrong outcomes on the cells that don't meet the above criteria.

Please help.

Thanks,
Mark

RE: IF Function

Hi Mark,

Thank you for the forum question.

Change the or function to:

OR(P2="Final Report Issued",P2="Draft Report Issued",P2="Audit Closed",P2="Audit Cancelled")


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Sun 8 Dec 2019: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Removing the Ribbon from view in Excel 2010

At times when you want to view the whole spreadsheet, try double clicking on the ''Home'' tab on the ribbon which will hide the ribbon from view.

View all Excel hints and tips


Server loaded in 0.06 secs.