+ Reply to Thread
Results 1 to 4 of 4

maximum of cells containing same value in two other columns

Hybrid View

  1. #1
    Registered User
    Join Date
    01-05-2018
    Location
    New Zealand
    MS-Off Ver
    MsExcel 2016
    Posts
    12

    maximum of cells containing same value in two other columns

    Hi all,

    I want to calculate the min and maximum of cells containing same value in two other columns.

    I used the formula below but it returns 0 whenever the frequency is not included (i.e the number of inhabitants, as in the attached sheet).

    IFERROR(IF(ISNUMBER(G$2),MIN(IF(($F3=$A$2:$A$31)*(G$2=$B$2:$B$31),$C$2:$C$31)),MIN(IF($F3=$A$2:$A$31,$C$2:$C$31))),"")

    Kindly find attached the data file

    Any help will be appreciated.

    Thanks.

    cdad
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: maximum of cells containing same value in two other columns

    with PowerQuery (Get&Transform)

    is that what you want?
    Attached Files Attached Files

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,736

    Re: maximum of cells containing same value in two other columns

    I gave an answer in your original thread here
    Audere est facere

  4. #4
    Registered User
    Join Date
    01-05-2018
    Location
    New Zealand
    MS-Off Ver
    MsExcel 2016
    Posts
    12

    Re: maximum of cells containing same value in two other columns

    Thanks all. I really appreciate all your responses. I was successfully able to apply DaddyLongleg's formula.

+ 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] Maximum consecutive columns with value equal or above 2
    By Teddy Tash in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-24-2016, 02:09 PM
  2. Maximum values from matching cells in two columns
    By Brontosaurus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-28-2014, 11:36 AM
  3. Maximum Number of Columns
    By martin.j.h in forum Excel General
    Replies: 6
    Last Post: 11-26-2013, 11:44 AM
  4. Replies: 2
    Last Post: 06-25-2013, 08:22 PM
  5. Maximum width of several columns
    By SteveX in forum Excel General
    Replies: 2
    Last Post: 06-06-2008, 11:27 PM
  6. [SOLVED] auto open all columns to their maximum
    By Paul in forum Excel General
    Replies: 2
    Last Post: 09-08-2005, 12:05 PM
  7. [SOLVED] what is the maximum columns I can have on an excel workbook
    By Zee in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-12-2005, 05:06 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