+ Reply to Thread
Results 1 to 3 of 3

A suitable function

  1. #1
    Registered User
    Join Date
    05-25-2009
    Location
    South Africa
    MS-Off Ver
    Excel XP
    Posts
    1

    Question A suitable function

    I need help to find the suitable formula (nested if does not work).

    I have three worksheets with names and id numbers.
    On the May worksheet, employees underwent medicals.
    On the June worksheet, all the employees are registered again, but the ones that did the medical in May, do not need a medical in June and the same for July (the medical is valid for four months).
    I need to work on the June and July worksheets, compare the identification numbers of the employees and if they went for the medical in May, have a column that state "Operational", but if they did not complete the Medical in May, the statement "Medical" must appear.
    My formula: =if(and(B1=May!$B$B6:$B$12,June!$B$B6:$B$12,"Operational","No Medical") does not work, because it only reads the one value in B6 and ignores the rest.
    Thanking you for any help in anticipation
    Marleine

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: A suitable function

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: A suitable function

    Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1