Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 7
Default Reading the last for characters of a data.

Hello. I have a list of values in a data that has 16 characters of numbers and letters (ie. 01V4245608099269). The only numbers/letters I need are the last 6 of the list. How would I create a formula that reads only the last 6?
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by DamienPham View Post
Hello. I have a list of values in a data that has 16 characters of numbers and letters (ie. 01V4245608099269). The only numbers/letters I need are the last 6 of the list. How would I create a formula that reads only the last 6?
=RIGHT(cell,6)

Change cell for the relevant cell reference. For example =RIGHT(A1,6)
  #3   Report Post  
Junior Member
 
Posts: 7
Default

Quote:
Originally Posted by Spencer101 View Post
=RIGHT(cell,6)

Change cell for the relevant cell reference. For example =RIGHT(A1,6)
Thanks! I was wondering if you could help me with something else too...
So in Column A, I have a list of numbers/letters (ie. 01V4245608099269), I want Column B to read the last 6 characters of Column A and if the number is 256, Column B should say Type1. If the number is 786, Column B should say Type2. Is this possible? How would I do that?
  #4   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by DamienPham View Post
Thanks! I was wondering if you could help me with something else too...
So in Column A, I have a list of numbers/letters (ie. 01V4245608099269), I want Column B to read the last 6 characters of Column A and if the number is 256, Column B should say Type1. If the number is 786, Column B should say Type2. Is this possible? How would I do that?
I dont understand how the last 6 characters would be a 3 digit number. Could you explain a little more?
  #5   Report Post  
Junior Member
 
Posts: 7
Default

Quote:
Originally Posted by Spencer101 View Post
I dont understand how the last 6 characters would be a 3 digit number. Could you explain a little more?
The Type (Type1, Type2, etc) can either be 2 or 3 digits. However, it's within the last 6 digits of the data. So if I'm looking for 256, it could be BKA256, or 256123, or B256KA. I hope this makes sense...


  #6   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by DamienPham View Post
The Type (Type1, Type2, etc) can either be 2 or 3 digits. However, it's within the last 6 digits of the data. So if I'm looking for 256, it could be BKA256, or 256123, or B256KA. I hope this makes sense...
Which version of Excel are you using, Damien?
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
Reading range w/ 255+ characters throws error jarabe28 Excel Programming 4 April 14th 09 04:39 PM
Reading the characters in a cell dstiefe Excel Programming 2 November 20th 08 01:01 AM
Reading data arrays from multiple data files in excel Hankjam[_2_] Excel Discussion (Misc queries) 0 February 7th 08 08:29 PM
Reading data from PPT and purge data to Excel and image [email protected] Excel Programming 1 January 17th 08 06:04 AM
Excel OLEDB reading Chinese characters problem [email protected] Excel Programming 0 September 12th 06 04:42 AM


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