+ Reply to Thread
Results 1 to 3 of 3

Add text to cell relative to location of text in another cell

  1. #1
    Registered User
    Join Date
    02-12-2015
    Location
    North Carolina
    MS-Off Ver
    2013
    Posts
    5

    Add text to cell relative to location of text in another cell

    I am trying to add a command in a macro that finds the text "Sum Total" in column A and goes up 5 rows from where it is and adds text in that row. So if "Sum Total" is in A50, I want it to go back to A45 and type a certain text, then B45, C45... I also want to go up 4 rows and add text, then up 3 rows... but I am hoping that once someone can get me started, I can take it from there.
    Thanks.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Add text to cell relative to location of text in another cell

    Hi,

    Here is your example code:

    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-12-2015
    Location
    North Carolina
    MS-Off Ver
    2013
    Posts
    5

    Re: Add text to cell relative to location of text in another cell

    thanks MarvinP

+ 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] Finding the sum of values in a column relative to text in the corresponding cell.
    By greaseebogus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2014, 10:13 PM
  2. [SOLVED] Search for Text and Return Cell Location
    By olives in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2013, 07:53 PM
  3. Replies: 5
    Last Post: 12-19-2012, 09:16 AM
  4. [SOLVED] Searching cell for text in specific location and pasting result in another cell
    By AWM1966 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2012, 12:02 AM
  5. [SOLVED] Macro to search rows for specific text within a cell then cut cell to specified location
    By jonathanpotts90 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-25-2012, 06:18 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