+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : Finding Lowest Number in a range of numbers.

  1. #1
    Registered User
    Join Date
    11-11-2008
    Location
    -
    Posts
    9

    Finding Lowest Number in a range of numbers.

    Hello,

    I have a spreadsheet with 11 columns and 11 rows. The first column has a list of part numbers and the head row has a list of account numbers. For each account there is a price for each part number. I need to find for each part the 3 accounts with the lowest price that are cheaper than the list price. I am new to excel and I am extremely new to office 2007. Any help will be greatly apprecitated.

    Can anyone help?

    Thanks

    Stevenson08
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-11-2008
    Location
    -
    Posts
    9
    Hello,

    I think i have managed to solve my dilema using HLookup, However now i cannot get the row number in the formula to increment decending. For example:

    =HLOOKUP(M2,B2:K12,11,FALSE)
    =HLOOKUP(M2,B2:K12,10,FALSE)

    Any ideas?

    Thanks

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Quote Originally Posted by stevenson08 View Post
    Hello,

    I think i have managed to solve my dilema using HLookup, However now i cannot get the row number in the formula to increment decending. For example:

    =HLOOKUP(M2,B2:K12,11,FALSE)
    =HLOOKUP(M2,B2:K12,10,FALSE)

    Any ideas?

    Thanks
    For PART 1, the function you want is SMALL.
    Please Login or Register  to view this content.
    Copy down.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    You could try this array formula in M2, use CTRL+SHIFT+ENTER

    =SMALL(IF($C2:$K2<$B2,$C2:$K2),1)

    when copying to O2 and Q2 change the second argument in SMALL function from 1 to 2 and 3.

    and in N2

    =INDEX($C$1:$K$1,MATCH(M2,$C2:$K2,0))

    Currently neither formula check for errors such as no prices being cheaper than list.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    11-11-2008
    Location
    -
    Posts
    9
    I have got the small forumla to work, i am now looking at hlookup but i cannot seem to get the row number that it brings the data back from does not decrease if you understand my meaning.

    Thanks

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Quote Originally Posted by stevenson08 View Post
    I have got the small forumla to work, i am now looking at hlookup but i cannot seem to get the row number that it brings the data back from does not decrease if you understand my meaning.

    Thanks
    No, but if it's column O you're filling in, that INDEX/MATCH formula above is the one you want to use.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    see attached
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-11-2008
    Location
    -
    Posts
    9
    excellent andy thank you i will try that and come back to you.

    Thanks

+ 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