+ Reply to Thread
Results 1 to 3 of 3

Assign Variable to Cell

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Assign Variable to Cell

    In cell A1 I have =$B$11

    In A2 I have Formula...which contains $Z$11, $G$11, $M$11 .....

    Can I say in A2 : $Z$(right,A1,2)......$M$(right,a1,2) ?

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Assign Variable to Cell

    You would need to check out the indirect() function

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Assign Variable to Cell

    I think you need to be a bit more specific here.

    What formula are you using?
    What do you want to change in it?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. How to assign number in a cell as the value of the variable
    By ThAr201 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 10-30-2017, 08:08 AM
  2. [SOLVED] Assign Cell value to a variable
    By Pergo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2015, 03:08 PM
  3. Replies: 2
    Last Post: 07-24-2012, 11:47 AM
  4. [SOLVED] VBA variable assign on cell search
    By kamelkid2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2012, 02:23 PM
  5. Assign cell value to variable
    By Rookie_User in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-02-2012, 04:39 PM
  6. [SOLVED] assign cell content to variable
    By echomom in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2011, 01:47 PM
  7. How do I assign the value in a cell to a variable?
    By JasonK in forum Excel General
    Replies: 8
    Last Post: 06-07-2006, 06:25 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