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

Hi there,

I have a worksheet I have a right function which looks up the last 5 digits
in a cell. These digits represent the inventory code for individual inventory
items.

My problem is that sometimes these inventory codes are 6 digits long and
sometimes they are 5.

I can look up the last 6 digits and get a 0 infront of the 5 digit codes,
but I want to compare the data to data from another computer program which
won't work if the codes aren't represented in the same way. Can anyone think
of a way to look up the last 5 or 6 digits? Could this be done with an IF
combined with a RIGHT?

Cheers,

Sue
 
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
Averaging function Sarah Excel Discussion (Misc queries) 0 January 18th 05 04:09 PM
Function in XL or in VBA for XL that pulls numeric digits from a t Nate Oliver Excel Discussion (Misc queries) 0 December 14th 04 04:57 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
need to save values from a function before it changes Ron Excel Worksheet Functions 1 October 29th 04 06:29 AM
SUMIF(AND) FUNCTION Saariko Excel Worksheet Functions 9 October 28th 04 11:52 AM


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