+ Reply to Thread
Results 1 to 8 of 8

List of Job No based on ststua in another cell

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2010/2013
    Posts
    17

    List of Job No based on ststua in another cell

    I have a new sheet where I want to summarise all jobs which have a certain status from another sheet. I have all my data in JobTable on Jobs sheet and am using the following which doesn't work:-

    =IF(JobTable[Current Job Status]="OFFICE",JobTable[Job No],"")

    I want a list of job numbers which have the status of OFFICE displayed. I can see how the above formula doesn't work but can't see why - it seems such a simple thing to do but I'm having a brain freeze!

    I'm thinking it needs to use INDEX in there somewhere.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2211 (Windows 11 22H2 64-bit)
    Posts
    65,396

    Re: List of Job No based on ststua in another cell

    Please provide a small sample file.

    As you have Excel 2013, you could download and use the free PowerQuery add-in (Microsoft).
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  3. #3
    Registered User
    Join Date
    09-04-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2010/2013
    Posts
    17

    Re: List of Job No based on ststua in another cell

    Hi. Sample attached showing the data table and then the required results.

    I'd rather create the solution via formula than power query
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2211 (Windows 11 22H2 64-bit)
    Posts
    65,396

    Re: List of Job No based on ststua in another cell

    So the results you want are just the job number - yes?

    This in A2 copied down:

    =IFERROR(INDEX(Table1[Job No],AGGREGATE(15,6,ROW($1:$501)/(Table1[Status]="OFFICE"),ROW(1:1))),"")
    Last edited by AliGW; 03-01-2020 at 04:40 AM.

  5. #5
    Registered User
    Join Date
    09-04-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2010/2013
    Posts
    17

    Re: List of Job No based on ststua in another cell

    That works fine AliGW

    To now bring through the site would you advise using your formula or using a VLookup (or INDEX / MATCH) based on the job number generated from your formula?

    Many thanks for your help

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2211 (Windows 11 22H2 64-bit)
    Posts
    65,396

    Re: List of Job No based on ststua in another cell

    Just use that formula with a different INDEX column. VLOOKUP and INDEX MATCH get fiddly with multiple criteria, so use the KISS principle here, The AGGREGATE formula is not array entered, so should be softer in terms of overhead, anyway.

  7. #7
    Registered User
    Join Date
    09-04-2012
    Location
    Liverpool
    MS-Off Ver
    Excel 2010/2013
    Posts
    17

    Re: List of Job No based on ststua in another cell

    Works a treat - thanks

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, Suffolk (England), but grew up in Sawley, Derbyshire
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2211 (Windows 11 22H2 64-bit)
    Posts
    65,396

    Re: List of Job No based on ststua in another cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Replies: 2
    Last Post: 03-01-2019, 02:00 PM
  2. Only display list in a cell based on selection in a different list, otherwise default
    By jenna.menchaca in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-17-2018, 03:13 PM
  3. Replies: 3
    Last Post: 11-13-2015, 05:10 AM
  4. [SOLVED] Update cell list based on Drop down List
    By eaflynn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2015, 03:48 PM
  5. Replies: 3
    Last Post: 08-16-2014, 09:55 AM
  6. [SOLVED] Formula to fill a cell based on drop down list in previous cell
    By formatting freak in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-03-2013, 01:18 AM
  7. Replies: 5
    Last Post: 11-28-2012, 09:58 AM

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