+ Reply to Thread
Results 1 to 5 of 5

Google Sheets: Returning value of cell on the same row as another, when using MAXIFS

  1. #1
    Registered User
    Join Date
    01-08-2021
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    4

    Google Sheets: Returning value of cell on the same row as another, when using MAXIFS

    Hi all!

    I'm having a competition for some kids that are competing in different groups. I'm trying to come up with an excel sheet which shows them the place that they are currently in.
    Using MAXIFS I'm able to get the correct score. When trying to put the corresponding name to this score, this will sometimes give the wrong output when there are multiple contestants with the same score. It will always pick the first row with the score found.

    Is there some way to use MAXIFS to get the value in the "Contestant" column to match the score value and group value?

    I'm using docs.google.com spreadsheet for this - not sure which version of excel that is.

    Greatful for any comments or solutions!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,593

    Re: Returning value of cell on the same row as another, when using MAXIFS

    Welcome to the forum.

    Try this in I4 copied down:

    =LOOKUP(2,1/(($C$2:$C$16=G4)*($D$2:$D$16=J4)),$B$2:$B$16)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,593

    Re: Returning value of cell on the same row as another, when using MAXIFS

    Just noticed this:

    I'm using docs.google.com spreadsheet for this - not sure which version of excel that is.
    It isn't a version of Excel. If that's what you are using, then put Google Sheets in your profile. I'm moving this thread to the appropriate forum section.

  4. #4
    Registered User
    Join Date
    01-08-2021
    Location
    Norway
    MS-Off Ver
    2016
    Posts
    4

    Re: Returning value of cell on the same row as another, when using MAXIFS

    Hi and thanks!

    This works on my Excel 2013, but not on Google sheets - is there some conversion that needs to be done?
    Also, I see you use 2 as the search key. What does this '2' mean.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,593

    Re: Google Sheets: Returning value of cell on the same row as another, when using MAXIFS

    I have no idea about Google Sheets - sorry. You’ll have to wait for someone who does.

+ 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. Google Sheets: Formatting a cell with 0.00000000
    By Jetheat in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 12
    Last Post: 05-14-2020, 02:56 PM
  2. [SOLVED] Google sheets: Function to return a value from another tab/cell
    By rayted in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-27-2019, 02:04 PM
  3. [SOLVED] Sending emails from a cell value via google sheets.
    By Needhelpdfec in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2019, 12:44 PM
  4. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  5. [SOLVED] Text and Today() function not returning date in right format (Google sheets)
    By rayted in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 08-10-2018, 12:01 PM
  6. Google Sheets: Background cell color changes
    By jher001 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 04-07-2018, 10:42 AM
  7. email row contents based on cell values (google sheets populated by google forms)
    By reedg in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-13-2016, 02:55 PM

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