+ Reply to Thread
Results 1 to 17 of 17

how to? get the name of the lowest sale and in which month ?

  1. #1
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    how to? get the name of the lowest sale and in which month ?

    I've been troubling with this issue now for some time ..
    Looking and different video's and such but haven't yet found a solution for my problem ..
    Now Instead of choosing witch month or name and then get a number from that I instead wanna find find the lowest number in the the array and get the name and Month from those to Create a Top 5 of the lowest/highest names and months

    Jan Feb Mar Apr May Jun
    Bob 97 59 75 95 86 69
    Joe 29 26 71 80 95 86
    Ann 42 45 76 78 37 41
    Charles 88 37 87 95 82 37
    Jill 81 85 46 26 97 28
    Now I know that I will need Index to get the name and month but how do I set up the formula to do these things I need ?

    Found this video on Youtube that shows how to get the number from choosing the name and month , I just want to do it the other way around (Get the names and months from the number)
    https://www.youtube.com/watch?v=kxeSS8n3WNI

    PS I've also got the file though there's no calculations in it yet as I don't know how to make them lowest nameandmonth.xlsx

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: how to? get the name of the lowest sale and in which month ?

    Something like this?
    Attached Files Attached Files

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: how to? get the name of the lowest sale and in which month ?

    Perhaps this might help you out:

    If the array is A6:G11:

    The minimum values is in B1:

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


    To get the name array enter:

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


    To get the month array enter:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: how to? get the name of the lowest sale and in which month ?

    JieJenn... You're solution only give a result from one column and not the whole array (b2:G6)

    Newdoverman ... You're solution looks good but as far as I know then "Min" only give one result and I want to get 1st, 2nd 3rd
    Though it doesn't seem like it can give 2nd and 3rd but I'm not sure how to set that up ... well there is a number 2 and 3 but you're formula doesn't give me those ..

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: how to? get the name of the lowest sale and in which month ?

    Wouldn't it be easier to just stack the data and sort?

    A
    B
    C
    9
    Who
    When
    What
    10
    Bob Jan
    97
    11
    Jill May
    97
    12
    Bob Apr
    95
    13
    Charles Apr
    95
    14
    Joe May
    95
    15
    Charles Jan
    88
    16
    Charles Mar
    87
    17
    Bob May
    86
    18
    Joe Jun
    86
    19
    Jill Feb
    85
    20
    Charles May
    82
    21
    Jill Jan
    81
    22
    Joe Apr
    80
    23
    Ann Apr
    78
    24
    Ann Mar
    76
    25
    Bob Mar
    75
    26
    Joe Mar
    71
    27
    Bob Jun
    69
    28
    Bob Feb
    59
    29
    Jill Mar
    46
    30
    Ann Feb
    45
    31
    Ann Jan
    42
    32
    Ann Jun
    41
    33
    Charles Feb
    37
    34
    Ann May
    37
    35
    Charles Jun
    37
    36
    Joe Jan
    29
    37
    Jill Jun
    28
    38
    Joe Feb
    26
    39
    Jill Apr
    26
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: how to? get the name of the lowest sale and in which month ?

    Try this.....

    A B C D E F G
    1 Jan Feb Mar Apr May Jun
    2 Bob 97 59 75 95 86 69
    3 Joe 29 26 71 80 95 86
    4 Ann 42 45 76 78 37 41
    5 Charles 88 37 87 95 82 37
    6 Jill 81 85 46 26 97 28
    Min Name Month
    1 26 Joe Feb
    2 26 Jill Apr
    3 28 Jill Jun

    For Min
    In B9
    Please Login or Register  to view this content.
    and copy down.

    For Name (Array Formula requires confirmation with Ctrl+Shift+Enter instead of just Enter)
    In C9
    Please Login or Register  to view this content.
    and copy down.

    For Month
    In D9 (Array Formula)
    Please Login or Register  to view this content.
    and copy down.

    Is this what you are trying to achieve?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  7. #7
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: how to? get the name of the lowest sale and in which month ?

    Thank you SO much sktneer That was exactly what I was after ...

    I'm still not that good at those small IF's and Countif's so thanks a lot

  8. #8
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: how to? get the name of the lowest sale and in which month ?

    ..Actually I found a problem with this ...

    if you put 26 in B4 then you will get an incorrect answer .. (Ann, Feb) And (Joe, Jan) Correct should be (Joe, Feb) and (Ann, Jan) What should I do to change this ?

  9. #9
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: how to? get the name of the lowest sale and in which month ?

    Change the formula in D9 to this...
    In D9 (Regular Formula)
    Please Login or Register  to view this content.
    and copy down.

  10. #10
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: how to? get the name of the lowest sale and in which month ?

    argh .. man I feel so stupid when you come up with such a simple solution .. Thx a lot for the help ..

    Well not so simple ... it seems that if I get same name in C9-11 then the match will give me same month and not the next one
    Last edited by Dj Duck; 09-24-2014 at 07:41 AM.

  11. #11
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: how to? get the name of the lowest sale and in which month ?

    You're welcome.
    If that takes care of your question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

  12. #12
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: how to? get the name of the lowest sale and in which month ?

    problem arises if ex.. you change E3 and give it 26 as well .. then I will get 1(Joe, Feb) 2(Joe,Feb) 3(Jill,Apr)
    Should be !(Joe,Feb) 2(Joe,Apr) and 3(Jill,Apr)

  13. #13
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: how to? get the name of the lowest sale and in which month ?

    OK. In this case change the formula in D9 to this Array Formula which will require confirmation with Ctrl+Shift+Enter.

    In D9
    Please Login or Register  to view this content.
    and copy down.

  14. #14
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: how to? get the name of the lowest sale and in which month ?

    No I think this will work this this scenario but not with the earliest one. Let me see.

  15. #15
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: how to? get the name of the lowest sale and in which month ?

    Try this Array Formula in D9 and test it if you get correct output for all the scenarios.

    In D9
    Please Login or Register  to view this content.
    and copy down.

  16. #16
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: how to? get the name of the lowest sale and in which month ?

    I'm with shg on this.
    Remember what the dormouse said
    Feed your head

  17. #17
    Registered User
    Join Date
    03-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: how to? get the name of the lowest sale and in which month ?

    Yea THAT seem to have done the trick .. now before I make this Solved .. with these changes .. you sure there's no need for changes in the Name section ?

    Must say .. that with all that Countif, Sumproduct and those things I would never had solved this myself ... Will try it out with diff values and such for an hour to see if any problems arise before I mark it Solved ..

+ 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. [SOLVED] define exact number of products sale from multiple sale and returned sale orders
    By maabadi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 06:14 AM
  2. Calc Final Sale Price Including % of Sale?
    By kierenschneider in forum Excel General
    Replies: 1
    Last Post: 10-26-2009, 01:09 PM
  3. return lowest monthly no and month name
    By DavidK in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2007, 06:30 PM
  4. [SOLVED] calculation sales of particular month among months of sale
    By Rao Ratan Singh in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-03-2006, 08:50 AM
  5. Replies: 1
    Last Post: 01-30-2006, 05:10 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