+ Reply to Thread
Results 1 to 8 of 8

Formula to calculate how many unique items

  1. #1
    Registered User
    Join Date
    10-22-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Formula to calculate how many unique items

    Good Morning all...

    I've attached a copy of the sheet I am using.

    What it is is that I'm trying to calculate at the top how many runs there are...

    My formula is taking every single entry as a run... when infact a run is defined by 1 set of gritters going out on that day at that time...

    For example...

    If 43 gritters go out on runs... all at 20:00 hours on the 3rd of Nov 2012... that would count as 1 Run...

    Is there anyway to do this?

    Any help would be appreciated, thank you very much.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: Formula to calculate how many unique items

    So you want to count unique time in B column?? If so, here is the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula to calculate how many unique items

    Hi James,

    In which layout you need the solution..
    Is it Date then Run on that particular day ?
    OR,
    Date / Gritter / Run

    Can you share your desired layout.. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Registered User
    Join Date
    10-22-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Formula to calculate how many unique items

    It's date... and time to be honest.

    For example if all 43 go out at 21:00 on the 3/11/12 that would count as 1 run.

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula to calculate how many unique items

    ok.. and how you are obtaining 43 and 21 ?
    is it the maximum number and maximum time on any given date? thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  6. #6
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: Formula to calculate how many unique items

    You can try this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Entered with ctrl+Shift+Enter

  7. #7
    Registered User
    Join Date
    10-22-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Formula to calculate how many unique items

    Quote Originally Posted by dilipandey View Post
    ok.. and how you are obtaining 43 and 21 ?
    is it the maximum number and maximum time on any given date? thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    43 is the number of routes available... so on any given night at any given time. 1-43 runs could go out... but they would all equal 1 run. If they went out at the same time and same date.

    If I could get something that calculated on my right most column the times... and compared that to the date = how many runs. That would be perfect.

    Thanks btw for all your help. And I will try that forumla Sindhus.

  8. #8
    Registered User
    Join Date
    10-22-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Formula to calculate how many unique items

    bumpppppppp

+ 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