+ Reply to Thread
Results 1 to 10 of 10

want to get highest sales qty and sales person name within specified dates

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Post want to get highest sales qty and sales person name within specified dates

    How to get highest sales qty and sales person name within specified dates.


    I want formula which will give highest sold qty in ( Cell C21) and sales person name in ( Cell D21) after putting the date ranges in cells A21 and B21

    I have attache sample sheet for reference please help.


    Thanks

    Dev
    Attached Files Attached Files

  2. #2
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: want to get highest sales qty and sales person name within specified dates

    in C21:

    =MAX(INDEX(($B$2:$B$17>=$A$21)*($B$2:$B$17<=$B$21)*($D$2:$D$17),0))
    in D21:

    =IFERROR(INDEX($A$2:$A$17,MATCH($C$21,$D$2:$D$17,0)),"-")
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  3. #3
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: want to get highest sales qty and sales person name within specified dates

    Dear icestationzbra ,

    Thanks for replying, but with this formulas only showing the one highest value and the concern sale person name, actually I want the total highest figure sold by sales person and his name.

    please let me know if any formula is there thanks in advance.

    devawad

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,228

    Re: want to get highest sales qty and sales person name within specified dates

    Hi devawad,

    See if the attached helps with a good answer.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: want to get highest sales qty and sales person name within specified dates

    Dear MarvinP ,

    I have tried your suggestion but it is not working properly for me,Sir, actually I want the highest total and the concern sales person name please give if any formula/function is there ,
    kindly do the need full,thanks in advance

    devawad

  6. #6
    Forum Contributor
    Join Date
    04-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    113

    Re: want to get highest sales qty and sales person name within specified dates

    Dear MarvinP,

    I want formula which will give highest sales qty of pen within specified dates and the name of sales person.

    please see attached example sheet ,you will understand better

    thanks

    devawad
    Attached Files Attached Files

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,228

    Re: want to get highest sales qty and sales person name within specified dates

    I need more information than "it is not working properly for me". Give me a sample file that shows what you want to arrive at. You should also change some values so there is a largest one.

  8. #8
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: want to get highest sales qty and sales person name within specified dates

    this approach requires a helper column, see if it meets your needs:
    Attached Files Attached Files

  9. #9
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,024

    Re: want to get highest sales qty and sales person name within specified dates

    icestationzbra, I would also go with helper column.
    Here is solution with Pivot Table that doesn't exactly match users requirements but might be interesting solution for cataloging bigger amount of data:
    Attached Files Attached Files
    Never use Merged Cells in Excel

  10. #10
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,679

    Re: want to get highest sales qty and sales person name within specified dates

    You can do this without a helper column if you want, with this "array formula" in C15

    =MAX(SUMIFS(D2:D11,B2:B11,">="&A15,B2:B11,"<="&B15,A2:A11,A2:A11))

    confirmed with CTRL+SHIFT+ENTER

    and then this formula (also array entered) in D15

    =INDEX(A2:A11,MATCH(C15,SUMIFS(D2:D11,B2:B11,">="&A15,B2:B11,"<="&B15,A2:A11,A2:A11),0))

    confirmed with CTRL+SHIFT+ENTER

    see attached, I changed the dates to show how it works when you do that.....
    Attached Files Attached Files
    Audere est facere

+ 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