ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need help with unit formulas (https://www.excelbanter.com/excel-worksheet-functions/7726-need-help-unit-formulas.html)

Tom Andrews

Need help with unit formulas
 
When you type an E for each which would equal 1, or type C for per hundred
which would equal .01, how do you get the cell to show E or C but calculate
by 1 or .01?

McCarthy_MF

=IF(B2="E",1*A2,0.01*A2)
Provided column A is a number to be multiplied by "E" or "C"

I hope this helps.

"Tom Andrews" wrote:

When you type an E for each which would equal 1, or type C for per hundred
which would equal .01, how do you get the cell to show E or C but calculate
by 1 or .01?



All times are GMT +1. The time now is 07:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com