+ Reply to Thread
Results 1 to 3 of 3

Replace Numbers in formula with Variables

  1. #1
    Registered User
    Join Date
    01-28-2015
    Location
    New Haven, CT
    MS-Off Ver
    Office 2010
    Posts
    8

    Replace Numbers in formula with Variables

    Hello,

    I have the following formula:
    Please Login or Register  to view this content.
    I would like to replace 22715 with the variable "Lastrow" and 5 with the variable "Lastcolumn"

    I know how to replace variables for F5 in the range, but I do not know how to replace variables within equations (R/C format), which is where I am getting stuck.

    Any help would be greatly appreciated.

    Thanks!!
    Molly
    Last edited by molly13; 02-25-2016 at 12:42 PM.

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Replace Numbers in formula with Variables

    Try the following:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-28-2015
    Location
    New Haven, CT
    MS-Off Ver
    Office 2010
    Posts
    8

    Talking Re: Replace Numbers in formula with Variables

    Worked beautifully - thanks so much!!

+ 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: 2
    Last Post: 11-19-2014, 02:12 AM
  2. [SOLVED] Help to find a formula that replace numbers
    By JohnnyWalker in forum Excel General
    Replies: 6
    Last Post: 11-12-2012, 10:25 AM
  3. IF formula to replace initials with numbers
    By batjl9 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-29-2010, 04:33 PM
  4. Formula to Compare and Replace Numbers Between two Sheets
    By leo2308 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-18-2009, 06:00 AM
  5. REPLACE 2 different sets of variables?
    By Bwangster12 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2008, 01:17 PM
  6. IF formula in Excel / Replace numbers with 'words'
    By Emsmaps in forum Excel General
    Replies: 1
    Last Post: 04-07-2006, 06:01 PM
  7. [SOLVED] How do I replace numbers in a value NOT a formula?
    By Riverrat in forum Excel General
    Replies: 8
    Last Post: 02-26-2006, 09:20 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