+ Reply to Thread
Results 1 to 3 of 3

Issue with SumAddr and min if formula

  1. #1
    Registered User
    Join Date
    03-01-2015
    Location
    Muenster, Germany
    MS-Off Ver
    2010
    Posts
    2

    Issue with SumAddr and min if formula

    Hey everybody,

    I am trying to write a macro that will automatically find the first free row on a worksheet and fill it with an average formula and then with a min if formula. Then it should adjust both formulas to the range of all the rows with data that came before them. My code is already working very well with the average formula. It finds the empty row, enters the formula and adjusts it perfectly.

    However, with the min if formula it is not working at all. It is being fiilled in the bottom row, but not adjusted according to the amount of rows with data above. I think that the issue is with the bold line of code below, but I do not know how to fix it. You can find the entire code below these lines. I would highly appreciate any help, since that would make my life so much easier.

    Please Login or Register  to view this content.
    --------------------------------------------------------


    Please Login or Register  to view this content.
    Last edited by alansidman; 03-01-2015 at 05:41 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Issue with SumAddr and min if formula

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    03-01-2015
    Location
    Muenster, Germany
    MS-Off Ver
    2010
    Posts
    2

    Re: Issue with SumAddr and min if formula

    My apologies, I will get on the rules right now and thank you for editing

+ 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. Lookup Formula Issue, Search issue
    By kperitz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-07-2014, 01:50 PM
  2. Excel 2008 : Help with a formula issue.
    By dravenkai in forum Excel General
    Replies: 2
    Last Post: 09-02-2011, 07:14 PM
  3. Help: Formula issue
    By jt1561 in forum Excel General
    Replies: 3
    Last Post: 12-04-2008, 03:38 PM
  4. An issue regarding the formula
    By HuaMin in forum Excel General
    Replies: 2
    Last Post: 12-07-2005, 11:45 AM
  5. An issue regarding the formula
    By HuaMin in forum Excel General
    Replies: 2
    Last Post: 12-07-2005, 10:50 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