+ Reply to Thread
Results 1 to 3 of 3

Returning only the information im looking for.

  1. #1
    Registered User
    Join Date
    09-13-2011
    Location
    Portsmouth
    MS-Off Ver
    Excel 2007
    Posts
    11

    Returning only the information im looking for.

    Hi all.

    I have a large spreadsheet that has all 450 jobs in my place of work listed down the left hand column.

    I need to be able to list the jobs that are currently vacant and sort them by seniority. I can do this with the below IF function but it is then returning a lot of 0 for the jobs that are filled (as iwold expect.) is there any way to get the 4 empty jobs in this seniority listed with out the others?

    IF('doc1'!r5="gapped",IF('Doc1'!j5="supervisor",'doc1'!h9,),)

    As I say it works and lists the correct info but rather have 440 cells saying "0" and having to find the 4 that say which job is empty I would like to produce a list of the jobs which are empty

    Return this
    Shop 1
    shop 3
    Shop8
    Shop10


    Rathern than
    return this
    0
    0
    0
    0
    0
    0
    0
    Shop 1
    0
    0
    0
    0
    0
    0
    0
    0
    shop3
    etc

    Thnks for your help

    Giles
    [tr]
    [td][/td]
    [td][/td]
    [/tr]
    [tr]
    [td][/td]
    [td][/td]
    [/tr]
    [tr]
    [td][/td]
    [td][/td]
    [/tr]
    [/table]

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Returning only the information im looking for.

    I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    03-22-2017
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Returning only the information im looking for.

    Try this array formula

    =index('doc1'!$H$9:$H$459,small(IF(('doc1'!$R$5:$R$455="gapped")*('Doc1'!$J$5:$J$455="supervisor"),row('doc1'!$H$9:$H$459),),rows($A$1:$A1)))

    1. by paste the formula,
    2. double cell on the cell
    3. press Ctrl + Shift + Enter
    Hope you can learn every time you visit here.

    If you still confuse on how it work, kindly ask or go to
    i) Formula - Formula (Ribbon) > Formula Auditing (Section) > Evaluate Formula > Evaluate; or
    ii) VBA/Code - Click F8 to see how it work step by step.

    It it take care of your question, Please:
    Mark tread as [Solved] [Thread Tools->Mark thread as Solved]
    ;and
    Click *Add Reputation to thank anyone solved your question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Returning Information by Date
    By 914Fan in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-23-2016, 05:13 PM
  2. Help returning information
    By aatch in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-11-2014, 03:22 AM
  3. [SOLVED] H&V LOOKUP returning odd information
    By her.rockstar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2013, 11:20 AM
  4. returning a row of information
    By Ricardo9211 in forum Excel General
    Replies: 2
    Last Post: 08-08-2009, 07:59 PM
  5. Sorting And Returning Information
    By dave6726 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-26-2008, 01:39 PM
  6. Returning two cells of information if...
    By Niester Rabbit in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-29-2007, 10:24 AM
  7. Re: UDF not returning correct information
    By keepITcool in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-13-2005, 07:05 PM

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