+ Reply to Thread
Results 1 to 7 of 7

Formula that points to another cell with a formula to finish first one

  1. #1
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Formula that points to another cell with a formula to finish first one

    The title line of this post probably doesn't make much sense. I couldn't figure out how to explain what I need in that short space. I'm wondering if it's possible to write a formala that if a certain condition is met, performs a formula referenced in another cell. For example:
    Column A contains a list of formulas. In column B is the condition, let's use Work Type as an example. The result (or the formula I need) would be in column C.
    So if the work type is "Type1", then the formula in the corresponding column C cell would perform the formula in cell A5.
    If the work type is "Type8", then the formula in the corresponding column C cell would perform the formula in cell A2.

    Is this possible to do without VBA?

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Formula that points to another cell with a formula to finish first one

    Hi NS4Excel, try look into INDIRECT function.


    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  3. #3
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Formula that points to another cell with a formula to finish first one

    Can you please explain a bit more. Just looking at the INDIRECT function doesn't really help me. Sorry. Thanks for any additional help you can provide.

  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,917

    Re: Formula that points to another cell with a formula to finish first one

    Any chance you could provide some sample data and a few sample answers?
    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

  5. #5
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Formula that points to another cell with a formula to finish first one

    Hi NS4Excel, have a look at http://www.cpearson.com/excel/indirect.htm.
    Or, please provide more sample spreadsheet with expected data and some description as suggested by Ford.


    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  6. #6
    Forum Contributor
    Join Date
    10-11-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    230

    Re: Formula that points to another cell with a formula to finish first one

    Attached is a sample workbook. If possible, I'd like to have a list of formulas somewhere that other formulas can point to. Similar to how I do my data validation - I have a separate sheet that has all the lists that the validations will use. This way instead of changing each validation list within the cells themselves, I just go to my List worksheet and update any of the lists. Can this be done for formulas as well?

    If not, then I'd still like a simpler solution to multiple nested IF statements. Thanks.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula that points to another cell with a formula to finish first one

    There could be a good number of different doc types. Instead of entering numerous IF formulas I'd like to write one that says, if the doc type is "AA T&M" then do Formula 1, if doc type is "AB T&M" then do Formula 2, etc.
    Tell us what the formulas would be.

    Sounds like you want to do some sort of lookup. You'd create a 2 column table. The doc types would be in the left column and the corresponding formula result would be in the right column.

    See if this helps:

    http://contextures.com/xlFunctions02.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Help with formula when I finish the result has vanished
    By GershD in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-16-2015, 02:12 PM
  2. Wondering how to leave a cell blank until i finish the formula...
    By grrr:) in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-05-2013, 07:56 PM
  3. Sumproduct formula:start to finish
    By Scotsman89 in forum Excel General
    Replies: 5
    Last Post: 07-14-2008, 10:45 AM
  4. Find The Tuesday (Finish The Formula!)
    By SamuelT in forum Excel General
    Replies: 2
    Last Post: 11-28-2007, 10:02 AM
  5. [SOLVED] Finish Formula
    By Bobby in forum Excel General
    Replies: 5
    Last Post: 07-11-2005, 10:05 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