+ Reply to Thread
Results 1 to 4 of 4

Formula Syntax for AGGREGATE and Multiple IF Statements

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Formula Syntax for AGGREGATE and Multiple IF Statements

    I am trying to craft a formula for cell [E4] that I can drag down and generate dates for the data that fits the Column B “Venue” criteria and the Column C “Total” criteria >0. Formula results express the previous date from the target date where a total value >0 occurred for a specific venue (with the exception of the first date seen. Seems to behave when “Moose Pond” [$G$1] is loaded into the formula but reference to ERNC [$J$1] comes up FALSE. If I reverse the sequence position of $G$1 and $J$1 in the formula, the dates are correct for ERNC but now FALSE for Moose Pond. I think I am close but I have tried so many variations with left/right parentheses, quotation marks, etc. that my eyes have crossed. I am sure there is a way to do this. Formulas in columns G-I and J-L are dedicated to Moose Pond and ERNC respectively and seem to work. Also, I am not sure if there is a way to have the date result show up in the same row as the dates in Column A, but that is a minor distraction. Many thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,260

    Re: Formula Syntax for AGGREGATE and Multiple IF Statements

    ??? In E2, copied down:

    =IF(AND(OR(B2="Moose Pond",B2="ERNC"),C2>0),A2,"")

    and in F2, copied down:
    =IF(E2<>"",LEFT(B2),"")

    See sheet.

    ????
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 12-31-2018 at 04:59 AM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Re: Formula Syntax for AGGREGATE and Multiple IF Statements

    Well, that was AWESOME! Sure cleaned up a formula that was way out of my league. Thanks so much!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,260

    Re: Formula Syntax for AGGREGATE and Multiple IF Statements

    Your own formulae looked pretty awesome, too... but maybe they went around in cirlces a bit!!

    Anyhow, you're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] Syntax for multiple if/and formula
    By Omegaman2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-14-2018, 02:53 AM
  2. Formula with multiple IF statements and IF AND statements
    By lottidotti in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2013, 08:03 AM
  3. What is the syntax for IF() statements, please provide some samples
    By bijjula.mallikarjun in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-26-2013, 09:39 PM
  4. [SOLVED] Syntax for formula that uses multiple conditions inside of multiple IF statements
    By njmiller31 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2013, 11:55 AM
  5. VBA Syntax to loop and do if then else statements
    By 1234567890 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-19-2011, 10:39 PM
  6. multiple if statements/conditions syntax
    By kamelkid2 in forum Excel General
    Replies: 3
    Last Post: 01-13-2011, 10:18 AM
  7. Replies: 12
    Last Post: 05-15-2009, 08:38 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