+ Reply to Thread
Results 1 to 10 of 10

Insert formula up to last Row

  1. #1
    Forum Contributor
    Join Date
    11-12-2012
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    2010, 2013, 2016, Office 365
    Posts
    507

    Insert formula up to last Row

    Hi,

    I want enter below formula up to last row based on column A. Below is the code which I am using in which I have to insert the formula if certain criteria meets. I need to extend this formula up to last row.

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    ' Need to enter this formula upto last row based on Column A

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Insert formula up to last Row

    How about
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-12-2012
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    2010, 2013, 2016, Office 365
    Posts
    507

    Re: Insert formula up to last Row

    Quote Originally Posted by Fluff13 View Post
    How about
    Please Login or Register  to view this content.
    Thank You, works perfectly.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Insert formula up to last Row

    You're welcome & thanks for the feedback.

  5. #5
    Forum Contributor
    Join Date
    11-12-2012
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    2010, 2013, 2016, Office 365
    Posts
    507

    Re: Insert formula up to last Row

    @Fluff13,

    Sorry, Now when my data rows increases, the lookup value row is variable. How can handle this problem. Row A184 may increase or decrease, but column will always be constant.

    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Insert formula up to last Row

    Can you supply a sample file, also is the word total only found on 1 row in col A?

  7. #7
    Forum Contributor
    Join Date
    11-12-2012
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    2010, 2013, 2016, Office 365
    Posts
    507

    Re: Insert formula up to last Row

    The word total found in more than one rows. Actually it is pivot table and I inserted additional column to calculate SAR. I have attached the file for your reference.
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Insert formula up to last Row

    Thanks for that, how about
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    11-12-2012
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    2010, 2013, 2016, Office 365
    Posts
    507

    Re: Insert formula up to last Row

    @Fluff13,

    Thanks, I never thought about R1C1. Solved.

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Insert formula up to last Row

    Glad to help & thanks for the feedback.

+ 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. Replies: 0
    Last Post: 05-05-2021, 12:36 AM
  2. Replies: 2
    Last Post: 02-03-2015, 09:14 PM
  3. To Find and Insert column and add Formula and copy formula down
    By Akatecho in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2014, 11:52 PM
  4. Replies: 1
    Last Post: 02-02-2013, 02:28 PM
  5. Replies: 1
    Last Post: 05-26-2010, 03:33 AM
  6. Insert excel formula using VBA......MATCH function is what i want to insert
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-07-2009, 07:31 PM
  7. Insert row insert formula
    By PhilH1982 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2008, 03:13 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