#1   Report Post  
Posted to microsoft.public.excel.misc
davids
 
Posts: n/a
Default Formula Query

I was wondering if there is a formula to replace the first four digits of any
given sequence of numbers ie 1234567 needs to be replaced with xxxx567.the
length of the numbers are varied ie the number could also be 12345 in which
case it needs to be replaced with xxxx5.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Formula Query

"davids" wrote in message
...
I was wondering if there is a formula to replace the first four digits of
any
given sequence of numbers ie 1234567 needs to be replaced with xxxx567.the
length of the numbers are varied ie the number could also be 12345 in
which
case it needs to be replaced with xxxx5.


="xxxx"&RIGHT(A1,LEN(A1)-4)
--
David Biddulph


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Get External Data - not editable using Query Wizard MargaretBeckbury Excel Discussion (Misc queries) 7 January 17th 06 09:13 AM
Formula Help Robert Excel Worksheet Functions 15 January 3rd 06 02:17 AM
Formula Result Won't Query natei6 Excel Discussion (Misc queries) 3 November 24th 05 06:20 AM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 03:38 AM


All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"