+ Reply to Thread
Results 1 to 4 of 4

How to choose "worst" value

  1. #1
    Registered User
    Join Date
    02-12-2020
    Location
    Vantaa, Finland
    MS-Off Ver
    Office 2016
    Posts
    2

    How to choose "worst" value

    I have an offer sheet where according item code (column A) I get product group (A, B, C and D where A is best and D is worst) to column L with VLOOKUP. Let's say cells L1 to L4 are A, B, C and D, I should be able to get worst product group value brought to cell K1.

    What would be the most straight forward way to do this?

    I hope you get what I am looking for!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,860

    Re: How to choose "worst" value

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-12-2020
    Location
    Vantaa, Finland
    MS-Off Ver
    Office 2016
    Posts
    2

    Re: How to choose "worst" value

    Attached very raw example of quotation and product categories. What I should get is, that if offer includes for example D category products, the total delivery time for complete offer is according D category.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: How to choose "worst" value

    As an array (shift control enter)


    =MIN(CODE(D4:D7))-64&" weeks"

    or also as an array

    =INDEX(H4:H7,MIN(CODE(D4:D7))-64)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  3. Lock row when I choose "Validated" in the column named "Status"
    By nsanta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2017, 01:29 AM
  4. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  5. Replies: 3
    Last Post: 12-05-2015, 09:44 AM
  6. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  7. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1