+ Reply to Thread
Results 1 to 7 of 7

Using IF(ISNUMBER with OR

  1. #1
    Registered User
    Join Date
    03-03-2015
    Location
    Terre Haute, IN
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Using IF(ISNUMBER with OR

    Ok. So Im creating a spreadsheet to track vacation time for my employees. I have three columns in question; C: AMOUNT RECEIVED, E: AMOUNT DEDUCTED and I: BALANCE. Im wanting to create a formula that leaves the cell in BALANCE blank, unless a value is entered into C: or E:, and if a value is entered into one of those columns then the BALANCE column will add the value from C: or subtract the value from E:.

    This is the formula I am using to accomplish this only taking into account IF a value is entered into E:, but I dont know how to take into account C: and E: at the same time:

    =IF(AND(ISNUMBER(E11)), I10+E11, "")

    Any help would be greatly appreciated!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Using IF(ISNUMBER with OR

    Hi, welcome to the forum

    Because you said "value" entered into C or E, try this...
    =IF(C11+E11=0,"",I10+E11)

    If you still have a problem, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Using IF(ISNUMBER with OR

    Try
    =IF(OR(C1<>"",E1<>""),I10+E11,"")

    You mention column C but its nowehere in your formula so base something on the above.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    03-03-2015
    Location
    Terre Haute, IN
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Re: Using IF(ISNUMBER with OR

    Here is a sample of what Im working with. Again, my goal is to leave the BALANCE column blank, unless a value is entered into the RECEIEVD or DEDUCTED columns, and if a value is added to either one of those columns, then display the balance in the corresponding row under the BALANCE column
    Attached Files Attached Files

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Using IF(ISNUMBER with OR

    Try this in I9 and filled down.

    =IF(COUNT(C9,E9),I8+C9-E9,"")

  6. #6
    Registered User
    Join Date
    03-03-2015
    Location
    Terre Haute, IN
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Re: Using IF(ISNUMBER with OR

    On the money!!! Thank you very much, you just relieved my headache instantly!

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Using IF(ISNUMBER with OR

    You're welcome.

+ 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. If or ISNUMBER help please
    By MARKY J in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 07:48 AM
  2. ISNUMBER AND OR Help Please
    By onetrade in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-18-2009, 03:20 PM
  3. Isnumber
    By 3smees23 in forum Excel General
    Replies: 5
    Last Post: 06-18-2009, 05:03 AM
  4. If isnumber
    By SOMLSS1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2008, 10:56 PM
  5. ISNUMBER
    By RJJ in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-04-2006, 07:30 PM

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