+ Reply to Thread
Results 1 to 3 of 3

Change last cell informed in equation

  1. #1
    Registered User
    Join Date
    02-04-2021
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    3

    Change last cell informed in equation

    Good morning,
    I have one question by now.
    I'm doing some equations that I need to change the last cell called.

    Example below:

    C2:
    =geral_prod!$C$4

    C3:
    =geral_prod!$D$4

    and it's going until C37 that I have =geral_prod!$AL$4.

    After this, the equation change to:

    C38=geral_prod!$D$5.

    so this continue for more 36 lines and repeat this loop for 12x (last loop is in C469 with =geral_prod!AL15).
    Someone can help me with macro or vba for this situation?

    Thanks.
    Last edited by luizroberti; 02-04-2021 at 01:05 PM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,689

    Re: Change last cell informed in equation

    IN C2 then pull down.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Registered User
    Join Date
    02-04-2021
    Location
    Brazil
    MS-Off Ver
    2016
    Posts
    3

    Re: Change last cell informed in equation

    Quote Originally Posted by kvsrinivasamurthy View Post
    IN C2 then pull down.

    Please Login or Register  to view this content.
    Thanks a lot. It worked!

+ 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. Change variables within an equation without the equation forgetting the previous variable
    By GarethmMorgan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2018, 01:48 PM
  2. [SOLVED] Oil Change equation
    By markmkramer in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-21-2015, 10:57 AM
  3. Replies: 2
    Last Post: 11-03-2014, 08:04 PM
  4. Replies: 1
    Last Post: 11-13-2013, 02:07 AM
  5. [SOLVED] cell text is an equation - use that equation to populate an answer in another cell
    By JOBSTRESS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-08-2013, 01:08 PM
  6. [SOLVED] Equation That Will Automatically Change Cell Data
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-05-2012, 02:01 PM
  7. Replies: 0
    Last Post: 03-23-2006, 07:10 PM

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