+ Reply to Thread
Results 1 to 7 of 7

MAX IF formula returns run time error

  1. #1
    Forum Contributor
    Join Date
    10-12-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016 in 2024
    Posts
    857

    MAX IF formula returns run time error

    I am sure this is relatively simple, but I am trying to combine Max and if and I want it to include the last row on my worksheet. So far I have used:

    Please Login or Register  to view this content.
    But this returns a run time error. What am I doing wrong?

    Edit: Sorry, meant to post this in the VBA section.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: MAX IF formula returns run time error

    maym

    Moderator note: I will move it for you.
    Dave

  3. #3
    Forum Contributor
    Join Date
    10-12-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016 in 2024
    Posts
    857

    Re: MAX IF formula returns run time error

    thank you

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: MAX IF formula returns run time error

    Mixing up xlA1 and R1C1 notation.
    Perhaps.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    10-12-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016 in 2024
    Posts
    857

    Re: MAX IF formula returns run time error

    same error unfortunately. Inserting a hard number would work also if that is easier? E.g.

    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: MAX IF formula returns run time error

    Ahhh, missing closing bracket at the end
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-12-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016 in 2024
    Posts
    857

    Re: MAX IF formula returns run time error

    Yes, that worked! Thank you

+ 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] VLOOKUP formula does not return expected value. Suspected error in formula. Returns N/A
    By ZMAFC94 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-31-2018, 04:33 AM
  2. [SOLVED] Recorded Macro returns Run-time error '1004'
    By absconditus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-05-2015, 04:56 AM
  3. Print Range H2 to End of Row
    By ub3rm0nk3y in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2013, 10:59 AM
  4. IE.document.getElementByID returns run-time error '91'
    By matt100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-25-2013, 09:32 PM
  5. [SOLVED] formula returns VALUE error
    By mkmed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2012, 12:12 AM
  6. VBA Code for IF Statement returns Run-Time Error 1004
    By esphero in forum Excel General
    Replies: 3
    Last Post: 03-22-2012, 07:06 AM
  7. Formula returns #VALUE! error
    By dwiseman in forum Excel General
    Replies: 10
    Last Post: 02-25-2010, 12: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