LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 8 Nov 2004 07:18:01 -0800, Viper5963
wrote:

I am trying to subtract 1 from each position in my number, example position
1=0, position 2=9, position 3=7. 0-1 = -1, 9-1=8, 7-1=6. If the number in
any positon is a zero(0), then I want the new number to become a 9, instead
of a -1. I'm sorry I didn't make that clear in my first post.


Just add 1000. Or, if the number of digits being subtracted can vary, add
10^numdigits


--ron
 
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



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