ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel 2007 Help

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-11-2008, 07:15 AM
stevenson08 stevenson08 is offline
Registered User
 
Join Date: 11 Nov 2008
Location: -
Posts: 9
stevenson08 is an unknown quantity at this point
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
File Type: xlsx PRICE ANALYSIS.xlsx (12.6 KB, 4 views)
Reply With Quote
  #2  
Old 11-11-2008, 07:40 AM
stevenson08 stevenson08 is offline
Registered User
 
Join Date: 11 Nov 2008
Location: -
Posts: 9
stevenson08 is an unknown quantity at this point
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
Reply With Quote
  #3  
Old 11-11-2008, 07:51 AM
JBeaucaire's Avatar
JBeaucaire JBeaucaire is offline
Valued Forum Contributor
 
Join Date: 21 Mar 2008
Location: Bakersfield, CA
MS Office Version:2003
Posts: 1,112
JBeaucaire is a jewel in the rough
Send a message via Skype™ to JBeaucaire
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.
Code:
M2    =SMALL(C2:K2,1)
O2    =SMALL(C2:K2,2)
Q2    =SMALL(C2:K2,3)
Copy down.
__________________
"Actually, I am a rocket scientist." - JB
Reply With Quote
  #4  
Old 11-11-2008, 07:58 AM
Andy Pope's Avatar
Andy Pope Andy Pope is offline
Forum Moderator
 
Join Date: 10 May 2004
Location: Essex, UK
MS Office Version:2003 & 2007
Posts: 2,622
Andy Pope is a jewel in the rough
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
Reply With Quote
  #5  
Old 11-11-2008, 08:06 AM
stevenson08 stevenson08 is offline
Registered User
 
Join Date: 11 Nov 2008
Location: -
Posts: 9
stevenson08 is an unknown quantity at this point
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
Reply With Quote
  #6  
Old 11-11-2008, 08:08 AM
JBeaucaire's Avatar
JBeaucaire JBeaucaire is offline
Valued Forum Contributor
 
Join Date: 21 Mar 2008
Location: Bakersfield, CA
MS Office Version:2003
Posts: 1,112
JBeaucaire is a jewel in the rough
Send a message via Skype™ to JBeaucaire
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.
__________________
"Actually, I am a rocket scientist." - JB
Reply With Quote
  #7  
Old 11-11-2008, 08:10 AM
Andy Pope's Avatar
Andy Pope Andy Pope is offline
Forum Moderator
 
Join Date: 10 May 2004
Location: Essex, UK
MS Office Version:2003 & 2007
Posts: 2,622
Andy Pope is a jewel in the rough
see attached
Attached Files
File Type: xlsx 661777.xlsx (13.4 KB, 6 views)
__________________
Cheers
Andy
www.andypope.info
Reply With Quote
  #8  
Old 11-11-2008, 08:19 AM
stevenson08 stevenson08 is offline
Registered User
 
Join Date: 11 Nov 2008
Location: -
Posts: 9
stevenson08 is an unknown quantity at this point
excellent andy thank you i will try that and come back to you.

Thanks
Reply With Quote
Reply

Bookmarks

New topics in Excel 2007 Help


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 12:22 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0