Results 1 to 5 of 5

2 check if statement

Threaded View

  1. #1
    Registered User
    Join Date
    10-08-2010
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    3

    2 check if statement

    Hello all,

    I'm trying to do a 2 check statement, and i nearly have it, but the last bit is beating me and i'm confused as to how tofix it.

    my formula is:

    =IF(Input!D5-Input!E5=0, ROUND((Input!E5/(Input!O2/100+1)),2),IF(Input!G5 =1,ROUND((Input!E5/(Input!O2/100+1)+Input!E5),2),0))

    the 2 checks i need are:
    1. Input!D5-Input!E5=0
    2. Input!G5 =1

    the first bit seems to be ok, if Input!D5-Input!E5=0 it does ROUND((Input!E5/(Input!O2/100+1)),2). If it doesnt = 0 it does ROUND((Input!E5/(Input!O2/100+1)+Input!E5

    but the second criteria seems to be letting me down, if Input!G5 is blank it is still outputting a calculated value into the cell, not the 0 i want for a false result on the if.

    hope the above makes sence. any help would be very very greatfully recieved.
    Last edited by richy1066; 10-11-2010 at 04:13 AM. Reason: solved

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