LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 2
Default Return corresponding information with minimum value

Hello,

I have the following formula that will provide me with a freight rate:

=IF(OR('Producing Mills'!J5="Y",'Producing Mills'!L5="Y",'Producing Mills'!N5="Y",'Producing Mills'!O5="Y",'Producing Mills'!R5="Y",'Producing Mills'!S5="Y",'Producing Mills'!V5="Y"),MIN((IF('Producing Mills'!J5="Y",'Freight & Exchange Rates'!$D$13,10000)),(IF('Producing Mills'!L5="Y",'Freight & Exchange Rates'!$D$15,10000)),(IF('Producing Mills'!N5="Y",'Freight & Exchange Rates'!$D$17,10000)),(IF('Producing Mills'!O5="Y",'Freight & Exchange Rates'!$D$18,10000)),(IF('Producing Mills'!R5="Y",'Freight & Exchange Rates'!$D$21,10000)),(IF('Producing Mills'!S5="Y",'Freight & Exchange Rates'!$D$22,10000)),(IF('Producing Mills'!V5="Y",'Freight & Exchange Rates'!$D$25,10000))),MIN((IF('Producing Mills'!C5="Y",'Freight & Exchange Rates'!$D$7,10000)),(IF('Producing Mills'!D5="Y",'Freight & Exchange Rates'!$D$6,10000))))

Essentially it checks if any of our competitors make the product, and if they do, chooses the minimum freight rate among the competitors that do make it; if none of our competitors make the product, it chooses the minimum freight rate from our plant locations that produce the product.

What I'd like to do is also show who's freight we are using, which would be in column A of the Freight & Exchange Rates worksheet.

I have tried to achieve this by using the VLOOKUP to match the freight rate amount to the rates listed in the Freight & Exchange Rates worksheet, but the problem is that there could be multiple competitors with the same freight rate, some of whom do not produce the product. So I need to take into account whether or not they actually produce the product (by looking at the Producing Mills worksheet) in order to match up the rate.

I am really at a loss as to how to proceed, I've thought maybe I could try to get the cell address of the min value and then use the offset function to return the company name of the freight rate, but have been unsuccessful.

I apologize for the long post, but wanted to make sure I explained my problem correctly, and hopefully didn't leave anything out.

Any ideas/help is greatly appreciated!

Cassy
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with look up and return minimum value soeo22 Excel Discussion (Misc queries) 0 June 30th 09 06:37 AM
return a minimum value of 1, except when multiplied by an empty ce Ali Excel Discussion (Misc queries) 7 March 25th 09 05:12 PM
Select Minimum value and return the name of the supplier Mark McDonough Excel Worksheet Functions 7 June 27th 06 05:21 PM
How do I get "minimum value" in a range to NOT return zero? Blade Excel Worksheet Functions 4 February 2nd 05 02:06 AM
lookup - return minimum value Steve R Excel Worksheet Functions 7 December 30th 04 04:44 AM


All times are GMT +1. The time now is 12:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"