+ Reply to Thread
Results 1 to 3 of 3

Auto fill column based on sum value in top most cell

Hybrid View

dipnfalls Auto fill column based on sum... 02-15-2020, 11:54 PM
AliGW Re: Auto fill column based on... 02-16-2020, 04:18 AM
Pepe Le Mokko Re: Auto fill column based on... 02-16-2020, 05:08 AM
  1. #1
    Registered User
    Join Date
    11-04-2011
    Location
    Philadelphia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Auto fill column based on sum value in top most cell

    Can anyone tell me if its possible and how to do the following? Not sure how to word my search on google to find out how to do it.

    I want to put a value in N10, and have it auto fill N11 thru N15 but have it not go over a value and trickle down to the next. So in this case, the max is 100 per cell, and then have the next most just have the remainder. Then if I change N10 it will update.

    Thanks in advance.


    Capture.JPG

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: Auto fill column based on sum value in top most cell

    Welcome to the forum.

    Try this in N11 drag copied down:

    =IF(N$10-(100*(ROWS(M$11:M11)-1))<0,"",IF(N$10-(100*ROWS(M$11:M11))>=0,100,N$10-(100*(ROWS(M$11:M11)-1))))

    The 100 could be defined in a cell rather than being hard-coded into the formula.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

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

    Re: Auto fill column based on sum value in top most cell

    An alternative
    Attached Files Attached Files

+ 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. [SOLVED] Auto fill column based on adjacent column
    By brncfan7 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2017, 07:50 PM
  2. [SOLVED] Auto Fill Row based on value and auto delete shift cell up based on value too
    By morr1 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-14-2017, 07:12 PM
  3. [SOLVED] Auto Fill Based on Column Information
    By kimmycoop910 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 05-20-2016, 08:31 AM
  4. Auto fill next column based on the selection from drop down
    By sumesh83 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-17-2012, 09:32 AM
  5. Replies: 0
    Last Post: 08-10-2012, 12:55 PM
  6. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  7. [SOLVED] Auto Fill Column with Date based on rows in other column
    By JOUIOUI in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2006, 01:35 PM

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