Joe Carter
New Member
- Joined
- Nov 26, 2019
- Messages
- 15
- Office Version
- 365
- Platform
- Windows
This is probably a basic question, sorry if elementary.
When the "units" column in my spreadsheet is "HP" for horse power, I want the "LOAD" column next to it to change to fraction format, because motors typically showup as "1/2 HP" and not "0.5 HP".
I got it to work and could do a conditional format rule per cell, but there's got to be a way for excel to look to the right of the formatted cell, see if the value is equal to "HP", then apply the 38718 (means fraction) format.
First row works with Rule Formula: =$E$5="HP", Format is 38718 for fraction, Applies to: =$D$5.
Last row is example of the problem, it's HP so should show 1/4.
How do I apply it to the a range for say D5 to E120? I tried highlighting all and doing conditional formating, but it keeps looking at $E$5.
When the "units" column in my spreadsheet is "HP" for horse power, I want the "LOAD" column next to it to change to fraction format, because motors typically showup as "1/2 HP" and not "0.5 HP".
I got it to work and could do a conditional format rule per cell, but there's got to be a way for excel to look to the right of the formatted cell, see if the value is equal to "HP", then apply the 38718 (means fraction) format.
LOAD | UNITS - HP KW MCA |
1/33 | HP |
0.25 | KW |
3.00 | MCA |
0.25 | HP |
First row works with Rule Formula: =$E$5="HP", Format is 38718 for fraction, Applies to: =$D$5.
Last row is example of the problem, it's HP so should show 1/4.
How do I apply it to the a range for say D5 to E120? I tried highlighting all and doing conditional formating, but it keeps looking at $E$5.