Results 1 to 2 of 2

Thread: Excel Function Help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    31

    Excel Function Help

    I have a Excel workBook with 2 sheets.


    Sheet 1 contains 2 columns. And the data is like the below.

    Activity code Status
    P1 In Progress
    P2 Completed
    P3 In Progress
    P1 completed
    P2 in progress
    P3 Yet to start

    Activity codes will repeat here.


    Sheet 2 contains

    Activity code Status
    P1
    P2
    P3

    The status should be captured from sheet 1 based on the below logic.


    The scenario is like this

    If all are yet to start I have to return Yetto start

    If all are completed I have to return completed

    If any one is In Progress I have to return In Progress.

    For Example, For P1 I have In Progress and Completed.In this case I have to return In Progress.

    Any Help??

    Thanks
    Sk5567

  2. #2
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863
    Some questions to ********:

    You have several lines in Sheet1 with P1, but in Sheet2 there will only be one P1 , the value of that should be the result of that comes out of the function, correct??

    And for the function:
    You have the possible states
    "In Progress"
    "Completed"
    "Yet to start"

    You say if only one is "Yet to Start" the result has to be "Yet to start" (easy), but for the other two you say the result will be "in Progress" or "Completed" if all the values for the PX are of that state. What should be the result if there are some of both states??
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width