+ Reply to Thread
Results 1 to 8 of 8

Formula to get data from certain table

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Formula to get data from certain table

    Hello:

    I have 2 Tables of data, Table called "HALFTIMENEW" and "DepositTable"
    I am trying to add formula in cell H2 in sheet2 as below to bring the value from "HalfTimeNew" Table (cell Value B2 in Sheet2)
    I have tried with SumIfs formula as put in cell H2 in sheet2.

    In this case result in Sheet2 H2 need to be 2339.68

    Please let me know if you have any questions.
    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Formula to get data from certain table

    How about
    =SUMIFS(HalfTimeNew[Amount],HalfTimeNew[Date],A2,HalfTimeNew[Dept],"Cash",HalfTimeNew[Store],B2)

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Formula to get data from certain table

    Hello Fluff13:

    I need "HalfTimeNew" part of the above formula to be pulled from cell B2 down as the table name will vary based on cell value in B2.

    Please let me know if you have any questions.
    Thanks.

    Riz

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to get data from certain table

    Maybe this

    =INDEX(Sheet1!C:C,MATCH("CASH",Sheet1!B:B,0))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Formula to get data from certain table

    In that case how about
    =SUMIFS(INDIRECT(B2&"[Amount]"),INDIRECT(B2&"[Date]"),A2,INDIRECT(B2&"[Dept]"),"Cash")

  6. #6
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Formula to get data from certain table

    Hello Allkey, Fluff:

    I am sorry, if there is any misunderstanding.
    Please refer to attached file.
    I will have number of tables in Sheet1 as shown...Here i have 2 tables "HalfTimeNew" & "HalfTime1".
    Table name will be in column B of Sheet2 and we need to use table name from column B data to bring "CAsh" data in cell H2, Sheet2

    Let me know if you have any questions.
    Thanks.
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: Formula to get data from certain table

    Hello Fluff:

    Yes, now you got it, Thankssssssssssssss

    Riz

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Formula to get data from certain table

    You're welcome & thanks for the feedback

+ 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: 09-08-2017, 07:30 AM
  2. Replies: 1
    Last Post: 01-08-2015, 07:02 PM
  3. I need a formula to auto popluate data in a table from another table.
    By sixsteps268 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2013, 06:46 AM
  4. [SOLVED] Formula for copying over relevant data from one table to populate another table
    By amasson in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-19-2013, 06:11 AM
  5. Replies: 2
    Last Post: 04-15-2013, 07:22 AM
  6. [SOLVED] Formula for copying over relevant data from one table to populate another table
    By amasson in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-25-2013, 12:41 PM
  7. [SOLVED] Formula for creating a table from data from another table
    By amasson in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-12-2013, 09:35 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