+ Reply to Thread
Results 1 to 3 of 3

Put Bottom borders in the cell above if the cell below it contains Sum formula

  1. #1
    Registered User
    Join Date
    12-08-2019
    Location
    india
    MS-Off Ver
    2013
    Posts
    1

    Lightbulb Put Bottom borders in the cell above if the cell below it contains Sum formula

    The data size may vary therefore, i need a macro that can put bottom border on the cell above if the cell below it contains a sum formula. And, when the entire data is selected the border is applied across the sheet. Needs to be static border. Would be helpful if it's an add-in. Thank you !
    Last edited by AliGW; 02-23-2020 at 09:45 AM. Reason: Irrelevant section of title removed.

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Put Bottom borders in the cell above if the cell below it contains Sum formula

    To avoid confusion about the border you could attach an Excel sample file to show the final result you want.
    How do you want to trigger the macro ?:
    Manually
    When openning the sheet
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Put Bottom borders in the cell above if the cell below it contains Sum formula

    See perhaps next code, it is not exactly as you request it but try it
    Please Login or Register  to view this content.

+ 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. Applying bottom borders
    By Mitch.Birlea in forum Excel General
    Replies: 16
    Last Post: 11-03-2016, 11:42 AM
  2. Help with VBA code to find bottom row in pivot table and fill table cell borders
    By Eric111 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2014, 07:15 PM
  3. Borders or Repeating Rows at Bottom
    By kpow in forum Excel General
    Replies: 2
    Last Post: 10-02-2012, 12:31 PM
  4. Put borders at top and bottom of each row, but not sides?
    By Moonbather in forum Excel General
    Replies: 2
    Last Post: 08-04-2012, 02:31 PM
  5. Replies: 1
    Last Post: 06-10-2012, 01:41 AM
  6. [SOLVED] bottom borders in a For Loop
    By CJ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-14-2006, 10:30 PM
  7. Cell borders with formula edits
    By Katie in forum Excel General
    Replies: 0
    Last Post: 06-05-2006, 09:40 AM

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