+ Reply to Thread
Results 1 to 5 of 5

IF/AND function to calculate remaining balance

  1. #1
    Registered User
    Join Date
    11-17-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    3

    IF/AND function to calculate remaining balance

    I am working on building a Vacation tracker and I am trying to create a formula that depending on the name of employee and the vacation code counts the number of hours used and provides the remaining balance from the alloted balance. This is the function I am using but it is returning the #N/A error

    =IF(AND(Vacations[[#All],[Employee Name]]=M31:M34,Vacations[[#All],[Vacation Code]]=2),N30-Vacations['# of days taken]*8,FALSE)

    Can someone please help with this?

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,414

    Re: IF/AND function to calculate remaining balance

    Hello and welcome to the forum,

    Difficult to test and answer without seeing your actual data but I would say that this part is incorrect
    Please Login or Register  to view this content.
    Please provide sample workbook if possible.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Registered User
    Join Date
    11-17-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: IF/AND function to calculate remaining balance

    Tracker.xlsx

    I have attached the worksheet. Thanks!

  4. #4
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,414

    Re: IF/AND function to calculate remaining balance

    Hello,

    See the cells in yellow.
    One column for the Balance at the beginning of the period,
    One to calculate the number vacations hours taken,
    One to calculate the remaining number of hours...

    Tracker.xlsx

  5. #5
    Registered User
    Join Date
    11-17-2013
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: IF/AND function to calculate remaining balance

    Thank you!

+ 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. Replies: 6
    Last Post: 06-14-2018, 03:05 PM
  2. [SOLVED] Calculate time remaining
    By WendyvdV in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-27-2015, 08:44 AM
  3. Remaining Containers based on Quantity balance
    By thong127 in forum Excel General
    Replies: 3
    Last Post: 02-18-2015, 05:29 PM
  4. [SOLVED] How to calculate the remaining rates for a loan
    By ShadowHash in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-11-2014, 04:49 PM
  5. Replies: 5
    Last Post: 05-19-2010, 12:03 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