Forum Discussion
i need help if its possible. currency creator
First, I'm not sure why it is that you can make that first formula work, but not the second, since it's just a difference of a factor of 10.
That said, your first formula doesn't appear to be any recognizable (at least not recognizable by me) Excel formula. If you actually have a spreadsheet where that's working, please share it. That way we can help you without having to read your mind.
Second, are there units of currency that reflect fractions of these different metals, much as our quarters or dimes or nickels represent 1/4, 1/10th and 1/20th of a dollar (which at one time reflected a certain number of ounces of silver)?
Said another way, how do you receive or spend this currency? What, other than figuring out the relationship between x amount of copper and the relevant amounts of silver or gold, are you tracking or using?
Said another way, give a bigger picture here of how this is fitting in to some larger context.
mathetes i put it into the custom currency section the then makes the cell appear 00g 00s 00c
- mathetesNov 11, 2020Gold Contributor
I'm sorry, but you don't say where that "custom currency section" is, and there's no section so labelled (as this image shows)
I did find a formula in cell B26 of "Sheet1" that converts the number in the cell above it to the format you are referring to, but haven't found it referenced in any other cells. It may be that the formula in that cell is the one needing to be changed.....
Are you thinking that DnD is something everybody has experience with?
I'd be happy to help, but you need to provide greater clarity in what is and what is not working.
- teladrinNov 11, 2020Copper Contributor
mathetes the best i can compare it to would be the daim.
so 10 cents makes a daim and then 10 daims make a dollar
i want to format the cells currancy to be like this however instead
1 cent = 1 copper
1 daim = 1 silver
1 dollar = 1 gold
- mathetesNov 11, 2020Gold Contributor
So let's go back to the drawing board here. I do notice that the one formula that I've referenced takes a number that represents a value and converts that, by means of an elaborate formula that concatenates numbers and text to produce what is really a result in text. It contains numbers, but is in fact text.
Copper is only reflected in whatever is in the original value after a decimal place.
Otherwise, a unit of 1 is 1 silver.
So a currency figure of 55 would be 55 silver.
a figure of 55.55 would be 55 silver and 55 copper
and so forth.
But the reason you're not able to do it with custom formatting (I think) is that you're not dealing with the underlying math there, only with the cosmetic, the way it looks.
The formula in sheet1, cell B27 deals with the numbers themselves. I think there's an easier, more accessible way than that.... a different approach, using a table and the INDEX and MATCH functions......I'll play around a bit to see what I can come up with, but it may not be this evening.
- teladrinNov 11, 2020Copper Contributor
mathetes im sorry im a huge novice to a lot of this stuff, so ive put it in the custom category under format cell
- mathetesNov 11, 2020Gold Contributor
Well, I'd say that's a hard way to do it. It's also not really dealing with the math itself, just the way it looks.
The formula in Sheet1, cell B27, is the one you need to work with, and I'll have to acknowledge it's a pretty sophisticated formula as well. But IT's where I would focus if I were you.
From whom did you get the spreadsheet in the first place? Is it a standard DnD template?