ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do i ignore letters in a formula? (https://www.excelbanter.com/excel-worksheet-functions/73120-how-do-i-ignore-letters-formula.html)

ineedhelp

How do i ignore letters in a formula?
 
I'm using the formula below, but, it only works on a single cell. I need to
make it work for certain column?

=LEFT(MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&" 0123456789")),MAX(SEARCH({0,1,2,3,4,5,6,7,8,9},"01 23456789"&A1))),SUMPRODUCT(--ISNUMBER(--MID(A1,ROW(INDIRECT("1:"&(LEN(A1)))),1))))

daddylonglegs

How do i ignore letters in a formula?
 

I don't think that formula ignores letters, as such. If you have a
single number in A1 it will exract that, e.g. it will take 342 from
"xyz342abc". Is that what you want to do?


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=515128


ineedhelp

How do i ignore letters in a formula?
 
I want to be able to add a column with mixed numerals. For example: The sum
of A2:A34 with the values in the cells being 1B or 1F or so.

"daddylonglegs" wrote:


I don't think that formula ignores letters, as such. If you have a
single number in A1 it will exract that, e.g. it will take 342 from
"xyz342abc". Is that what you want to do?


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=515128




All times are GMT +1. The time now is 12:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com