+ Reply to Thread
Results 1 to 5 of 5

MAX not working

Hybrid View

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    14

    MAX not working

    Hi hope someone can help. Using the following formula =MAX(B14,D14,F14,H14,J14), but is not really capturing the cost value that I need. I need to capture the cost from the last cell that has a value in it that is not 0, the cost can fluctuate so the MAX does not work.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: MAX not working

    hi shymac, perhaps
    =LOOKUP(2,1/((MOD(COLUMN(B14:J14),2)=0)*(B14:J14<>0)),B14:J14)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    01-14-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: MAX not working

    This looks like it will work just needs to be tweaked a little, how do I get rid of #N/A and return 0
    Last edited by shymac; 03-20-2013 at 09:30 AM.

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,007

    Re: MAX not working

    Cross-post here, BTW.
    Everyone who confuses correlation and causation ends up dead.

  5. #5
    Registered User
    Join Date
    01-14-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: MAX not working

    Thanks works great

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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