LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
 
Posts: n/a
Default RIGHT_worksheet_function question

Hello -

I have an Excel spreadsheet that has 2 columns with many rows of
numeric data in them. The cells have been defined as text fields.

The problem I am having is I need to see if there is a way to express
the RIGHT_worksheet_function with some sort of dynamic variable. I
have a 5 digit number in many different rows of a particular column,
and need to remove the first 2 numbers in it so that the last 3 numbers
are all that is left in the field. The problem I am having is trying
to figure out how to do this without having to manually do it.

For example I have:

A B
19 19010
20 20010
21 21010
***NOTE*** Column A is already defined and only being used for example
purposes.

And so on...

Is there any way to make the expression work for column B without
having to change the expression's first 2 digits every time that
changes? Right now I have only been able to get "=RIGHT(19010,3)" to
work, but this will not longer work once the first 2 digits change in
the number. I need to figure out if there is a way to make this
formula dynamic for varying numbers.

The end result needs to be:

A B
19 010
20 010
21 010
***NOTE*** Column A is already defined and only being used for example
purposes.

Much thanks in advance...

 
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
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Simple question Sheila Clarke Excel Discussion (Misc queries) 2 March 24th 05 04:31 PM
Question about combining data from multiple workbooks into one rep BookOpenandUpright Excel Discussion (Misc queries) 2 February 19th 05 12:37 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM
COUNTIF Question zbert Excel Worksheet Functions 1 November 1st 04 01:59 AM


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