+ Reply to Thread
Results 1 to 6 of 6

Extension to a Index formula

  1. #1
    Forum Contributor
    Join Date
    08-26-2011
    Location
    Bristol, England
    MS-Off Ver
    Excel 2007
    Posts
    149

    Extension to a Index formula

    Hi All,

    I am creating an automated scheduler for engineering works. I have the basics done, now just need to fine tune, but need some help?

    I have the following formula:

    IFERROR(INDEX('Region 1 Raw Data'!$J$1:$K$236,SMALL(IF(('Region 1 Raw Data'!$J$1:$J$236='Region 1'!A5)*('Region 1 Raw Data'!$N$1:$N$236<>"MINI"),ROW('Region 1 Raw Data'!$J$1:$J$236)),ROW($1:$1)),2),"")

    Which basically says to look at a long list of sites that require some work, this list is sorted by engineer and the week that the previous work was varried out. Then it asks to look at it all again, and bring in the 2nd site info, and so on.

    Well i need to add to this now, the following condition:

    If the job has a "C" in the contract column then schedule the job in, if it blank " " then do not schedule the job in.

    I hope this makes sense.

    I look forward to your help on this one.

    cheers

    donna

  2. #2
    Forum Contributor
    Join Date
    08-26-2011
    Location
    Bristol, England
    MS-Off Ver
    Excel 2007
    Posts
    149

    Re: Extension to a Index formula

    I have now added an example for you to play with.

    cheers

    Donna
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-26-2011
    Location
    Bristol, England
    MS-Off Ver
    Excel 2007
    Posts
    149

    Re: Extension to a Index formula

    Hi there,

    Is anyone able to help on this one

    Cheers

    Donna

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Extension to a Index formula

    You don't say to us the expected results.

    Does this works?

    =INDEX('Region 2 Raw Data'!$L$2:$L$10;SMALL(IF('Region 2 Raw Data'!$K$2:$K$10&'Region 2 Raw Data'!$O$2:$O$10=$A2&"MINI";ROW('Region 2 Raw Data'!$L$2:$L$10)-1);ROW('Region 2 Raw Data'!K1)))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    08-26-2011
    Location
    Bristol, England
    MS-Off Ver
    Excel 2007
    Posts
    149

    Re: Extension to a Index formula

    Hi Fotis,

    thanks for the reply

    This only seems to bring back a #NUM error.

    From looking at it, it doesn't look at column R as I only want on the planning sheet those that are NOT MINI (in column O), but does have a C (in column R)


    I hope this helps,

    Cheers

    Donna

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Extension to a Index formula

    You get #num error as you don't replace the semi colons to comma? Any way, as i have no expected result see the example that do this..

    ...From looking at it, it doesn't look at column R as I only want on the planning sheet those that are NOT MINI (in column O), but does have a C (in column R)
    Attached Files Attached Files

+ 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