Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 'IF','LOOKUP' or 'HLOOKUP'?

Need your help O gurus!

See chart below.
vendor 1 vendor 2 vendor 3 vendor 4 Min. Cost Min. supplier
part 1 $1 $2 $4 $5 $1
part 2 $7 $10 $8 $11 $7
part 3 $15 $11 $14 $12 $11

I am struggling with a formula that will generate the name of the Min. Cost
supplier in the last column. For example, for part 1, the min. cost supplier
is vendor 1; for part 3 it is vendor 2.

What formula can I use to generate this automatically?

Thanks
Rajan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default 'IF','LOOKUP' or 'HLOOKUP'?

Hi


On fly:
E2=MIN($A2:$D2)
E2=INDEX($A$1:$D$1,,MATCH($E2,$A2:$D2,0))



--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"Rajan Iyer" wrote in message
...
Need your help O gurus!

See chart below.
vendor 1 vendor 2 vendor 3 vendor 4 Min. Cost Min. supplier
part 1 $1 $2 $4 $5 $1
part 2 $7 $10 $8 $11 $7
part 3 $15 $11 $14 $12 $11

I am struggling with a formula that will generate the name of the Min.
Cost
supplier in the last column. For example, for part 1, the min. cost
supplier
is vendor 1; for part 3 it is vendor 2.

What formula can I use to generate this automatically?

Thanks
Rajan



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default 'IF','LOOKUP' or 'HLOOKUP'?

Sorry!


F2=INDEX($A$1:$D$1,,MATCH($E2,$A2:$D2,0))


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 'IF','LOOKUP' or 'HLOOKUP'?

Thanks Arvi. Will Try this solution.
--
Rajan


"Arvi Laanemets" wrote:

Sorry!


F2=INDEX($A$1:$D$1,,MATCH($E2,$A2:$D2,0))



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 'IF','LOOKUP' or 'HLOOKUP'?

Arvi,

Good Job, the solution worked.
--
Rajan


"Arvi Laanemets" wrote:

Sorry!


F2=INDEX($A$1:$D$1,,MATCH($E2,$A2:$D2,0))



Reply
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
lookup combine vlookup with hlookup Doug Excel Worksheet Functions 2 April 23rd 23 11:42 AM
Help with Hlookup/Vlookup and Lookup. From multipul sheets shonit Excel Worksheet Functions 1 June 7th 07 05:53 PM
HLOOKUP - Adjusting the lookup value... Regnab Excel Discussion (Misc queries) 3 May 22nd 06 11:14 AM
Multiple lookup values in =HLOOKUP Peter Excel Discussion (Misc queries) 1 September 17th 05 08:38 PM
Cell contents as the 'lookup value' parameter in HLOOKUP function EMarre Excel Discussion (Misc queries) 3 August 30th 05 03:49 PM


All times are GMT +1. The time now is 10:50 PM.

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"