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,
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Something like this ? :-
=VALUE(IF(RIGHT(A1,2)="lf",LEFT(A1,LEN(A1)-2),A1))*B1
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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