+ Reply to Thread
Results 1 to 4 of 4

SUM IFS Help pulling from table of info

  1. #1
    Forum Contributor
    Join Date
    06-07-2006
    Posts
    121

    SUM IFS Help pulling from table of info

    I am using Excel 2007 and trying to use SumIFS to retrieve information as described below.


    In Cell G2 of sheet one I am trying to pull the value for the work order number (Cell F1 Sheet 1) for the cost code in cell A2/Sheet 1.
    I need retrieve the information from sheet two where the work order numbers are listed in row 2 and change from column to column by work order number.
    Cell F1 of sheet one is a drop down list and the work order numbers can change depending on the selection.
    G2 of sheet 1 needs to retrieve the amount by Cost Code from sheet two for that particular work order.
    Attached Files Attached Files
    Last edited by Merlin54k; 08-10-2011 at 12:06 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: SUM IFS Help pulling from table of info

    If the row and column headers on Sheet2 are unique, then try:

    =INDEX(Sheet2!$B$3:$Q$128,MATCH($A2,Sheet2!$A$3:$A$128,0),MATCH($F$1,Sheet2!$B$2:$Q$2,0))

    If there could be duplicate row or column headers and you want to sum all.. then:

    =SUMPRODUCT(Sheet2!$B$3:$Q$128,(A2=Sheet2!$A$3:$A$128)*($F$1=Sheet2!$B$2:$Q$2))
    Last edited by NBVC; 08-10-2011 at 09:15 AM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: SUM IFS Help pulling from table of info

    Try this in Sheet1 G2
    Please Login or Register  to view this content.
    Drag/Fill Down.

    Not sure where to get the second values for some cost codes, I have assumed that as your sheet is headed "PLAN" that is the criteria.

    P.S.
    Why Merge Sheet2 B1:Q1, it just causes problems.

    [EDIT]
    @ NBVC
    I must have fallen asleep, I didn't see your post ...
    Last edited by Marcol; 08-10-2011 at 09:34 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Contributor
    Join Date
    06-07-2006
    Posts
    121

    Cool Re: SUM IFS Help pulling from table of info

    Why merge the tables? I just provided the portions of wha'ts needed to get the answer/formula i need. The spreadsheets house budget information that need to be pulled into another tab.

    Thanks for the solutions and making my life easier. This bad boy is done and solved!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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