+ Reply to Thread
Results 1 to 4 of 4

If Then Function Help

  1. #1
    Registered User
    Join Date
    03-26-2008
    Posts
    18

    If Then Function Help

    I need help coming up with a function.

    Please see jpg.

    The Value 2 is the qualifier
    and Value 1 has a set of numbers
    The CONFIRM column is where I need the formulation.

    What I am trying to come up with is a formula that states the following.

    If A4 is less than or equal to B12 then -1.
    If A4 is greater than B12 then 0

    Thank you.

    The second jpg is what I want to cells to look like after adding the formula.

    \1

    \1

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    =if(a4<=b12,-1,0)

  3. #3
    Registered User
    Join Date
    03-26-2008
    Posts
    18
    Thank you!!!

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    Here are 3 formulas for you.
    Please Login or Register  to view this content.
    Last edited by sglife; 09-12-2008 at 08:40 PM.
    I need your support to add reputations if my solution works.


+ 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. How does this code output the coefficients of a trendline?
    By gshock in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-13-2010, 05:54 PM
  2. Excel 2007 error when adding custom help file to user defined function
    By sabotuer99 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2009, 01:10 AM
  3. How to display help text in the Insert function wizard (Excel)
    By sudhakard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2009, 11:01 AM
  4. Link together different cells in specific order?
    By Sandman4432 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 01-03-2008, 05:01 AM
  5. Analysis Toolpak Function XIRR and VBA - XL 2007
    By rvExcelNewTip in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-02-2007, 04:35 AM

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