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...
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...
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.
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.
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.
Glad to here from you I am attaching a xlsx file.
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),"")
Thanks a lot for your support. It works like nothing but miracle.
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.
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
I set it up based on the screenshot at the top of the page.
k if its not possible, then your previous kind is enough to do my work.
Thank you
It's possible - I just don't have time at the moment - sorry.
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),"")
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.
Last edited by amarjeet.it; 04-24-2019 at 09:06 AM. Reason: incompleted
See post #13.
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.
Sorry - I forgot the helper column. In J2 copied down:
=COUNTA(B$2:B2)
working working working just working.....
Thank you
No problem. Please mark the thread as solved.
Never mind - I'll do it for you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks