Cells with numbers and text

Nascarnut

New Member
Joined
Jan 20, 2005
Messages
11
Good Day to all the great minds out there.

I need a little help with this very simple problem.
I want to be able to treat a colulm of cells as numbers only, even when they include text.
example:
colulm A is quanity but it may contain 12lf
and colulm B is a price if $3.00
and colulm C is the total
I want colulm A to be reconized as a number so that
when A*B=C

Thank you,
 

Some videos you may like

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
Something like this ? :-
=VALUE(IF(RIGHT(A1,2)="lf",LEFT(A1,LEN(A1)-2),A1))*B1
 

Nascarnut

New Member
Joined
Jan 20, 2005
Messages
11
Thanks for the speedy reply.
I'm confused tho.
Isn't there some sort of cell condition that will work in place of a formula?
I thought that it would be similar to changing colulm A to "text" only
instead of text, the cells would be treated as numbers.

Your solution works fine in colulm C

Thank You
 

Watch MrExcel Video

Forum statistics

Threads
1,122,653
Messages
5,597,377
Members
414,141
Latest member
Joey_T92

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
Top