+ Reply to Thread
Results 1 to 4 of 4

Articles by Client

  1. #1
    Forum Contributor
    Join Date
    12-17-2019
    Location
    Portugal
    MS-Off Ver
    office 2019
    Posts
    169

    Articles by Client

    Hi Everyone,

    I have a long sheet (sheet 1), with collunns with Nš Client, Name Client, Nš Article, Name Article, Price, Discount, Final Price.

    What I like to know is how to make in (sheet 2) when I put the number of the Cliente, give me all the articles of this Client in collunns "E" to "I".

    Thanks for your help and sorry for my bad english!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,790

    Re: Articles by Client

    Folha2

    E10=IFERROR(INDEX(INDEX(Folha1!$A$2:$G$12,,MATCH(Folha2!E$9,Folha1!$A$1:$G$1,0)),AGGREGATE(15,6,ROW(Folha1!$A$2:$A$12)-ROW(Folha1!$A$2)+1/(Folha1!$A$2:$A$12=Folha2!$F$4),ROWS(Folha1!$A$2:A2))),"")

    Copy down and across

  3. #3
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Articles by Client

    This is how I do it
    on Folha1 Column H
    Please Login or Register  to view this content.
    On Folha2 number the rows D10=1 D11=2 etc...
    Then E10
    Please Login or Register  to view this content.
    As you add it to F-I increase 3 to 4,5,6etc... (Column in the Index formula)
    If this solves your issue, Mark thread as Solved & Add Reputation.

    Thanks!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Articles by Client

    Your English is far better than my Portuguese, so no need to apologise !!

    I always like to take a two-pronged approach to these types of problems, i.e. to identify the records which match the criteria, and then to bring those records across to the other file. To do this, I've used column I in the first sheet as a helper column, with this formula in I2:

    =IF(B2=Folha2!$F$5,MAX(I$1:I1)+1,"-")

    This can then be copied down as far as you need it, in order to accommodate new data being added.

    Then you can use this formula in cell E10 of the other sheet:

    =IF(ROWS($1:1)>MAX(Folha1!$I:$I),"",INDEX(Folha1!C:C,MATCH(ROWS($1:1),Folha1!$I:$I,0)))

    which can then be copied across to I10. The cells G10:I10 can then be formatted as currency, and then all 5 of the formulae copied down as required.

    I've set this up in the attached file, so you can easily see how the formulae get translated into your own language, according to your regional settings.

    Hope this helps.

    Pete
    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)

Similar Threads

  1. Replies: 4
    Last Post: 01-24-2018, 06:09 PM
  2. [SOLVED] Want to retrieve/display client visit dates by client name
    By jb5150 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-07-2017, 04:26 PM
  3. [SOLVED] Client Data in Columns - how to create a client drop down
    By abearmenta in forum Excel General
    Replies: 9
    Last Post: 10-10-2016, 10:24 AM
  4. [SOLVED] Moving variable data from multiple same-client records to one client record
    By jkilday4 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-19-2015, 02:32 PM
  5. Client code for differentiated client price
    By a1b2c3d4e5f6g7h8i9 in forum Excel General
    Replies: 5
    Last Post: 02-27-2014, 12:14 PM
  6. One spreadsheet but adding hours on a client by client basis..
    By arthurArthur in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-01-2013, 01:58 AM
  7. [SOLVED] format cell to recall client name-enter a client #
    By cheryl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2005, 06: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