Page 1
Page 1
Started By
Message

Microsoft Excel Question.. What formula do I need?

Posted on 3/8/19 at 3:39 pm
Posted by prostyleoffensetime
Mississippi
Member since Aug 2009
11434 posts
Posted on 3/8/19 at 3:39 pm
I have a spreadsheet for my farm that lists chemical vendors in B1:F1. In B2:F2, are each vendor’s price of an identical product given to me. I have the MIN(B2:F2) formula in G2 and it obviously tells me what price is the lowest.

I’d like a formula in H2 that tells me which vendor had that low price in G2. For example, if the low vendor in B2:F2 is D2, then D1 has won my business for that product. In H2, I want the name of the company in D1.

This is probably not very difficult, but I’m on an iPad, and Excel on an iPad is still new to me so I’m hoping that someone here can point me in the right direction.
Posted by nctiger71
North Carolina
Member since Oct 2017
1320 posts
Posted on 3/8/19 at 3:47 pm to
Vlookup might do it. Look that up in help and it should tell you the correct argument structure. Not sure but you may have to switch columns as vlookup only looks right.

quote:

VLOOKUP is an Excel function to lookup and retrieve data from a specific column in table. VLOOKUP supports approximate and exact matching, and wildcards (* ?) for partial matches. The "V" stands for "vertical". Lookup values must appear in the first column of the table, with lookup columns to the right.
This post was edited on 3/8/19 at 3:56 pm
Posted by Chinese Bandit
Edmond, Ok
Member since Jan 2004
1543 posts
Posted on 3/8/19 at 3:59 pm to
Put this in H2

=INDEX(B1:F1,MATCH(G2,B2:F2,0))

Posted by Dead Mike
Cell Block 4
Member since Mar 2010
3380 posts
Posted on 3/8/19 at 6:00 pm to
Or in H1:

=INDEX(B1:F1,MATCH(MIN(B2:F2),B2:F2,0))
This post was edited on 3/8/19 at 6:01 pm
Posted by Brettesaurus Rex
Baton Rouge
Member since Dec 2009
38259 posts
Posted on 3/8/19 at 7:22 pm to
Vlookup would only work of the prices are all unique.
Posted by prostyleoffensetime
Mississippi
Member since Aug 2009
11434 posts
Posted on 3/9/19 at 1:46 pm to
quote:

=INDEX(B1:F1,MATCH(G2,B2:F2,0))


This did the trick. Thanks.
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram