cityboy_ca
New Member
- Joined
- Mar 21, 2007
- Messages
- 21
Excel 2007
I'm updating a price sheet to show prices with a gas surcharge amount and the actual amount of the surcharge. I'm using the =concatenate command to put both of these prices in one cell. So my formula looks like:
=CONCATENATE(ROUND(Sheet2!B3*(1+$B$3),2)," / ",ROUND(Sheet2!B3*$B$3,2))
where Sheet2!B3 refers to the base price and B3 is a cell on the current sheet with the surcharge percent. My result usually looks like 17.41 / 0.51, which is great. The problem is with 0's. If the result is supposed to be 20.50 / 0.60 it instead shows as 20.5 / 0.60.
I want the extra 0 after the 20.5 and would love to lose the leading 0 in 0.61. I can't do left or right trims since I need it to work for various prices.
Anyone have any thoughts? My skill level is fairly low, so please respond accordingly.
Thanks.
I'm updating a price sheet to show prices with a gas surcharge amount and the actual amount of the surcharge. I'm using the =concatenate command to put both of these prices in one cell. So my formula looks like:
=CONCATENATE(ROUND(Sheet2!B3*(1+$B$3),2)," / ",ROUND(Sheet2!B3*$B$3,2))
where Sheet2!B3 refers to the base price and B3 is a cell on the current sheet with the surcharge percent. My result usually looks like 17.41 / 0.51, which is great. The problem is with 0's. If the result is supposed to be 20.50 / 0.60 it instead shows as 20.5 / 0.60.
I want the extra 0 after the 20.5 and would love to lose the leading 0 in 0.61. I can't do left or right trims since I need it to work for various prices.
Anyone have any thoughts? My skill level is fairly low, so please respond accordingly.
Thanks.