+ Reply to Thread
Results 1 to 9 of 9

how to calculate and avoid

  1. #1
    Registered User
    Join Date
    07-27-2017
    Location
    Kikinda, Serbia
    MS-Off Ver
    MS Office 2007
    Posts
    17

    how to calculate and avoid

    Hello to all.

    I have some difficulties, since I am begginer or just a user in EXCELL but I love to learn.

    I have data in column: "06-18" , "18-06" , "FREE", "VACATION". That is all the way trough month from 1-st to 31-st day, and at bottom i need to calculate but wich formula to use?
    it should calculate: 06-18 and 18-06 as 12 and to ignore FREE AND VACATION cells.



    thanks
    Attached Files Attached Files
    Last edited by chudoviste; 10-19-2017 at 02:36 PM. Reason: ADDING FILE

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: how to calculate and avoid

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-27-2017
    Location
    Kikinda, Serbia
    MS-Off Ver
    MS Office 2007
    Posts
    17

    Re: how to calculate and avoid

    Thanks, I uploaded file and removed picture/image.

    I didnt know wich function to use or is data in file properly inserted/formated

  4. #4
    Registered User
    Join Date
    07-27-2017
    Location
    Kikinda, Serbia
    MS-Off Ver
    MS Office 2007
    Posts
    17

    Re: how to calculate and avoid

    i we uploaded two files. I just need formula, wich will in bottom row "Ukupno" sum hours from entire column avoiding FREE and/or VACATION.
    FREE and VACATION are not every month in same day, it is monthly shift shedulle and working hours calculator.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: how to calculate and avoid

    put this in B34 =COUNTIFS($B$3:$B$32,"<>FREE",$B$3:$B$32,"<>VACATION")*12 and copy over to the appropriate cells

  6. #6
    Registered User
    Join Date
    07-27-2017
    Location
    Kikinda, Serbia
    MS-Off Ver
    MS Office 2007
    Posts
    17

    Re: how to calculate and avoid

    I did, and error jump

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: how to calculate and avoid

    slight amendment to the formula. See attached. Works
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-27-2017
    Location
    Kikinda, Serbia
    MS-Off Ver
    MS Office 2007
    Posts
    17

    Re: how to calculate and avoid

    Thanks. You have black beer from me. I hope you can see picture.

    Zajecarsko0.jpg

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,735

    Re: how to calculate and avoid

    You can award reputation points to the person who helped you.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. What to Avoid in VBA
    By pierre08 in forum Excel Programming / VBA / Macros
    Replies: 180
    Last Post: 03-03-2019, 03:31 PM
  2. How to avoid #N/A.
    By bablubg in forum Excel General
    Replies: 6
    Last Post: 03-27-2014, 01:43 AM
  3. Formula to calculate forwarded week of supply at the end to avoid the NA
    By goicuon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-04-2013, 05:53 PM
  4. How to avoid #Value!
    By raviabburi in forum Excel General
    Replies: 8
    Last Post: 11-27-2009, 03:56 AM
  5. Avoid #!REF
    By gtorres in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2007, 01:36 PM
  6. Help! Trying to avoid cut & pasting!
    By Sethaholic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2006, 05:15 PM
  7. what is this, how do I avoid it?
    By datadude1959 in forum Excel General
    Replies: 2
    Last Post: 09-29-2005, 01:05 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