+ Reply to Thread
Results 1 to 5 of 5

Index range fixing error

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Index range fixing error

    DATA

    DATE****NAME****TRANSPORT

    42388****CHEN****TCIXPS
    42388****SURA****TCIXPS
    42388****GURG****V-XPRESS
    42388****GOA****TCIXPS
    42388****RAIP****TCIXPS
    42388****CHEN****TCIXPS
    42388****DELH****TCIXPS
    42388****AHME****TCIXPS
    42388****FARI****TCIXPS
    42388****PUNE****V-XPRESS
    42388****DELH****TCIXPS
    42388****INDO****V-XPRESS
    42388****NAGP****V-XPRESS
    42388****RANC****GATI
    42388****JABA****TCIXPS

    REQUIRED FORMAT:

    DTDC GATI*****TCIXPS***V-XPRESS

    RANC**** CHEN**** GURG
    SURA**** PUNE
    GOA ****INDO
    RAIP ****NAGP
    CHEN
    DELH
    AHME
    FARI
    DELH
    JABA

    In A3{=IFERROR(INDEX(DATA!$C:$C,SMALL(IF((DATA!$D$2:$D$20=B$2)*(DATA!$B$2:$B$20=$D$1),ROW(DATA!$C$2:$C$20)),ROWS(B$2:B2))),"")}

    The above said formula working perfectly when index range $C:$C.

    Try to edit index range $C$2:$C$20 Value return is wrongly.

    In A3{=IFERROR(INDEX(DATA!$C$2:$C$45,SMALL(IF((DATA!$D$2:$D$20=A$2)*(DATA!$B$2:$B$20=$D$1),ROW(DATA!$C$2:$C$20)),ROWS(A$2:A2))),"")}

    Please give me your suggestion.

    Herewith attached file.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Index range fixing error

    As your datarange started before from row1 and now starts from row 2, use

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    of course array committed
    Best Regards,

    Kaper

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Index range fixing error

    PS. I'd rather post this thread in http://www.excelforum.com/excel-formulas-and-functions/ not in excel general subforum

  4. #4
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Index range fixing error

    Mr.Kaper sir

    Thanks you so for your help and clarification.In future i have posted query in Excel formulas and Function.

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Index range fixing error

    You are welcome.
    And thanks for the reputation point.

+ 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. Index outside named range does not result in error?!
    By ssteenstraten in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2014, 05:00 PM
  2. [SOLVED] Index range small row - num error
    By Trax in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-13-2013, 09:18 AM
  3. [SOLVED] Help Fixing Error on Print Macro
    By groundin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2013, 05:26 PM
  4. Fixing Date Error -
    By JCL622 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-07-2013, 10:54 AM
  5. [SOLVED] Help me in fixing the error
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-26-2012, 07:26 AM
  6. Fixing a sorting error for empty rows (error '1004')?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:20 PM
  7. Fixing a sorting error for empty rows (error '1004')?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:17 PM
  8. Fixing the #DIV/0! Error
    By kc2equ in forum Excel General
    Replies: 1
    Last Post: 02-22-2005, 11:32 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