+ Reply to Thread
Results 1 to 3 of 3

If cell contains....

  1. #1
    Registered User
    Join Date
    11-30-2011
    Location
    Norwich england
    MS-Off Ver
    Excel 2010
    Posts
    3

    Unhappy If cell contains....

    Using =IF(D4+D3>0,D4+D3,"Z") is there a way that I could replace D4+D3 with the highest value ?
    Lets say that D4+D3 was above 0 then is there a way to have the value in the cell equal to the highest value in area D3:D10.
    Sorry about the poor explanation,
    Adam.
    Last edited by Birchall; 11-30-2011 at 11:19 AM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: If cell contains....

    Try:

    =IF(D4+D3>0,MAX(D3:D10),"Z")

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: If cell contains....

    Try this

    IF(D4+D3>0,MAX(D1:D10),"Z")
    Please take time to read the forum rules

+ 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