+ Reply to Thread
Results 1 to 3 of 3

Adding extra if statements

  1. #1
    Registered User
    Join Date
    10-23-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    34

    Adding extra if statements

    Hi, I'm wondering if it is possible to include addition if statement only when more than 5 results are returned.

    Currently I'm doing a multiple if statement , 10 results are returned from the formula, and i would like to add extra if statement to filter only the top 6 results.

    You can see the formula in shortlisted Admin - B10

    These are the additional if statements :
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Adding extra if statements

    Hi,

    It's not clear entirely what the purpose of this big IF statement is. It just seems to be returning the NRIC number. Why not just list the names in column C of the Shorlisted.. sheet rather than a VLOOKUP and then useSurely you can just use

    Please Login or Register  to view this content.
    in B10 and copied down.

    Incidentally there seems to be an inconsistency between the current B10 & B11 cells. B10 uses Row 2 whilst B11 uses row 4 rather than row 3.

    However if you really need IF statements, (and they are getting rather unwieldy and hence difficult to read), can I suggest a better way would be to create a helper column in your Person Specification sheet. In this helper column concatenate all the columns that you are currently testing for in the big IF statement. i.e.
    Please Login or Register  to view this content.
    Then you can just use one IF statement and look at the helper column.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-23-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Adding extra if statements

    Thanks for the suggestions.

    The big if statement returns the nric, based on the comparison of two worksheets - jobsApplicationdb and Job Specification, and i'm checking if values in cells for both worksheets match, then return the nric.

    You suggested using
    Please Login or Register  to view this content.
    Is it possible to do, if I'm using to worksheets?

    Please Login or Register  to view this content.
    In some of the if statements i had find, if i were to concatenate them, i might have trouble comparing.

    Incidentally there seems to be an inconsistency between the current B10 & B11 cells. B10 uses Row 2 whilst B11 uses row 4 rather than row 3.
    I actually hide the error in the nric column. Cause in the jobsApplicationdb the 2nd value is actually "KTP associate", but what i'm looking for is "Administrator" , so it displays only those with value and not those error.

    Is it possible to add addition if statement when i can more than 10 results?
    Last edited by ChalkerL; 11-21-2009 at 05:32 PM.

+ 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