Cell to display numeric and alpha, but only value the number

erodriguez1214

New Member
Joined
Mar 9, 2009
Messages
8
All,

I'm looking for a way to display both alpha and numeric values but be able to sum only the numeric value.

Example:

Cell A1 = 100 case
Cell A2 = 50 each
Cell A3 = feet 50

The alpha characters may sometimes come before the digits, and aren’t always with the same spacing (i.e. separated by a blank space).

My hope is that there is a way to do this without a VBA, as I have no clue how to use them.

Any help that can be offered is greatly appreciated.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Using your posted example...
This formula returns the consecutive numbers from the referenced cell:
Code:
B1: =LOOKUP(99^99,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},
A1&"0123456789")),ROW(INDIRECT("1:"&LEN(A1))))))
Copy that formula down through cell B3

In your example, the formulas return these values:
B1: 100
B2: 50
B3: 50


Is that something you can work with?
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,917
Members
452,949
Latest member
beartooth91

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