+ Reply to Thread
Results 1 to 3 of 3

Count Functions

  1. #1
    Registered User
    Join Date
    10-14-2012
    Location
    china
    MS-Off Ver
    office 2007
    Posts
    0

    Count Functions

    hello!

    I have 2 seperate sheets..
    I would like to use a count function on the second sheet to track the hours from the first sheet..

    It should search the day for "OPT" or "Break" then count the number allocated 2 cells to the right

    each row counts for 15 minutes
    I understand that count formula's & merged cells do not work well so that is why i would like to count the number 2 cells over to the right

    any help would be great!

    Thanks!

    I have attached the spread sheet
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Count Functions

    Have a look at COUNTIF or COUNTIFS.

    You might struggle with those merged cells, but give it a go.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Count Functions

    1) Change the word "Breaks" to "Break" C2
    2) Put this formula in B3: =SUMIF('day1'!$A:$A,B$2,'day1'!$C:$C)
    3) Copy B3 to C3
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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