+ Reply to Thread
Results 1 to 2 of 2

IF and aggregate function

  1. #1
    Registered User
    Join Date
    MS-Off Ver
    Excel 2016

    IF and aggregate function


    I have a formula which equals to "CMB" and would like to also equals "AS-07", is this possible with the following formula:

    =IFERROR(INDEX('List of Ex1-5'!$B$2:$B$150,AGGREGATE(15,6,(ROW('List of Ex1-5'!$B$2:$B$150)-ROW('List of Ex1-5'!$B$2)+1)/('List of Ex1-5'!$A$2:$A$150="CMB"),ROWS(A$1:A1))),"")


  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)

    Re: IF and aggregate function

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

+ 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. aggregate function
    By jojo101 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2020, 01:16 AM
  2. Aggregate function sum
    By barrenaj in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-16-2019, 12:27 PM
  3. [SOLVED] VBA Aggregate Function
    By Gregor y in forum Access Programming / VBA / Macros
    Replies: 9
    Last Post: 02-27-2017, 03:17 AM
  4. [SOLVED] AGGREGATE Function
    By chief_abound in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2015, 12:48 AM
  5. Aggregate Function Using Sum
    By gtbaseball7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-01-2015, 02:19 PM
  6. Aggregate Function
    By nav505 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2013, 03:20 AM
  7. Aggregate function
    By stefantem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2006, 04:47 AM


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