+ Reply to Thread
Results 1 to 11 of 11

Automatically count

  1. #1
    Registered User
    Join Date
    08-01-2016
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    9

    Automatically count

    Hello

    I problem with formula.

    I have to create a report. The task is to published cost for each vehicle (but I have only the numer of kilometres (so I have to count it like: min (from second month) – min (from first month). But I need automatically formula for each driver and month.

    I do it manually, but this is very painstaking work.

    Regards

    P.S. Sorry for my english :P

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

    Re: Automatically count

    Hello and welcome! Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    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
    Registered User
    Join Date
    08-01-2016
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    9

    Re: Automatically count

    File now should be in
    Attached Files Attached Files

  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
    81,288

    Re: Automatically count

    Where are the expected outcomes in your file, please?

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,633

    Re: Automatically count

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    Thread has been posted on Polish forum http://www.excelforum.pl/topics2/roz...ch-vt53336.htm and there are already 9 posts in the thread
    Best Regards,

    Kaper

  6. #6
    Registered User
    Join Date
    08-01-2016
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    9

    Re: Automatically count

    I focus on count of number of kilometres. It`s N column (and I do it counting there manually)

    I don`t know how I can automatize that :/

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,633

    Re: Automatically count

    Have you tried to follow advice from Polish forum?

    The one from maxaa posted on July 31st?

    Anyway - if you just focus on column N you may write in N2 array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or (as you probably have Polish version of Excel):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    It fixes your mistake from N34, because you wrote:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    while proper "manual calculation" shall be:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    because D25 was not in March, but in February!

    As your last post here is August 3rd, while on Polish forum last post was August 1st I'm closing thread on Polish forum. http://www.excelforum.pl/topics2/roz...ch-vt53336.htm

    Array formula: ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-01-2016
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    9

    Re: Automatically count

    Excellent

    This is possible also, when is no info about next month to take the biggest value in last month - min from that month ?

    You help a lot, thx

  9. #9
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,633

    Re: Automatically count

    N2 (O2) in sample file - array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ENG version:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note that in row 62 it returns 672 not 1163, because you start June with 148530, not 148039 (it was in May).

    Pozdrawiam,

  10. #10
    Registered User
    Join Date
    08-01-2016
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    9

    Re: Automatically count

    <3

    Thank you very much. I spent a lot of time on this, now it`s working

  11. #11
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,633

    Re: Automatically count

    Would be lovely if you mark thread "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. value in a cell to count automatically from 1 to 20
    By claudia1977 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2014, 09:05 AM
  2. count files in a folder automatically??
    By benjii19 in forum Excel General
    Replies: 13
    Last Post: 03-01-2011, 11:32 AM
  3. Excel 2007 : Can Excel automatically count my items?
    By PaulnTori in forum Excel General
    Replies: 3
    Last Post: 01-28-2011, 05:33 PM
  4. Excel 2007 : automatically search and count
    By freehawk in forum Excel General
    Replies: 3
    Last Post: 03-25-2010, 12:25 PM
  5. Automatically count how many boxes are filled in
    By Feline2001 in forum Excel General
    Replies: 2
    Last Post: 11-10-2008, 09:38 PM
  6. Automatically count weeks?
    By alecabral08 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-09-2008, 08:08 AM
  7. [SOLVED] COUNT SEVERAL TEXT VALUES AUTOMATICALLY
    By automatically counting text cells in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-30-2006, 07:25 PM
  8. Replies: 1
    Last Post: 07-12-2005, 09:06 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