+ Reply to Thread
Results 1 to 20 of 20

count the no. of visit

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    count the no. of visit

    Is there way to count the total visit in a day by every visitor in the column E. Column B is having the id/Name of visitor, Column C is having the Location on which visitors visit. You can get idea from attached screenshot. Plz help asap...
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: count the no. of visit

    I'm thinking Pivot table or PowerQuery
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    Sir I want to calculate for ID 629141 from C1 to C3, this result shows in E5 cell, respectively for every ID mentioned in column B, result come must be in column E. I have already mentioned the result in column E manually. I want it to calculate by vba or formulla.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: count the no. of visit

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.

  5. #5
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    Glad to here from you I am attaching a xlsx file.
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: count the no. of visit

    This can be done with a simple formula. In D2 copied down:

    =IF(OR(AND(B2="",B3<>""),AND(B2<>"",B3<>""),C3=""),COUNTA(C$2:C2)-SUM(D$1:D1),"")

  7. #7
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    Thanks a lot for your support. It works like nothing but miracle.

  8. #8
    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,869

    Re: count the no. of visit

    LOL! No miracle, just a formula.

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

  9. #9
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    Ma'm Little bit more, as per xlsx attachment the result should be in same row of which salesman name is. Like Mr. Atul Kumar result is in A2, its ok. But result of Mr. Brij should be in D3, result of Mr. Danish should be in D6, and Same with each. In simple result should be in same row of the salesman's name.
    By the way, this is working with last row of visit.
    Thanks again

  10. #10
    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,869

    Re: count the no. of visit

    I set it up based on the screenshot at the top of the page.

  11. #11
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    k if its not possible, then your previous kind is enough to do my work.
    Thank you

  12. #12
    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,869

    Re: count the no. of visit

    It's possible - I just don't have time at the moment - sorry.

  13. #13
    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,869

    Re: count the no. of visit

    Based on the workbook in your duplicate thread, try this:

    =IF(COUNTBLANK(B$2:B2)=COUNTBLANK(B$1:B1),SUMIF($J$2:$J$38,J2,$D$2:$D$38),"")

  14. #14
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    Plz help if possible. Above formula is not working. i have to calculate manually and my sheet has nearly 750 rows so I find it difficult. I have uploaded the attachment and hope you will come through my problems.
    Attached Files Attached Files
    Last edited by amarjeet.it; 04-24-2019 at 09:06 AM. Reason: incompleted

  15. #15
    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,869

    Re: count the no. of visit

    See post #13.

  16. #16
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    post #13
    =IF(COUNTBLANK(B$2:B2)=COUNTBLANK(B$1:B1),SUMIF($J$2:$J$38,J2,$D$2:$D$38),"")
    result is 0 only at every point
    Last edited by amarjeet.it; 04-24-2019 at 09:13 AM.

  17. #17
    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,869

    Re: count the no. of visit

    Sorry - I forgot the helper column. In J2 copied down:

    =COUNTA(B$2:B2)

  18. #18
    Registered User
    Join Date
    02-22-2013
    Location
    India
    MS-Off Ver
    2010
    Posts
    87

    Re: count the no. of visit

    working working working just working.....
    Thank you

  19. #19
    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,869

    Re: count the no. of visit

    No problem. Please mark the thread as solved.

  20. #20
    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,869

    Re: count the no. of visit

    Never mind - I'll do it for you.

+ 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. next visit threshold
    By Dryclean in forum Excel General
    Replies: 1
    Last Post: 02-12-2015, 05:33 PM
  2. Daily Visit Report
    By Naseeer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2015, 06:02 PM
  3. [SOLVED] Count the number of visits by visit types.
    By Marvin85 in forum Excel General
    Replies: 8
    Last Post: 10-02-2014, 05:19 PM
  4. Rotation Visit Schedule
    By kombra1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2014, 10:36 AM
  5. Visit organiser
    By censura in forum Excel General
    Replies: 0
    Last Post: 12-17-2007, 06:44 AM

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