1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

need to bifurcate data on different sheet

Discussion in 'Ask an Excel Question' started by JAlandhar 201718, Jun 13, 2018 at 8:30 AM.

  1. JAlandhar 201718

    JAlandhar 201718 New Member

    Messages:
    25
    hello everyone,

    I need a help, as on previous post i'm not getting any reply from anyone.

    I need to bifurcate data according to voucher no shown n data, and there is a subledger column[contains value 0,1,2] in the database, I need to bifurcate the data according to it on the different sheets, and the file is attached too, with the database
    please anyone help me.

    Attached Files:

  2. GraH - Guido

    GraH - Guido Active Member

    Messages:
    663
    Perhaps you don't get a reply, because the case is not clearly explained with an example or highlight where things go wrong and what you'd expect to be correct.
    The vlookup used has the argument TRUE in the end. As I understand you need and exact match. Thus that argument should be FALSE.
    Would that make a difference?
  3. JAlandhar 201718

    JAlandhar 201718 New Member

    Messages:
    25
    Can you please see the data file VOU in the excel sheet??, there is a column name subledger in it, it contains value 0,1,2 i.e. 1 for CDS, 2 for LOAN, and on the LOAN sheet I only need LOAN values from all the table and on CDS sheet I need CDS values only
  4. bosco_yip

    bosco_yip Excel Ninja

    Messages:
    1,708
    A. The following formulae in "CDS" Sheet

    1] In D1 :

    =COUNTIFS(Table_VOUFILE[LEDCODE], Entered_LEDCODE,Table_VOUFILE[SUBLEDGER],1)

    2] In C6 Ctrl+Shift+Enter array formula copied across to I6 and all copied down

    =IF($B6="","",INDEX(Table_VOUFILE,SMALL(IF((Table_VOUFILE[LEDCODE]=Entered_LEDCODE)*(Table_VOUFILE[SUBLEDGER]=1),ROW(Table_VOUFILE[LEDCODE])-ROW(Table_VOUFILE[[#Headers],[LEDCODE]])),COUNTIF($B$6:$B6,Entered_LEDCODE)),MATCH(C$5,Table_VOUFILE[#Headers],0)))

    3] In R15, copied down :

    =IF($F6="D",$G6,"")

    4] In T15, copied down :

    =IF($F6="C",$G6,"")

    5] In V14 :

    =IFERROR(VLOOKUP($G$2,Table_MEMBER, 21,0),0)

    B. The following formulae in "Loan" Sheet

    1] In D1 :

    =COUNTIFS(Table_VOUFILE[LEDCODE], Entered_LEDCODE,Table_VOUFILE[SUBLEDGER],2)

    2] In C6 Ctrl+Shift+Enter array formula copied across to I6 and all copied down

    =IF($B6="","",INDEX(Table_VOUFILE,SMALL(IF((Table_VOUFILE[LEDCODE]=Entered_LEDCODE)*(Table_VOUFILE[SUBLEDGER]=2),ROW(Table_VOUFILE[LEDCODE])-ROW(Table_VOUFILE[[#Headers],[LEDCODE]])),COUNTIF($B$6:$B6,Entered_LEDCODE)),MATCH(C$5,Table_VOUFILE[#Headers],0)))

    Regards
    Bosco

    Attached Files:

    Thomas Kuriakose likes this.

Share This Page