+ Reply to Thread
Results 1 to 14 of 14

Sum items based off multiple variables

  1. #1
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Sum items based off multiple variables

    I can receive anywhere from 10 to 5,000 pdf drawings (see attached example). I had an idea of cropping the pdf to show only the Fabrication Materials section and then export it to excel. Once in excel, I am wondering if there is a way to go through the content and sum up different items. I have to do this by hand and it is extremely time consuming. I would like the information sorted 2 ways. The first way would be by Line Number: So it would say Area = M, Service = SH, Count = 752, Insulation = 2, and then list all of the pipe sizes, feet, elbows 90&45, fittings, flanges, and valves associated with those 4 conditions. The second way of sorting would be to list the total amount of footage, elbows, fittings, flanges, and valves for each pipe size in the batch of drawings. I'm not sure this is possible based on the number of variables and the list of Fabrication Materials can be anything but any help would be greatly appreciated. The Fabrication Materials that stay the same are the titles in bold, anything else below that can change. Some drawings will not have 1 or more titles, so a drawing could only have PIPE with 1 item and that's it.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,097

    Re: Sum items based off multiple variables

    The easiest for us, will be to attach an Excel file showing the data and the results you are expecting.
    Can you prepare a draft ...!
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    Tab Table 1 is the information exported from pdf to excel. The highlighted in yellow is the "Line Number". The last number in the line number is the "Insulation Thickness". I made it RED on the Line # tab. I did not manually add up all of the values for the Line# tab and Summary tab. I just made headers and showed examples of what I would like it to look like. Also, Table 1 only has 10 pdfs. Sometimes there are thousands. I do not care about the items on Table 1 under the headers "Fasteners" and "Olets". There will be random descriptions under column D that I have deleted out. For the elbows, there will be random information in the description column D after the words Elbow, 90 or 45. On Table 1, Column A is irrelevant. Column B is the Quantity and Column C is the Pipe Size. Sometimes the pipe size will say for example (6"x1"). I would like the information to show up on the Line # and Summary as a 6" pipe size.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    PCI, any luck with this?

  5. #5
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    Any luck with this?

  6. #6
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,097

    Re: Sum items based off multiple variables

    showboat,
    It is a real project you want to prepare and reviewing your file and your description it comes a lot of questions.
    You want to gather data from sheet "Table 1" and show it as it is in sheet "Line #" is it ?
    The first key to search information is the Line number: Scrolling the data in column "A" how do we know it is a Line number reference ? Is it always in column "A"
    Then afterwards how to pick up information
    "Pipe Size Ins. Thickness Pipe Footage 90s Fittings Valves Flanges 45s"
    what are the keywords
    Let's use an example "6"-CW2406-E-SS01-1" and explain step by step how to do.
    PCI

  7. #7
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    PCI,

    Yeah I figured it would be a tough task to accomplish and Im not even sure if it's possible. The thing that's hard is knowing how ADOBE exports the information to excel.

    I would like the information in Table 1 sorted by Line # and by Pipe and Insulation Size.

    The line number is not always in column A. I don't know why but sometimes ADOBE puts the line number in column D as well.

    The line number will always start as (number)"- so that might be a way to search for the line number. The last number in the line number is the Insulation thickness.

    The keywords in column D are the bold headings such as PIPE, FITTINGS, VALVES, FLANGES.

    On Tab (Line #): From rows 1-11 is the information for line item 6"-CW2406-E-SS01-1. The insulation thickness is 1". Under the header PIPE the sizes are 2" - 2 feet, 3" - 1 foot, 6" - 19.75 feet. Then under the FITTINGS header you have quantity of 2 for 1" pipe size. In column D under header FITTINGS, it will say 90 or 45 in the description to account for those if there are any. OLETS and FASTENERS do not matter. Then under header VALVES, you have quantity of 1 for 1" pipe.

    On Summary tab, the line number does not matter. I am simply interested in the total summary based on pipe and insulation size. For example, So throughout all the information on Table 1, there is quantity 100 feet of 1" pipe by 1" insulation with 10 90s, 12 Fittings, 13 Valves, 55 Flanges, 10 45s

  8. #8
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    Was that enough information? Do you need anything else?

  9. #9
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,097

    Re: Sum items based off multiple variables

    Can you explain step by step how you will do it manually

  10. #10
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    PCI,

    I'm not sure what you mean by that. See attached excel sheet with only 1 line #. I want the information on the Line # tab and the Summary to automatically appear based off of the information on Table 1.

    Please let me know if this is still unclear.
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    Does that make more sense or do you still need more information?

  12. #12
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,097

    Re: Sum items based off multiple variables

    In sheet "Line #" column "B" and sheet "Summary" column "A" values are: 1 2 3 6
    Where in sheet "Table 1" to pick up these values ??? Which cells exactly ?
    And of course the same question for all others columns
    Last edited by PCI; 12-01-2017 at 04:24 PM.

  13. #13
    Forum Contributor
    Join Date
    05-02-2014
    Location
    United States
    MS-Off Ver
    Excel 365
    Posts
    205

    Re: Sum items based off multiple variables

    On tab Table 1:
    Column A means nothing
    Column B is quantities. Under the Pipe headers, they are linear feet. Under the other headers, they are quantities.
    Column C is the Pipe Size. If it reads 6"x1", the first number is the pipe size.

    Let me know if you need anything else.

  14. #14
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,097

    Re: Sum items based off multiple variables

    It will be certainly good to restart completely a new thread to see if someone with eyes can help you

+ 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: 13
    Last Post: 10-11-2016, 10:29 AM
  2. [SOLVED] Conditional SUMIF based on multiple columns and multiple row variables
    By jaymaan74 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-15-2016, 11:05 AM
  3. [SOLVED] Count Unique Items, Based on Multiple Variables - Excel 2007
    By Joe Frenger in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-04-2014, 03:13 AM
  4. [SOLVED] Sum multiple columns based on multiple variables
    By dmschave in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-29-2014, 11:25 AM
  5. Max value based on multiple variables
    By Kaziglu Bey in forum Excel General
    Replies: 5
    Last Post: 06-28-2011, 06:21 AM
  6. Max based on multiple variables with multiple parameters
    By Latszer in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 10-09-2009, 03:39 AM
  7. Replies: 9
    Last Post: 02-16-2009, 12:46 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