Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6912255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:04:07+00:00 2026-05-27T09:04:07+00:00

I am working on a spreadsheet where I need to get the result of

  • 0

I am working on a spreadsheet where I need to get the result of a 1, 2 or 3 depending on the conditions in an if statement, however excel is behaving very strangely. I have attached the image below and the IF statement (feel free to advise if the statement can be improved). I wonder if anyone can explain whats going on?

Excel Snap

The issue I am experience is that The top line, and 3rd line arent different in term of status, no completed date and no revised date. The statement I am running to output 1,2, or 3 is as follows:

=IF(AND(K16<>"",J16="",OR(K16<=I16,K16<=J16)),1,IF(AND(K16<>"",J16<>"",K16<=J16,K16>I16),2,IF(AND(K16<>"",J16<>"",K16<=I16),1,IF(AND(K16="",E15="Completed"),1,IF(AND(K16="",OR(E16="Behind Target",E16="Not Started")),3,IF(AND(K16="",E16="On Target"),2,3))))))

Can anyone advise please. I am using excel 2003

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:04:08+00:00Added an answer on May 27, 2026 at 9:04 am

    First of all, your formula points to cell E15 but should probably point to E16. That alone may fix your problem. If not, the formula below follows these rules:

    • 1’s should be for tasks that were completed by the original time or are marked as completed in the status column
    • 2’s should be for tasks
      which have finished after the original target but before the revised target date or are marked as on target but not yet completed
    • 3’s
      should be anything are behind target or not started and have nothing in the completed date field

    =IF(OR(E16="Completed",AND(K16<>"",K16<=I16)),1, IF(OR(E16="On Target",AND(K16>I16,K16<J16)),2, IF(AND(K16="",OR(E16="Behind Target",E16="Not Started")),3)))

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a vb.net application which imports from an Excel spreadsheet. If rdr.HasRows
I am trying to start working with Excel documents through the OpenXML SDK Spreadsheet
I am working on a PerformancePoint 2007 project. I have a bunch of Excel
I am working on a Excel Spreadsheet that when a dropdown box value is
I have an excel spreadsheet that has 2 columns. Something like this |ColA |
I have an excel spread sheet (well, hundreds of them) which I need importing
I found many have suggested spreadsheet gem in rails for reading excel sheet which
I've been working intermittently on an Excel spreadsheet for a customer that does some
I have an Excel spreadsheet with a table of data in it. The columns
I need to simply go through all the cells in a Excel Spreadsheet and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.