+ Reply to Thread
Results 1 to 4 of 4

if column D is a maximum, give me column G

  1. #1
    Registered User
    Join Date
    08-14-2019
    Location
    South Africa, Cape Town
    MS-Off Ver
    2016
    Posts
    2

    if column D is a maximum, give me column G

    I have a column of numbers which uses conditional formatting to highlight the max value, but i want excel to find the highest value in a column and give me the corresponding value in another cell.

    In the attached document I want the value in column G which is in the same row as the Max value in column D

    My thinking is "if column D is a maximum, give me column G"

    So i used the formulas :
    =IF(MAX=G3:G363, D3:D363)
    =IF(G3:G363=MAX, D3:D363)
    Attached Files Attached Files
    Last edited by AaronR882; 08-14-2019 at 04:38 AM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: if column D is a maximum, give me column G

    The easiest way would be
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If there are multiple rows containing the same max in column G then this will return the corresponding value from the first one found.

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: if column D is a maximum, give me column G

    b
    c
    d
    e
    f
    g
    242
    239
    19.9
    0.0609
    0.0240
    0.0369
    529.7396
    243
    240
    19.9
    0.0608
    0.0240
    0.0368
    529.9554
    244
    241
    19.8
    0.0606
    0.0240
    0.0366
    529.7073


    CF formula for column D:


    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Registered User
    Join Date
    08-14-2019
    Location
    South Africa, Cape Town
    MS-Off Ver
    2016
    Posts
    2

    Re: if column D is a maximum, give me column G

    These both work, Thanks a lot.

    *For others: If you are wanting this to work with values across worksheets finish the formula off as an array formula "ctrl + shift + enter"
    Last edited by AaronR882; 08-14-2019 at 04:51 AM.

+ 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. [SOLVED] How to make IF statement search in one column and give back value of another column?
    By arbazhamayun in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-22-2018, 10:06 AM
  2. Replies: 1
    Last Post: 10-13-2016, 07:14 AM
  3. Replies: 7
    Last Post: 10-07-2015, 03:01 PM
  4. Column chart need column to exceed axis maximum value
    By sqate in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-15-2015, 05:43 AM
  5. Excel copy images from Column B to column C and give them name of column A
    By sofianeuk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2015, 07:41 PM
  6. Replies: 2
    Last Post: 04-16-2014, 05:13 PM
  7. [SOLVED] calculate which cells in column A will give me the total of column
    By Ken in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2005, 03:06 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