+ Reply to Thread
Results 1 to 5 of 5

Return highest value, except from one cell i same column

  1. #1
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    173

    Return highest value, except from one cell i same column

    Hello!

    Do anyone of you know how to return the highest value from a column, excluding value in one cell?

    The adress are defined in the macro:
    Adress2 = c3
    Adress1=c24
    Adress0 = c6


    Please Login or Register  to view this content.
    Last edited by Hjahren; 10-26-2010 at 10:12 AM.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Return highest value, except from one cell i same column

    You can use the Union operator to join the cells above the excluded cell to the cells below and then use Max on that.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    173

    Re: Return highest value, except from one cell i same column

    Could you please help me with that? I don't know what to write

  4. #4
    Forum Contributor
    Join Date
    03-09-2010
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    173

    Re: Return highest value, except from one cell i same column

    The problem is that these cells will change as I run the macro through all the rows

  5. #5
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Return highest value, except from one cell i same column

    The real problem is that you haven't really told us what you are doing.
    You will need two start addresses and two stop address, then you can use something like:
    Please Login or Register  to view this content.
    and take the max of that. You might also be able to do it using Evaluate if there is some consistency to the layout, but this is all guesswork currently.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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