+ Reply to Thread
Results 1 to 8 of 8

Mechanical Sizing Spreadsheet

Hybrid View

  1. #1
    Registered User
    Join Date
    10-03-2014
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    17

    Mechanical Sizing Spreadsheet

    Hello Experts,

    I'm stuck trying to figure out a formula for a pipe sizing spreadsheet that will determine sizing from a couple of different factors. Given a certain system size and pipe length, a size will be the result.

    e.g. - if a system (tons) has a certain run length, it will be a given size. I have attached a copy of the file I am trying to put together. Hopefully it's not confusing.

    Thanks for any help in advance!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Mechanical Sizing Spreadsheet

    I think it would be easier to have 2 columns specifying the min and max for each length, and have the tons on every row. Then you could use:

    =INDEX(N6:N22,MATCH(1,(B6=J6:J22)*(D6>=K6:K22)*(D6<=L6:L22),0))

    Also copy format to be the same as column N.

    See attached sheet for example.
    Attached Files Attached Files

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: Mechanical Sizing Spreadsheet

    I suggest that you rearrange you table like this:

    0 51 81 101 126 151 201 251
    1.5 5/8 3/4 3/4 3/4
    2 5/8 3/4 7/8 7/8 7/8
    2.5 3/4 3/4 7/8 7/8
    3 3/4 3/4 7/8
    3.5 3/4 7/8 1 1/8 1 1/8 1 1/8 1 1/8 1 1/8
    4 3/4 7/8 1 1/8 1 1/8 1 1/8 1 1/8
    5 7/8 1 1/8 1 1/8


    It probably won't show up very well on the forum, so I'll try to edit it better after I have posted, but on the top row (which starts in Q5) you have the start point of each range of lengths, and in the first column (starting in P6) you have the start of each tonnage range, and then you can use this formula in cell F6:

    =INDEX(Q6:X12,MATCH(B6,P6:P12),MATCH(D6,Q5:X5))

    (format as a fraction).

    You could put N/A in the blank cells in the table where the tonnage is exceeded.

    Hope this helps.

    Pete

    EDIT: It is easier if I attach the file, as below:
    Attached Files Attached Files
    Last edited by Pete_UK; 07-19-2022 at 11:57 AM.

  4. #4
    Registered User
    Join Date
    10-03-2014
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    17

    Re: Mechanical Sizing Spreadsheet

    Thanks Pete! That work great as well. Gives me an idea for a different sheet!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: Mechanical Sizing Spreadsheet

    Glad to help, and thanks for the rep. As with the other thread, if you intend to copy it down you will need to make the ranges absolute, i.e.:

    =INDEX($Q$6:$X$12,MATCH(B6,$P$6:$P$12),MATCH(D6,$Q$5:$X$5))

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    10-03-2014
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    17

    Re: Mechanical Sizing Spreadsheet

    Nick -

    Thanks for your fast reply, the formula works great! However, when I try to copy it down for a full sheet, the reference cells change. I tried to protect them with "$", but got an error as a result. What am I doing wrong?

    Thanks again!

    Dave

  7. #7
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Mechanical Sizing Spreadsheet

    I guess you missed one when you were putting the $ in, I often do that. Try:

    =INDEX($N$6:$N$22,MATCH(1,(B6=$J$6:$J$22)*(D6>=$K$6:$K$22)*(D6<=$L$6:$L$22),0))
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-03-2014
    Location
    Denver, CO
    MS-Off Ver
    2013
    Posts
    17

    Re: Mechanical Sizing Spreadsheet

    Thanks Nick!

+ 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. Benchmarking tables for MTBF of Mechanical equipment
    By Osama73 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-19-2019, 12:55 AM
  2. Mechanical Engineer interested in excel VBA
    By jeffdon in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 06-15-2018, 11:23 AM
  3. Excel Window and Spreadsheet Sizing Macros
    By MathGuy613 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2012, 08:20 AM
  4. sizing the Excel spreadsheet correctly on the screen
    By CJ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-03-2006, 05:00 AM
  5. [SOLVED] Name Box sizing
    By KenInPortland in forum Excel General
    Replies: 1
    Last Post: 12-21-2005, 04:20 PM
  6. [SOLVED] Row Sizing
    By Mike@ACM in forum Excel General
    Replies: 2
    Last Post: 07-16-2005, 12:05 AM
  7. [SOLVED] Workbook sizing
    By D.Parker in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-29-2005, 09:06 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