Finding specifically formatted variable within a string?

Erik the Awful

New Member
Joined
Feb 9, 2014
Messages
11
I have cells that typically end in 2 or 3 digits followed by a K, but on rare occasions they have text after the K. It is possible for a K to appear elsewhere in the cell. Is there a way to search for the pattern of ###K without macros? It is feasible to move the ##K to another adjacent cell, but that makes updating and reading the sheet more difficult, and I'm wanting to add the search to simplify the updating.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Can you provide a sample of both, if it's always a number before the K, and a K can be afterward, then a simple modification of my formula would isolate the number:
=LEFT(A1,FIND("K",A1)-1)+0
 
Upvote 0
A cell will typically contain "1000-1400 Alpha12 50K". Sometimes it might be "1000-1300 Alpha41 55K CFG" or it could be "1030-1500 Kilo23 60K". I'm trying to add up the numbers before the Ks.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
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