Results 1 to 5 of 5

Thread: [RESOLVED] Table Question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Location
    England
    Posts
    234

    Resolved [RESOLVED] Table Question

    Just looking at a workbook from john walkenbachs book

    there is a function in a cell i am unfamiliar with

    the function is

    {=TABLE(,C8)}

    could someone help me out?

    thanks

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Table Question

    This may be what you are talking about. Its the Table method of the range object.

    http://office.microsoft.com/client/h...e5GUU&respos=1
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Location
    England
    Posts
    234

    Re: Table Question

    Thanks Rob,

    just looking now, i still dont get it though lol

  4. #4
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Table Question

    OK, here's a run-thru:

    Put the following in these cells:

    A1: 1
    A2: 1
    B2-B11: 1-10
    C1-L1: 1-10
    B1: =A1+A2

    Now select the range from B1 to L11 and go to Data -> Table. It will ask for a row and column input. Set Row Input to be A1 and Column Input to be A2.


    Do you see what has happened? You have generated a table of values based on the result of the formula in cell B1 and using the row and column values as inputs. If you now change the formula in B1, you will change all the values in the table, but without loads of formulae.
    Where this gets really powerful is if you have lots of other calculations in between your inputs and you final output formula. You can calculate at a stroke a vast number of possible outcomes to a complicated series of equations.


    The {TABLE(A1,A2)} just tells you which cells are being changed to calculate the output in the upper-left corner of the table.


    zaza
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Location
    England
    Posts
    234

    Re: Table Question

    nice one zaza

    legend

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width