Formula to get

S

Sky

Hi,
Supplier
A B C D Min Cost Ans
1 $1.00 $2.00 $3.00 $4.00 $1.00 Supplier A
2 $2.00 $1.00 $3.00 $4.00 $1.00 Supplier B
3 $5.00 $6.00 $7.00 $8.00 $5.00 Supplier A
4 $8.00 $7.00 $5.00 $6.00 $5.00 Supplier C
5 $7.00 $6.00 $5.00 $4.00 $4.00 Supplier D
Could anyone help and advice me is there any fomula to get on the column
indicate Ans.
The Ans is indicate as per below
Supplier A
Supplier B
Supplier A
Supplier C
Supplier D
 
M

muddan madhu

To get minimum value use this formula =MIN(A2:D2) in cell E2 and drag
it down

to get supplier name put this in cell F2 ="Supplier "&LOOKUP
(E2,A2:D2,$A$1:$D$1) and drag it down.
 
S

Sky

Thanks Madhu.

For 1 to 3 I could get the supplier A and B but for 4 and 5 is under
SupplierC and D I cannot get.
 
H

Harlan Grove

Sky said:
For 1 to 3 I could get the supplier A and B but for 4 and 5 is under
SupplierC and D I cannot get.  
....

LOOKUP *requires* that its lookup row or column be in ascending order.
It can fail when its lookup row or column is unsorted, as is the case
with your sample data.

Try

="Supplier "&INDEX(A$1:D$1,MATCH(E2,A2:D2,0))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top