Word Controlled Multipliers

Takron

New Member
Joined
May 12, 2011
Messages
12
I am making a gold and silver investment workbook and since gold comes in different karats, I want to have a karat column for my multiplier. I want to be able to put my grams in the gram box and then when I put 14k or 18k in my karat box it recognizes it and multiplies the information by the required percent based on what karat I put in the box.

Grams Ounces Price Karat
[106 ][ 3.74 ][ xyz][ 18k]

as opposed to

Grams Ounces Price Karat
[106 ][ 3.74 ][ xx ][ 10k]

And I want it to recognize the ''XX.K'' command to change the price percentage automatic enstead of having to change the percent manually every time. So if I update the karate with a different one say change from 10k to 18k or 14k it would recognize that and change the percent for me.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Use VLOOKUP.
You can create a table like...

Excel Workbook
PQ
39K37.5%
410K41.7%
514K58.5%
618K75.0%
722K91.6%
824K100.0%
Sheet1


Then refer to it in a formula like this (assuming that you type the karat into D3) --
=VLOOKUP(D3,$P$3:$Q$8,2,False)

This will search the first column of the table (ie, P3:P8), and when the match is found, return the value in the second column. You can then multiply that by the ounce column to get the amount of gold in the item.

Denis
 
Upvote 0
To recognize the number of carrots in a string of 18k (assume it is in D1) for example, use

Code:
=MID(D1,1,2)

This will return 18. Then you can use an IF statement for the percentages based on the number of carrots. If the percentage for 18k is 50% then use nested if functions to do the rest of the percentages and fill down. So assuming A1 is the number of grams

Code:
=IF(MID(D1,1,2)=18,0.50*A1,IF(...))

The nested if function could be quite long, but won't take long to do and is easily filled down.

Hope that helps
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,176
Members
452,893
Latest member
denay

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