Cell with an expression and using the Left formula

Wkruger

New Member
Joined
Feb 19, 2010
Messages
28
I'm trying to multiply a cell with a constant and that has a non-numeric value. Example 15" (" = inches). I used the "Left" formula and it works. However, the data changes in size and would have to change the value of the Left formula from 2 to 4. Is there a better way of doing this? Like an SumIf command or formula that ignores the non numeric expression

I tried using the right command, but not sure if it will allow me to look at value after the expression IE: -1


VariableResultsFormula

<tbody>
</tbody>

15" $ 30.00 "=SUM(((LEFT($E15,2)*2)))"

<tbody>
</tbody>

15.5" $ 30.00 "=SUM(((LEFT($J8,2)*2)))"

<tbody>
</tbody>

15.5" $ 31.00 "=SUM(((LEFT($J9,4)*2)))"

<tbody>
</tbody>

<tbody>
</tbody>

Any insight would be appreciated

Thank you
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Can the variables be just numeric values with custom number formatting to display the inches symbol?

Custom cell format: 0.0''
The '' is two single quotes and not one double quote
 
Upvote 0
No, it is pre- populated and would have to change too many. Any suggested formula I can use? By the way ty for the reply
 
Upvote 0
By the way, do I need to do anything to close this this post? I searched and did not see anything or missed it
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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