+ Reply to Thread
Results 1 to 10 of 10

Problems using the "IF" formula

  1. #1
    Short-Fused User
    Join Date
    06-15-2015
    Location
    Dunfermline
    MS-Off Ver
    2007
    Posts
    5

    Problems using the "IF" formula

    How to ask the question and keep it simple. I am no expert using excel and struggle with the easiest of formulas but need assistance using the "IF" command. I have a works spreadsheet which is used by employees to keep track of their leave allocation but it needs finalised so that employees know exactly what leave they have left at the end of the day. I'll keep all info as easy as possible.
    1. Column E = No of hours this request
    2. Column F = No of hours left to take
    3. Column G = Approved (requires a YES/NO response from management)
    Providing Approved (Col G) = Yes, I can get column F to show the correct number of hours left (F - E). My problem is when the approved column = NO. Column E is still subtracted from column F giving the impression that the employee has used more hours than he actually has. I require a formula that will prevent hours being deducted if the Approved column returns a NO response
    I hope someone out there is following what I am trying to achieve because I am now totally confused
    Operating system is Windows 7
    Microsoft office version 2007
    Please try to keep any response DEAD simple because like I said, I'm an idiot when it comes to excel

    Regards
    warrantX1145
    Attached Files Attached Files
    Last edited by warrantX1145; 06-15-2015 at 08:31 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Problems using the "IF" formula

    I'd do something like this... maybe...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Problems using the "IF" formula

    Something like this?
    Attached Files Attached Files

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Problems using the "IF" formula

    Since this is an Excel forum an Excel file would be more appropriate than a Word document.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    08-04-2009
    Location
    Golborne England
    MS-Off Ver
    2013
    Posts
    85

    Re: Problems using the "IF" formula

    Try this formula in column G row 5.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    08-04-2009
    Location
    Golborne England
    MS-Off Ver
    2013
    Posts
    85

    Re: Problems using the "IF" formula

    Sorry , Row 6

  7. #7
    Short-Fused User
    Join Date
    06-15-2015
    Location
    Dunfermline
    MS-Off Ver
    2007
    Posts
    5

    Re: Problems using the "IF" formula

    Thank you for your not so helpful advice Tony. I am aware that this is an excel forum but you need to cut some people a little slack the first time they use the forum. The only reason I did it the way I did was to give people an idea of what I was talking about. You may be a Forum guru but your certainly not a people person. Cheers

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Problems using the "IF" formula

    You're welcome. Thanks for the feedback!

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Problems using the "IF" formula

    Hey Biff,

    I disagree with that OP - I think you're swell
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Problems using the "IF" formula

    Thanks! Appreciate that!

+ 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] Problems with formatting data ("General" to "Dates")
    By neori in forum Excel General
    Replies: 3
    Last Post: 03-13-2015, 10:34 AM
  2. [SOLVED] newbie using lots of nested "if"s and"and"s. Parenthesis problems?
    By thnkfree in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-14-2014, 08:17 PM
  3. Replies: 3
    Last Post: 03-25-2014, 06:55 AM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. [SOLVED] If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 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