+ Reply to Thread
Results 1 to 3 of 3

Vlookup & If statement

  1. #1
    Registered User
    Join Date
    01-05-2006
    Posts
    9

    Angry Vlookup & If statement

    I am trying to write a formula that returns the following:

    I am wanting to do a Vlookup and if the value that the vlookup returns is less than zero I want to return zero. If the value that the vlookup returns is greater than zero then I want to see that value.

    Any Help would be appreciated

  2. #2
    Bob Phillips
    Guest

    Re: Vlookup & If statement

    =MAX(vlookup_formula,0)

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "rmeister" <rmeister.23wc7z_1141057801.2867@excelforum-nospam.com> wrote in
    message news:rmeister.23wc7z_1141057801.2867@excelforum-nospam.com...
    >
    > I am trying to write a formula that returns the following:
    >
    > I am wanting to do a Vlookup and if the value that the vlookup returns
    > is less than zero I want to return zero. If the value that the vlookup
    > returns is greater than zero then I want to see that value.
    >
    > Any Help would be appreciated
    >
    >
    > --
    > rmeister
    > ------------------------------------------------------------------------
    > rmeister's Profile:

    http://www.excelforum.com/member.php...o&userid=30163
    > View this thread: http://www.excelforum.com/showthread...hreadid=516906
    >




  3. #3
    Guest

    Re: Vlookup & If statement

    Hi

    Try something like:

    =MAX(your vlookup,0)

    Andy.

    "rmeister" <rmeister.23wc7z_1141057801.2867@excelforum-nospam.com> wrote in
    message news:rmeister.23wc7z_1141057801.2867@excelforum-nospam.com...
    >
    > I am trying to write a formula that returns the following:
    >
    > I am wanting to do a Vlookup and if the value that the vlookup returns
    > is less than zero I want to return zero. If the value that the vlookup
    > returns is greater than zero then I want to see that value.
    >
    > Any Help would be appreciated
    >
    >
    > --
    > rmeister
    > ------------------------------------------------------------------------
    > rmeister's Profile:
    > http://www.excelforum.com/member.php...o&userid=30163
    > View this thread: http://www.excelforum.com/showthread...hreadid=516906
    >




+ 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