+ Reply to Thread
Results 1 to 4 of 4

use a result of function as cell location?

  1. #1
    Registered User
    Join Date
    09-21-2014
    Location
    QAEGFV
    MS-Off Ver
    2010
    Posts
    5

    use a result of function as cell location?

    I have a cell with a function "=(((COUNT(A:A))*G17)/100)" the result is 3 for example but can change at anytime from other data what i want it to do is insert the result as a address so "J3" and have it change if the original function gives a different result.

  2. #2
    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,939

    Re: use a result of function as cell location?

    Hi, welcome to the forum

    To use text as a reference in a formula, you would use the INDIRECT() function. Something like....

    =INDIRECT("J"&COUNT(A:A)*G17/100) (you dont need all those parentheses)
    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

  3. #3
    Registered User
    Join Date
    09-21-2014
    Location
    QAEGFV
    MS-Off Ver
    2010
    Posts
    5

    Re: use a result of function as cell location?

    thanks got it working

  4. #4
    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,939

    Re: use a result of function as cell location?

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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: 1
    Last Post: 08-29-2014, 11:57 PM
  2. Code that works in one location but not another location. (AdvancedFilter excel function)
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-29-2013, 02:18 PM
  3. [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
  4. Function to Mirroring Cell Relative to Function's Location
    By ComcoDG in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-18-2008, 07:50 PM
  5. calc result to cell location
    By gavster in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-24-2007, 07:59 AM

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