+ Reply to Thread
Results 1 to 4 of 4

Determining if my IF statements are correct. Formula not outputting the data correctly

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Australia
    MS-Off Ver
    Excel 2011
    Posts
    3

    Determining if my IF statements are correct. Formula not outputting the data correctly

    I've attached the file for you guys to view.

    It will be much easier if you can view the spreadsheet from there.

    At the bottom right of the spread sheet.

    You will notice these fields

    Total Time Worked Hours : Min
    (Incl Leave & Adjustments) 144 : 45
    - Contract Hours 145 : 00
    Balance CR 0 :15



    Now the total contact ours is just standardized hours per month. Now As you can see there in the "Balance" field. I thas a credit of 15 minutes. When in actual fact it should be a debit (DR) of 15 minutes.

    If someone could check on my formula in that field to let me know if I've got anything wrong. It should be showing "DR 0:15" not CR.

    If anyone can help me out here. I'll be forever in your debt. Been trying so long to work this out


    Thanks (See attached file "Excel File.xlsx")

    Jason
    Attached Files Attached Files

  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
    53,053

    Re: Determining if my IF statements are correct. Formula not outputting the data correctly

    Hi and welcome to the forum

    Maybe add =?
    =IF(BalanceHrs<=0,"DR","CR")
    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
    Registered User
    Join Date
    01-28-2014
    Location
    Australia
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: Determining if my IF statements are correct. Formula not outputting the data correctly

    Quote Originally Posted by FDibbins View Post
    Hi and welcome to the forum

    Maybe add =?
    =IF(BalanceHrs<=0,"DR","CR")
    You FDibbins sir are the greatest.

    Thank you so much.

  4. #4
    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
    53,053

    Re: Determining if my IF statements are correct. Formula not outputting the data correctly

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to 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. [SOLVED] If formula not going through all if statements to return correct value
    By Wanna be excel wiz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-31-2013, 01:43 AM
  2. Replies: 9
    Last Post: 08-13-2012, 08:00 AM
  3. [SOLVED] Need Correct Formula - IF, VLOOKUP, AND Statements
    By RPINO in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-08-2012, 03:43 PM
  4. Help determining correct formula
    By excelmaster5000 in forum Excel General
    Replies: 2
    Last Post: 11-25-2009, 12:35 AM
  5. Replies: 15
    Last Post: 09-26-2006, 09:18 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