We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Any Excel experts out there please..?

Hello..

I am only a very basic Excel user and am looking to construct a simple Excel calculator for calculations incorporating the Mueller formula for fluid flow as shown here

http://plasticpipe.org/publications/software-ppi-calculator.html

Click accept>gas flow>low pressure flow..

Thanks for any input !
Feudal Britain needs land reform. 70% of the land is "owned" by 1 % of the population and at least 50% is unregistered (inherited by landed gentry). Thats why your slave box costs so much..
«1

Comments

  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Can you supply some test figures with the expected output and I'll see if I can construct an Excel formula based on that one?
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    I'm close with this:-
    =(((2971*POWER(B2,2.725))/POWER(B1,0.425))*POWER(((B3-B4)/B5),0.425))

    Where:-
    B1 is the Sg value
    B2 is the Di value
    B3 is the H1 value
    B4 is the H2 value
    B5 is the L value

    Hopefully it should give you the right direction to head in.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • robmar0se
    robmar0se Posts: 1,328 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Hello..

    I am only a very basic Excel user and am looking to construct a simple Excel calculator for calculations incorporating the Mueller formula for fluid flow as shown here

    http://plasticpipe.org/publications/software-ppi-calculator.html

    Click accept>gas flow>low pressure flow..

    Thanks for any input !


    Difficult to show you on here, I also have a coiuple of questions regarding the formula, eg Di is the number 2.725 supposed to represent to the power (eg 10 to power of 2 is 100)?

    Assuming this, and taking the norm where numbers are co-joined it means multiply, I would create a sheet with the 10 variables and fixed values (eg enter 2.725 into its own cell as a fixed value, etc).

    One could create one big formula, but it may be easier to build it up in stages

    1. Assuming to the power, one could use the formula @power(cellnumber, to the power no), to create a new cell (a) with this number, repeat for Sg (b)

    2. Next calc take power Di number multiply by the cell representing 2971, and divide by the power sg number and place in a new cell (c)

    3. Do the h1 - h2 next, new cell (d)

    4. Divide step 3 by L, into new cell (e)

    5. convert the answer to 4 using the power formala again to cell (f)

    6. Lastly multiply cell c with cell f.

    If you use cell addresses in the formulas, eg use the cell address for example a9, rather than 2.725, in formulas/calculations, then hopefully (i) the answer would show automatically in the cell identified in step 6 when you entered the values, also if the fixed values change it would jsut be a case of changing one of the entries.

    Hope this makes sense, maybe a better teacher is around who could explain it better than I.
  • robmar0se
    robmar0se Posts: 1,328 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    rmg1 wrote: »
    I'm close with this:-
    =(((2971*POWER(B2,2.725))/POWER(B1,0.425))*POWER(((B3-B4)/B5),0.425))

    Where:-
    B1 is the Sg value
    B2 is the Di value
    B3 is the H1 value
    B4 is the H2 value
    B5 is the L value

    Hopefully it should give you the right direction to head in.


    Faster than me (a little rusty I have to say), haven't checked it but bit looks good. Very well done!
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Thanks Rob, but it's not quite there.
    For values of 2,2,4,2,2 (in order of the cells) it works bang on.
    It falls over for anything else, so I think I've either got some bracketing wrong or mis-typed something.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • C_Mababejive
    C_Mababejive Posts: 11,668 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Combo Breaker
    OMG didnt expect such a learned response..!

    For the formula in post #3 how would i tabulate that on the excel sheet ?

    Thanks again peeps..
    Feudal Britain needs land reform. 70% of the land is "owned" by 1 % of the population and at least 50% is unregistered (inherited by landed gentry). Thats why your slave box costs so much..
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Put the formula into any cell you like (apart from A1-B5)
    The headers (Di,Sg, etc) go into column A in the same order they are posted.
    The actual values go into column B against the relevant header.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • robmar0se
    robmar0se Posts: 1,328 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    rmg1 wrote: »
    I'm close with this:-
    =(((2971*POWER(B2,2.725))/POWER(B1,0.425))*POWER(((B3-B4)/B5),0.425))

    Where:-
    B1 is the Sg value
    B2 is the Di value
    B3 is the H1 value
    B4 is the H2 value
    B5 is the L value

    Hopefully it should give you the right direction to head in.

    There is possibly a typos in the formula? Shouldn't the last number be 0.575 ?
  • C_Mababejive
    C_Mababejive Posts: 11,668 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Combo Breaker
    edited 1 February 2012 at 2:37PM
    robmar0se wrote: »
    There is possibly a typos in the formula? Shouldn't the last number be 0.575 ?
    Ye p..scrub my last post,,,with the typo fixed,the rsults are the same..!

    job done,,thanks boys n girls...now i wonder if i can find a metric version....

    I wonder if it can be adapted so that it auto transposes to calculate the unknown value when all the other values are input?
    Feudal Britain needs land reform. 70% of the land is "owned" by 1 % of the population and at least 50% is unregistered (inherited by landed gentry). Thats why your slave box costs so much..
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    So it should(!!) :o

    It shouldn't be too hard to change the calculation to give you the other variables where necessary.
    It won't auto-transpose, you'd have to adjust the formula for each scenario and save it in a different place.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.