Results 1 to 13 of 13

Modify teh present formula

Threaded View

  1. #1
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,062

    Modify teh present formula

    Hello,

    I'd like to have a formula in order to subtract hours take into account 1 condition.
    -If he/she is on duty (the simbol can be: N, N1, N2, N3, N4) in the last day of month then subtract 6.
    I use for calculation this one:
    Col AQ: COUNTIF($C12:$AG12,AQ$11)*AQ$10
    for example, the first guy works 4 nights, I multiply by 8, result 32, now because he works in the last day of month I need to subtract 6 hours, so the result should be 32-6=26.

    Attached a test file for your reference.
    Thank you very much for your help!
    Attached Files Attached Files
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel 2003 formula - modify one cell, another cell track the modify date
    By baby0596cw in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-06-2014, 12:55 PM
  2. Replies: 2
    Last Post: 09-03-2014, 03:37 AM
  3. [SOLVED] formula to tell me when someone is present on work, present late and early departure.
    By Shellybelly in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2013, 01:38 AM
  4. Replies: 1
    Last Post: 08-14-2013, 10:41 PM
  5. [SOLVED] Auto Hiding rows based on range/data present or not present.
    By raze in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 02-10-2013, 11:27 AM
  6. Copy For Cell Values Present and not Formulas Present
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2009, 12:10 PM
  7. formula from past day to present day
    By tigertim71 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-29-2008, 03:37 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