Closed Thread
Results 1 to 15 of 15

Please help with calculation on last line

  1. #1
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Please help with calculation on last line

    I need help with calculation on last line, bit it must also recalculate with filters


    Below is my code. it auto calculates and works out everything 100% i just have no clue how to get my total as aa calculated field that auto calculates when filter is added.

    I need "F = (D-C)/D " on the last entry line.

    here is my code below

    Please Login or Register  to view this content.
    Last edited by AliGW; 04-06-2020 at 08:41 AM.

  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
    80,780

    Re: Please help with calculation on last line

    Administrative Note:

    Welcome to the forum.

    I think you need to read our rules - this is the second you have now broken.


    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. As you are new here, I will do it for you this time.)
    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 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,780

    Re: Please help with calculation on last line

    Please confirm that you have read (and understood) thee moderation notes you've received today. Thanks.

  4. #4
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: Please help with calculation on last line

    Good day - yest it might be the same code as previous post - but an entirely different error - Help needed. I cannot add to first post as that was a totally different query that was helped with. This is a totally different error. so its not duplicate.

  5. #5
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: Please help with calculation on last line

    It is in tages - please check and let me know what pasrt is not in tags

  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,780

    Re: Please help with calculation on last line

    It is in tags because I had to do it for you! Please read post #2 in FULL.

    I cannot add to first post as that was a totally different query ... This is a totally different error. so its not duplicate.
    You weren't asked to ... And I never mentioned thread duplication.

    Have you read our forum rules now? I wouldn't want to find myself having to pull you up again. There is a link at the top of the page - our rules are short and simple to follow. Thank you.

    EDIT: I have sent you a private message regarding the negative rep you have given me today - please do me the courtesy of responding. Thanks.
    Last edited by AliGW; 04-06-2020 at 11:15 AM.

  7. #7
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: Please help with calculation on last line

    ok and where is my code not in tags? Al you have done is fill space with negativity in stead of answering the question. Can you answer the question? if not why take up valuable space?

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Please help with calculation on last line

    This is the answer to your question.
    Quote Originally Posted by AliGW View Post
    It is in tags because I had to do it for you! Please read post #2 in FULL.
    Ali is just asking you politely to confirm you have read and are ready to abide by forum rules, nothing more nothing less.
    Bu alas, you choose to be rude AND ignore the question...
    If the forum rules are that difficult to read/apply, then perhaps you should draw your conclusions.

  9. #9
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: Please help with calculation on last line

    PEPE LE Mokko Ok but do you know how to solve the query? That is the question?

  10. #10
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: Please help with calculation on last line

    And yes as I have asked before - where is my code not in tags? as i can see my first part of the question is where I ask for help, second part - whole code is in tags. so please explain what is wring with this post?

  11. #11
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: Please help with calculation on last line

    So please i beg of you 2 - the code is in tags, a mistake made by a moderator. so if you know how to answer the query please answer, else please inform someone who you think knows how to. Is it not a moderators job not to just police but to help and assist and grow the site?

  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,780

    Re: Please help with calculation on last line

    No mistake: please see the small text bottom left in your opening post:

    Last edited by AliGW; Yesterday at 01:41 PM.
    This was me editing your post to add the code tags for you. They were not present before. I said this at the end of post #2:

    (Note: this change is not optional. As you are new here, I will do it for you this time.)
    and this in post #6:

    It is in tags because I had to do it for you! Please read post #2 in FULL.
    So your question has been answered already.

    Both Pepe and I assist thousands of members with their queries, but we also have jobs to do as moderators.

    Hopefully one of our VBA experts will be able to help answer your query.

  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,780

    Re: Please help with calculation on last line

    You are bombarding me with PMs asking me to answer the questions that I have now answered at least twice here and via PM.

    1. My code was in code tags - why are you accusing me of not using code tags?
    Answer: see post #12 above, in which I point out (again) that I edited your opening post to add the tags for you. You did not add them - I did.

    2. Why are you accusing me of thread duplication?
    Answer: I am not - I never did. Your other thread, however, was reported by another member as a cross-post (not the same thing), and you were picked up for that because you had not declared your cross-posting (read the rule).

    3. Why don't you help people instead of policing the forums?
    Answer: I am a moderator, therefore I have a job to police thee forums. The rest of my time here (most of it) is spent answering queries and helping members.

    4. Can you help with my query?
    Answer: I have said on at least three occasions now between PM responses to you and here that I cannot - VBA is not one of my skills.

  14. #14
    Registered User
    Join Date
    04-06-2020
    Location
    South africa, Pretoria
    MS-Off Ver
    2013
    Posts
    22

    Re: Please help with calculation on last line

    Wel if i get kicked of i do not care, but aligw - Do you have such a bad self esteem that you had to go through all of this just because of one negative mark. seems too much, and all this energy spent on bickering rather than sorting out the query. what a waste of time and energy.

  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,780

    Re: Please help with calculation on last line

    If you insult me or any of my colleagues again, I shall ban you from these forums.

    Any further complaint should be taken to an administrator.

    Thread closed.
    Last edited by AliGW; 04-07-2020 at 04:30 AM.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Straight line depratiation calculation..
    By kikola123 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-31-2018, 02:59 PM
  2. Straight Line Calculation - Create a table from a set of dates
    By Eindrago in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 06-21-2017, 08:21 PM
  3. Lead time calculation for different production Line
    By Krishantha in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-04-2013, 08:30 AM
  4. Production Line Calculation
    By ows246 in forum Excel General
    Replies: 15
    Last Post: 01-08-2013, 04:45 AM
  5. Straight Line Depreciation Calculation
    By andrew8008 in forum Excel General
    Replies: 4
    Last Post: 11-07-2012, 04:29 PM
  6. not a straight line calculation
    By patjallan in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-02-2007, 11:55 PM
  7. Program for calculation a power trend line.
    By Houston banker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2005, 05:05 PM

Tags for this Thread

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