Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kingie
 
Posts: n/a
Default I wish to change the last digit in a list of random numbers. To a.

I have a list of random numbers generated by excel. I now want the same list
of nine digit numbers to all end in 1. EG 255254456 to become 255254451 is
there a way i can do this in excel?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=INT(A1/10)*10+1

--

HTH

RP
(remove nothere from the email address if mailing direct)


"kingie" wrote in message
...
I have a list of random numbers generated by excel. I now want the same

list
of nine digit numbers to all end in 1. EG 255254456 to become 255254451

is
there a way i can do this in excel?



  #3   Report Post  
kingie
 
Posts: n/a
Default

Just to say big thanks to Bob Philips you got me out of a jam.
kingie

"kingie" wrote:

I have a list of random numbers generated by excel. I now want the same list
of nine digit numbers to all end in 1. EG 255254456 to become 255254451 is
there a way i can do this in excel?

  #4   Report Post  
kingie
 
Posts: n/a
Default

Sorry spoke to soon this formula works if the original number ends in 0 but
all other numbers increase by one. eg 554433226 becomes 554433227. More help
please
Kingie

"kingie" wrote:

Just to say big thanks to Bob Philips you got me out of a jam.
kingie

"kingie" wrote:

I have a list of random numbers generated by excel. I now want the same list
of nine digit numbers to all end in 1. EG 255254456 to become 255254451 is
there a way i can do this in excel?

  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

You must have entered it incorrectly. I tested it with 255254456 and it
returns 255254451. Note the formula

=INT(A1/10)*10+1

--

HTH

RP
(remove nothere from the email address if mailing direct)


"kingie" wrote in message
...
Sorry spoke to soon this formula works if the original number ends in 0

but
all other numbers increase by one. eg 554433226 becomes 554433227. More

help
please
Kingie

"kingie" wrote:

Just to say big thanks to Bob Philips you got me out of a jam.
kingie

"kingie" wrote:

I have a list of random numbers generated by excel. I now want the

same list
of nine digit numbers to all end in 1. EG 255254456 to become

255254451 is
there a way i can do this in excel?





  #6   Report Post  
kingie
 
Posts: n/a
Default

Yes your dead right i don't know what i did wrong but it now works . Thanks
Best regards
kingie

"Bob Phillips" wrote:

You must have entered it incorrectly. I tested it with 255254456 and it
returns 255254451. Note the formula

=INT(A1/10)*10+1

--

HTH

RP
(remove nothere from the email address if mailing direct)


"kingie" wrote in message
...
Sorry spoke to soon this formula works if the original number ends in 0

but
all other numbers increase by one. eg 554433226 becomes 554433227. More

help
please
Kingie

"kingie" wrote:

Just to say big thanks to Bob Philips you got me out of a jam.
kingie

"kingie" wrote:

I have a list of random numbers generated by excel. I now want the

same list
of nine digit numbers to all end in 1. EG 255254456 to become

255254451 is
there a way i can do this 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
How do I change the size of the print in a drop down list? rwpjim Excel Discussion (Misc queries) 1 February 17th 05 02:12 PM
select drop down list 1 value will change the value in dr... Vincent Excel Worksheet Functions 1 February 3rd 05 11:52 AM
automatic color change in cells using a drop down list kennethwt Excel Worksheet Functions 1 January 21st 05 06:37 PM
How to change fonts in drop down list Dennis Excel Discussion (Misc queries) 1 January 12th 05 01:49 PM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM


All times are GMT +1. The time now is 05:00 PM.

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"