+ Reply to Thread
Results 1 to 10 of 10

How many unique areas have been visited by vehicle in date range

  1. #1
    Registered User
    Join Date
    05-18-2011
    Location
    Kuwait
    MS-Off Ver
    Excel 2007
    Posts
    4

    How many unique areas have been visited by vehicle in date range

    Dear Experts,

    I need a small help to find a suitable formula for my report.
    Attached Files Attached Files
    Last edited by AliGW; 02-19-2022 at 10:52 AM. Reason: Title changed - please think more carefully about your thread titles in future!

  2. #2
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,788

    Re: Need Help for the formula

    Welcome to the forum.

    Nowhere near enough detail and your thread title tells us nothing.

    Please explain the help you need and change your thread title to summarise the requirement. 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.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Need Help for the formula

    Well, you will need to give a bit more information than that !

    It would also help if you attached a sample Excel workbook, and you can do this by following the instructions given in the yellow banner at the top of the screen.

    Pete

  4. #4
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,788

    Re: Need Help for the formula

    Sorry - the attachment has nothing mocked up to show us what you want.

    No help to be offered here until (a) the OP has explained what they want help with and what is meant to happen and (b) the title has been updated to reflect this.

  5. #5
    Registered User
    Join Date
    05-18-2011
    Location
    Kuwait
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need Help for the formula

    Dear AliGW,

    Thank you for your quick response. I have attached the file again actually I have never posted any query before that's why might not be able to attach the file correctly.

    In my attached spreadsheet there are two tabs report & Data. In the highlighted yellow table I would like to count how many unique areas have been visited by vehicle no (11/17055) from (1 Nov 2021 to 4 Nov 2021).

    Thanks in advance for your help and support.
    Attached Files Attached Files

  6. #6
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,788

    Re: How many unique areas have been visited by vehicle in date range

    But the yellow boxes are still empty!

    Please manually fill in the top row at least with the values you are expecting to see there (NOT formulae).

    I have changed your thread title for you. Please read the forum rules to understand what is required of you here. Thanks.

  7. #7
    Registered User
    Join Date
    05-18-2011
    Location
    Kuwait
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How many unique areas have been visited by vehicle in date range

    Hi,

    Thanks again for your guidance. As per your instruction, I have entered one vehicle data manually in the table.

    Hope this time I provided the required information.

    Thanks
    Attached Files Attached Files

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

    Re: How many unique areas have been visited by vehicle in date range

    In C14, copied across and dnown:

    =SUM(INDEX((Data!$D$3:$D$412=Report!C$13)*(Data!$B$3:$B$412=Report!$B14)*(Data!$C$3:$C$412<>"")/COUNTIFS(Data!$B$3:$B$412,Data!$B$3:$B$412&"",Data!$D$3:$D$412,Data!$D$3:$D$412&"",Data!$C$3:$C$412,Data!$C$3:$C$412&""),0))
    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

  9. #9
    Registered User
    Join Date
    05-18-2011
    Location
    Kuwait
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How many unique areas have been visited by vehicle in date range

    Dear Glenn,

    Many thanks the formula is working fine.

    Regards,
    Faisal

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

    Re: How many unique areas have been visited by vehicle in date range

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Replies: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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