Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default replace a number in a sentence every time it is dragged

euro.stat 1434,41051,country=s
I want to replace 41051 with other 5 digit numbers every time i drag it in
Excel.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default replace a number in a sentence every time it is dragged

One try ..

Source data as posted assumed representative, and running in A1 down,
with replacement numbers listed in B1 down

Put in C1:
=LEFT(A1,LEN(A1)-SEARCH(",",A1))&TEXT(B1,"00000")&RIGHT(A1,LEN(A1)-SEARCH(",",A1,SEARCH(",",A1)+1)+1)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"SushilNayal" wrote:
euro.stat 1434,41051,country=s
I want to replace 41051 with other 5 digit numbers every time i drag it in
Excel.

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
Locking Clolumn Color So It Won't Get Dragged Away Rocco_Boy Excel Discussion (Misc queries) 4 November 22nd 06 04:10 AM
how to globally replace two values at the same time in Excel Lee Crew Excel Discussion (Misc queries) 3 October 4th 06 04:23 PM
Formula not changing when Dragged!!!! aposatsk Excel Discussion (Misc queries) 2 August 17th 06 02:53 PM
why does excel replace letter m with a 1 every time Access Newbie looking for help Excel Discussion (Misc queries) 1 November 23rd 05 07:24 PM
Indirect reference to another sheet that can be dragged Brian Excel Worksheet Functions 1 October 17th 05 09:05 PM


All times are GMT +1. The time now is 02:50 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"