Help creating a Function

misslady7270

New Member
Joined
Sep 29, 2012
Messages
1
I have to create 3 different functions for class. I have to be able to create a function that converts metrics to English that is provided in a predefined drop down list. I need help with this and my assignment is due Monday morning so please help! Im beyond frustrate as I cant figure this out :confused: So I below are the metrics that are in the drop down list that I need to create the 1st function to return a value, then I also included the formulas we have to use to get
the conversions, and then the last function will be similar to the 1st one to return a value from the drop down list.

So for example if we are doing the 1st option from the dropdown list then I would need the 1st function to return a value of "pounds" then I need a function to return a value of the formula and the last function will need to return the value of "kilograms" . Please not that these functions need to work with whatever selection is made from the dropdown list w/ all the options I provided below.

Metrics
Formulas
Pounds to Kilograms
pounds * .4536
Kilograms to Poundskilograms * 2.2
Inches to Centimeters
2.54*inches
Centimeters to Inches0.3937*centimeters
Farenheit to Celsius
((farenheit - 32) * (5 / 9))
Celsius to Farenheit
(1.8 * celsius) + 32
Quarts to Liters
quarts * .9464
Liters to Quarts
liters * 1.057
Miles to Kilometers
miles * 1.609
Kilometers to Miles
kilometers * .6214

<colgroup><col style="mso-width-source:userset;mso-width-alt:5302;width:109pt" width="145"> <col style="mso-width-source:userset;mso-width-alt:5924;width:122pt" width="162"> </colgroup><tbody>
</tbody>
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I have to create 3 different functions for class. I have to be able to create a function that converts metrics to English that is provided in a predefined drop down list. I need help with this and my assignment is due Monday morning so please help! Im beyond frustrate as I cant figure this out :confused: So I below are the metrics that are in the drop down list that I need to create the 1st function to return a value, then I also included the formulas we have to use to get
the conversions, and then the last function will be similar to the 1st one to return a value from the drop down list.

So for example if we are doing the 1st option from the dropdown list then I would need the 1st function to return a value of "pounds" then I need a function to return a value of the formula and the last function will need to return the value of "kilograms" . Please not that these functions need to work with whatever selection is made from the dropdown list w/ all the options I provided below.

Metrics
Formulas
Pounds to Kilograms
pounds * .4536
Kilograms to Pounds
kilograms * 2.2
Inches to Centimeters
2.54*inches
Centimeters to Inches
0.3937*centimeters
Farenheit to Celsius
((farenheit - 32) * (5 / 9))
Celsius to Farenheit
(1.8 * celsius) + 32
Quarts to Liters
quarts * .9464
Liters to Quarts
liters * 1.057
Miles to Kilometers
miles * 1.609
Kilometers to Miles
kilometers * .6214

<TBODY>
</TBODY>

If someone else does your homework for you, is that not defeating the purpose of taking the course?
 
Upvote 0

Forum statistics

Threads
1,213,561
Messages
6,114,316
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top