+ Reply to Thread
Results 1 to 9 of 9

Lookup help

  1. #1
    Registered User
    Join Date
    02-01-2024
    Location
    Bilston, England
    MS-Off Ver
    365
    Posts
    12

    Lookup help

    Hi all,

    I am trying to create a spreadsheet for project budget tracking, the sheet has two tabs. One tab I will record each order, which will be for items such as design, material, transport, labour, etc.

    The sheet will essentially look like this:

    Design �1000
    Material �2500
    Material �3000
    Design �1000

    But on the summary tab, I want to collate all those costs to pull through and look like this:

    Design �2000
    Material �5500

    I have tried to use VLOOKUP to do this, however this only picks up the first "design" or "material" line that it finds and pulls that cost through of that line rather than summing up all the design lines and all the material lines etc.

    If anyone can help it would be appreciated as it's driving me insane!

    Thanks

    Tom
    Last edited by tompicken96; 02-01-2024 at 07:03 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Lookup help

    sumif()
    will be a better solution

    A sample sheet would help here, and possibly will enable a quicker and more accurate solution for you.


    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    02-01-2024
    Location
    Bilston, England
    MS-Off Ver
    365
    Posts
    12

    Re: Lookup help

    Think I have attached the sheet now? Apologies if not, new here!

    If I have, what I am trying to achieve is on the "Project Summary" tab, I want to pull the values from column D of the "Project Invoice List" into column C of "Project Summary" and summarise them against each element listed in Column A.

    Hopefully this makes sense!
    Attached Files Attached Files

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Lookup help

    =SUMIF('Project Summary'!$A$13:$A$40,'Project Summary'!A13,'Project Invoice List'!$D$10:$D$40)

    i have used upto row 40 - but can extend

    and assuming column D to sum, as thats what is being used in your lookup
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    03-28-2021
    Location
    China
    MS-Off Ver
    O365
    Posts
    111

    Re: Lookup help

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    02-01-2024
    Location
    Bilston, England
    MS-Off Ver
    365
    Posts
    12

    Re: Lookup help

    Looks like the formula has pulled the second material order cost on "Project Invoice List" through to the transport line on the summary sheet, instead of adding the two material order costs in column D of the invoice list together and putting 57330.14 into the material line. Is there a way to combat this?

  7. #7
    Registered User
    Join Date
    02-01-2024
    Location
    Bilston, England
    MS-Off Ver
    365
    Posts
    12

    Re: Lookup help

    This has worked, thank you!

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,749

    Re: Lookup help

    fomula picked up wrong sheet
    =SUMIF('Project Invoice List'!$A$10:$A$40,'Project Summary'!A13,'Project Invoice List'!$D$10:$D$40)

    i prefer to use specified ranges rather than whole columns as that can slow things down - evaluating millions of rows - depending on excel version
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    03-28-2021
    Location
    China
    MS-Off Ver
    O365
    Posts
    111

    Re: Lookup help

    don't metion it and thanks for your 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: 25
    Last Post: 09-17-2020, 02:30 PM
  2. [SOLVED] Lookup: Lookup employee id and return value in cell x basued on most recent start date
    By jekeith in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-21-2018, 12:56 PM
  3. Two Lookup and Return (Lookup the column, then lookup the row)
    By Branbran10 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-05-2015, 04:55 PM
  4. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  5. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  6. Replies: 2
    Last Post: 05-19-2013, 08:46 AM
  7. Replies: 7
    Last Post: 06-19-2011, 12:51 PM

Tags for this Thread

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