+ Reply to Thread
Results 1 to 4 of 4

plus or minus another cell

  1. #1
    Registered User
    Join Date
    04-09-2007
    Posts
    3

    plus or minus another cell

    I have the following formula:

    =IF(AND(D4<D3,D4<D5,E3>B3,E3>C4,C5>C4,),D3-10,0)

    and I want to add a part to the formula that adds the following condition:

    D4 = BK4 plus or minus 5

    For example if BK = 100 I want the additional condition to be true if D4 is in the range 95-105 but I am not sure how to write this.

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by aaronwexler
    I have the following formula:

    =IF(AND(D4<D3,D4<D5,E3>B3,E3>C4,C5>C4,),D3-10,0)

    and I want to add a part to the formula that adds the following condition:

    D4 = BK4 plus or minus 5

    For example if BK = 100 I want the additional condition to be true if D4 is in the range 95-105 but I am not sure how to write this.
    Hi

    something like

    =IF(AND(D4<D3,D4<D5,E3>B3,E3>C4,C5>C4,AND(D4>=BK4-5,D4<=BK4+5)),D3-10,0)

    hth
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Registered User
    Join Date
    04-09-2007
    Posts
    3
    That is pretty much how I was trying to write it I just thought there might be a better way to do it.

    Thank You

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by aaronwexler
    That is pretty much how I was trying to write it I just thought there might be a better way to do it.

    Thank You
    Hi,

    the most simple, shortest way always works for me, and thanks for your response.

    ---

+ 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