Home

I need help with Excel

%3CLINGO-SUB%20id%3D%22lingo-sub-859667%22%20slang%3D%22en-US%22%3EI%20need%20help%20with%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-859667%22%20slang%3D%22en-US%22%3E%3CP%3ESorry%2C%20I%20have%20posted%20this%20earlier%20but%20it%20has%20been%20marked%20as%20spam%20even%20though%20I%20have%20a%20legitimate%20question.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20new%20at%20this.%20I've%20tried%20to%20search%20for%20an%20answer%20through%20the%20existing%20posts%2C%20but%20I%20couldn't.%20Here%20is%20my%20issue.%20There%20must%20be%20a%20very%20simple%20way%20to%20do%20this%2C%20but%20I%20couldn't%20succeed%20by%20myself.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20building%20a%20calculation%20sheet%20for%20pipe%20welding.%20The%20user%20must%20put%20in%20some%20parameters%20in%20order%20for%20the%20sheet%20to%20calculate.%20The%20problem%20is%2C%20with%20pipes%2C%20most%20techs%20work%20with%20the%20nominal%20diameter%20and%20the%20schedule%2C%20but%20for%20the%20calculation%2C%20I%20need%20it%20to%20be%20converted%20to%20actual%20diameter%20and%20thickness.%20I%20have%20a%20chart%20that%20lists%20the%20nominal%20diameter%20and%20gives%20the%20thickness%20related%20to%20the%20schedule%20while%20also%20giving%20the%20actual%20diameter.%26nbsp%3B%20I%20would%20like%20to%20be%20able%20to%20have%20the%20user%20select%20the%20nominal%20diameter%20in%20a%20dropdown%20list%2C%20then%20the%20schedule%20in%20another%20dropdown%20list%2C%20and%20have%20a%20function%20that%20takes%20these%202%20pieces%20of%20information%20to%20select%20the%20real%20diameter%20and%20the%20thickness%20in%20the%20chart%20to%20use%20them%20in%20the%20calculations.%20an%20example%20of%20the%20chart%20can%20be%20found%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.rolledalloys.ca%2Ftools%2Fpipe-chart%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.rolledalloys.ca%2Ftools%2Fpipe-chart%2F%3C%2FA%3E%3C%2FP%3E%3CP%3EDoes%20somebody%20have%20an%20idea%20of%20how%20to%20do%20this%20without%20using%20any%20macros%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-859667%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-859738%22%20slang%3D%22en-US%22%3ERe%3A%20I%20need%20help%20with%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-859738%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20I'm%20not%20mistaken%20outside%20diameter%20of%20the%20pipe%20are%20always%20the%20same.%20Inside%20diameter%20is%20decreasing%20with%20thickness%20increase.%3C%2FP%3E%3CP%3EHere's%20a%20tutoriral%20for%20drop%20down%20list%20%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKGnvCKiOLM0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKGnvCKiOLM0%3C%2FA%3E.%3C%2FP%3E%3CP%3EDo%20not%20understand%20what%20are%20you%20trying%20to%20calculate%20%3F%3C%2FP%3E%3CP%3EI'm%20also%20in%20pipe%20welding%20branche%20(IWE).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-863986%22%20slang%3D%22en-US%22%3ERe%3A%20I%20need%20help%20with%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-863986%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20I%20enter%20on%20excel%20the%20data%20of%20the%20chart%20appearing%20in%20the%20link%2C%20how%20can%20I%20ask%20Excel%20to%20output%20the%20actual%20diameter%20and%20the%20actual%20thickness%20from%202%20input%20parameters%20that%20are%20the%20nominal%20diameter%20and%20the%20schedule.%20You%20are%20right%2C%20the%20outside%20diameter%20between%202%20schedules%20is%20the%20same%2C%20it's%20the%20inside%20diameter%20that%20decreases%2C%20but%20it%20does%20not%20matter%20in%20my%20case.%20What%20I'm%20trying%20to%20calculate%20does%20not%20matter%20either.%20And%20I%20do%20not%20have%20problems%20doing%20dropdown%20list.%3C%2FP%3E%3CP%3EHere%20is%20an%20example%3A%3C%2FP%3E%3CP%3ELet's%20say%20the%20user%20wants%20to%20use%20the%20sheet%20for%20a%201%2F8%20schedule%2040%20pipe.%20I%20want%20him%20to%20select%201%2F8%20in%20a%20dropdown%20list%20and%20schedule%2040%20in%20another%20list.%20From%20there%2C%20I%20want%20excel%20to%20use%20those%20two%20data%20and%20be%20able%20to%20go%20in%20the%20chart%20(for%20which%20the%20data%20is%20somewhere%20hidden%20in%20the%20sheet)%20and%20output%200.405%20as%20actual%20diameter%20and%200.068%20for%20the%20thickness.%20I%20have%20tried%20to%20go%20with%20IF%20functions%20(IF(DROPDOWNLIST1%3D%221%2F8%22%3B0.405%3BIF(DROPDOWNLIST1%3D%223%2F16%22%3B0.540%3B%20etc)%2C%20but%20there%20are%20too%20many%20levels%20of%20imbrication%20and%20excel%20does%20not%20allow%20it.%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20function%20that%20takes%20the%20input%20parameter%20and%20can%20convert%20it%20to%20a%20row%20number(%20ex%3A%20A)%2C%20takes%20a%20second%20parameter%20and%20converts%20it%20to%20a%20column%20number%20(ex%3A%201)%20and%20outputs%20the%20value%20of%20the%20case%20A1%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F410539%22%20target%3D%22_blank%22%3E%40Drogar%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-864095%22%20slang%3D%22en-US%22%3ERe%3A%20I%20need%20help%20with%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-864095%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F410366%22%20target%3D%22_blank%22%3E%40Fabiencote%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20that's%20INDEX%2FMATCH.%20It%20looks%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%3DINDEX(%3CDICT%20range%3D%22%22%3E%2C%0A%20%20%20MATCH(%3CPIPE%3E%2C%3CCOLUMN%20in%3D%22%22%20dict%3D%22%22%20with%3D%22%22%20pipe%3D%22%22%20sizes%3D%22%22%3E%2C0)%2C%0A%20%20%20MATCH(%3CSCHEDULE%3E%2C%3CHEADERS%20row%3D%22%22%20in%3D%22%22%20dict%3D%22%22%20with%3D%22%22%20schedules%3D%22%22%3E%2C0)%0A)%3C%2FHEADERS%3E%3C%2FSCHEDULE%3E%3C%2FCOLUMN%3E%3C%2FPIPE%3E%3C%2FDICT%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Ebut%20it's%20easier%20to%20explain%20on%20some%20sample%20if%20you%20could%20provide%20one.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-865360%22%20slang%3D%22en-US%22%3ERe%3A%20I%20need%20help%20with%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-865360%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F410366%22%20target%3D%22_blank%22%3E%40Fabiencote%3C%2FA%3E%26nbsp%3Btry%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBasically%20you%20have%20to%20use%20a%20vlookup%20and%20an%20hlookup%20with%20and%20index%20row%20at%20the%20bottom%20of%20you%20list.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20got%20it%20working%20for%20you%20...%20assuming%20I%20have%20understood%20what%20you%20want.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-865361%22%20slang%3D%22en-US%22%3ERe%3A%20I%20need%20help%20with%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-865361%22%20slang%3D%22en-US%22%3EThis%20works%20too%20...%20nice%20one%20Sergei%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-891370%22%20slang%3D%22en-US%22%3ERe%3A%20I%20need%20help%20with%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-891370%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F316685%22%20target%3D%22_blank%22%3E%40Stephen_Vidulich%3C%2FA%3E%26nbsp%3BSorry%20for%20the%20late%20reaction.%20That%20is%20exactly%20what%20I%20was%20trying%20to%20do!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Fabiencote
Occasional Contributor

Sorry, I have posted this earlier but it has been marked as spam even though I have a legitimate question.

 

I'm new at this. I've tried to search for an answer through the existing posts, but I couldn't. Here is my issue. There must be a very simple way to do this, but I couldn't succeed by myself. 

I am building a calculation sheet for pipe welding. The user must put in some parameters in order for the sheet to calculate. The problem is, with pipes, most techs work with the nominal diameter and the schedule, but for the calculation, I need it to be converted to actual diameter and thickness. I have a chart that lists the nominal diameter and gives the thickness related to the schedule while also giving the actual diameter.  I would like to be able to have the user select the nominal diameter in a dropdown list, then the schedule in another dropdown list, and have a function that takes these 2 pieces of information to select the real diameter and the thickness in the chart to use them in the calculations. an example of the chart can be found here: https://www.rolledalloys.ca/tools/pipe-chart/

Does somebody have an idea of how to do this without using any macros?

 

Thanks in advance

6 Replies

If I'm not mistaken outside diameter of the pipe are always the same. Inside diameter is decreasing with thickness increase.

Here's a tutoriral for drop down list https://www.youtube.com/watch?v=KGnvCKiOLM0.

Do not understand what are you trying to calculate ?

I'm also in pipe welding branche (IWE).

If I enter on excel the data of the chart appearing in the link, how can I ask Excel to output the actual diameter and the actual thickness from 2 input parameters that are the nominal diameter and the schedule. You are right, the outside diameter between 2 schedules is the same, it's the inside diameter that decreases, but it does not matter in my case. What I'm trying to calculate does not matter either. And I do not have problems doing dropdown list.

Here is an example:

Let's say the user wants to use the sheet for a 1/8 schedule 40 pipe. I want him to select 1/8 in a dropdown list and schedule 40 in another list. From there, I want excel to use those two data and be able to go in the chart (for which the data is somewhere hidden in the sheet) and output 0.405 as actual diameter and 0.068 for the thickness. I have tried to go with IF functions (IF(DROPDOWNLIST1="1/8";0.405;IF(DROPDOWNLIST1="3/16";0.540; etc), but there are too many levels of imbrication and excel does not allow it. 

Is there a function that takes the input parameter and can convert it to a row number( ex: A), takes a second parameter and converts it to a column number (ex: 1) and outputs the value of the case A1?

 @Drogar 

@Fabiencote 

Yes, that's INDEX/MATCH. It looks like

=INDEX(<dict range>,
   MATCH(<pipe>,<column in dict with pipe sizes>,0),
   MATCH(<schedule>,<headers row in dict with schedules>,0)
)

but it's easier to explain on some sample if you could provide one.

@Fabiencote try this.

 

Basically you have to use a vlookup and an hlookup with and index row at the bottom of you list.

 

I got it working for you ... assuming I have understood what you want.

This works too ... nice one Sergei

@Stephen_Vidulich Sorry for the late reaction. That is exactly what I was trying to do!

 

Thanks a lot!

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies