![]() |
Use of MID function for Variable Extraction
Hi, I have a need to extract the figure before "%" symbol. I tried using the script below but unable to achieve it. I will appreciate any assistance on the right function. Range("T" & z).Value = Mid(Range("M" & z), 1, 4) 14.20% USD FEDERAL GOVERNMENT BOND 5.20% USD FEDERAL GOVERNMENT BOND 14% USD FEDERAL GOVERNMENT BOND Desired Result: 14.20 5.20 14 |
Use of MID function for Variable Extraction
|
Use of MID function for Variable Extraction
On Wednesday, July 22, 2015 at 12:18:29 PM UTC+1, wrote:
Hi, I have a need to extract the figure before "%" symbol. I tried using the script below but unable to achieve it. I will appreciate any assistance on the right function. Range("T" & z).Value = Mid(Range("M" & z), 1, 4) 14.20% USD FEDERAL GOVERNMENT BOND 5.20% USD FEDERAL GOVERNMENT BOND 14% USD FEDERAL GOVERNMENT BOND Desired Result: 14.20 5.20 14 Many thanks |
All times are GMT +1. The time now is 04:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com