+ Reply to Thread
Results 1 to 8 of 8

VBA to fill the formula in every set of range till end of row data

  1. #1
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    VBA to fill the formula in every set of range till end of row data

    Dear experts

    I have set of data range In that i want add some calculation part from N38 till R column

    fill the header value in
    N38 = TOTAL COST = L39-M39
    O38 = IMCR CODE =G37(IMCR CODE) every segment fill down till end of segment
    P38 = FIRST =LEFT(O39,4)
    Q38 = MID =MID(O39,6,4)
    R38 = LAST =RIGHT(O39,4) fill down Till end of row

    report start row A37 i want result in same sheet.

    please find the attachment
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: VBA to fill the formula in every set of range till end of row data

    I have some questions:
    1) Does the report always start on Row 37?
    2) Are the colored sections always colored as in your example?
    3) There appear to be no formulas in columns A through M; is that always the case?

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: VBA to fill the formula in every set of range till end of row data

    This worked for me:

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VBA to fill the formula in every set of range till end of row data


  5. #5
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: VBA to fill the formula in every set of range till end of row data

    Sorry Sir the post which is done by friend of mine.

  6. #6
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: VBA to fill the formula in every set of range till end of row data

    Amazing sir It works 100% i want last requirement i want delete header values except first data range header value, total in K:K,mergedblankcell Please find the attachment.
    Attached Files Attached Files

  7. #7
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: VBA to fill the formula in every set of range till end of row data

    Cool.

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: VBA to fill the formula in every set of range till end of row data

    Thanks alot Sir It works amazing Made my day Simple! 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. [SOLVED] VBA to fill formula down till last row in column
    By Wither125 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-25-2016, 06:03 PM
  2. VBA to fill the formulas next to pivot till end of grand total
    By johnmacpro in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2016, 03:29 PM
  3. [SOLVED] Copy Formula Down Till No Data In Cell
    By scarlettw123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2015, 12:43 PM
  4. Replies: 4
    Last Post: 10-02-2013, 09:39 AM
  5. Replies: 3
    Last Post: 11-20-2012, 02:25 PM
  6. using data till till the current row
    By nilu8603 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2010, 04:30 AM
  7. Fill array till first empty cell.
    By UncleDucc in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-05-2009, 09:56 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