Need help with formula

Russk68

Well-known Member
Joined
May 1, 2006
Messages
589
Office Version
  1. 365
Platform
  1. MacOS
Hello all,
I sort of know how to use LEFT and LEN but not in this case.
In this particular column (A), data always appears in this format with a number on the left and the number in brackets on the right. The numbers can be either 1 or 2 digit. So I just need to remove any digits to the left of the first space and any digits to the right of the last space.

The first line below shows the result of the formula=.
2 Mac Viper Profile 16 bit Extended (2) Formula=Mac Viper Profile 16 bit Extended
2 Mac Viper Profile 16 bit Extended (2)
3 Mac Aura Extended - Colour Calibration Off (3)
3 Mac Aura Extended - Colour Calibration Off (3)
3 Mac Aura Extended - Colour Calibration Off (3)



Your help is greatly appreciated!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Brilliant! Works great!

I was hoping to be able to dissect a result to do my next task which is almost the same thing and learn something but I have failed.
Could you assist again?

I need to remove the trailing numbers in this Column D.

MVP16E 5 Formula=MVP16E
MVP16E 6
MAuraExF 1
MAuraExF 2
MAuraExF 3
 
Upvote 0
Sure thing. The first formula actually used the MID function rather than LEFT and RIGHT but your second request would be better suited with LEFT:

Code:
=LEFT(A1,FIND(" ",A1))
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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