Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
tenaj
 
Posts: n/a
Default Need help with a simple formula


I used the formula =IF(A1=0,9,A1-1) to get this. Notice that the top
and bottom numbers return to itself. How do I do it on the + side?
Going past 10 is when it takes me for a loop. I can understand the
simple -1 because 0 and 9 are the only two varibles but when adding it
goes up to 18.

4963
3852
2741
1630
0529
9418
8307
7296
6185
5074
4963

This is what I am trying to achieve.

Each digit is treated differently than what you see in the example
above (all of the digits in that one are -1) but what I am trying to
achieve is for the first digit (4)+1, the second digit (9)+2, the third
digit (6) +3, and the fourth digit (3)+4.

4963
5197
6321
7555
8789
9913
0147
1371
2505
3739
4963

When it goes above 10 is when it takes me for a loop. Any help will be
appreciated. Thanks.

Tenaj


--
tenaj
------------------------------------------------------------------------
tenaj's Profile: http://www.excelforum.com/member.php...o&userid=32691
View this thread: http://www.excelforum.com/showthread...hreadid=535526

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Ardus Petus
 
Posts: n/a
Default Need help with a simple formula

A2: =MOD(A1+1,10)
B2: =MOD(B1+2,10)
C2: ...
D2: =MOD(D1+4,10)

HTH
--
AP

"tenaj" a écrit dans le
message de ...

I used the formula =IF(A1=0,9,A1-1) to get this. Notice that the top
and bottom numbers return to itself. How do I do it on the + side?
Going past 10 is when it takes me for a loop. I can understand the
simple -1 because 0 and 9 are the only two varibles but when adding it
goes up to 18.

4963
3852
2741
1630
0529
9418
8307
7296
6185
5074
4963

This is what I am trying to achieve.

Each digit is treated differently than what you see in the example
above (all of the digits in that one are -1) but what I am trying to
achieve is for the first digit (4)+1, the second digit (9)+2, the third
digit (6) +3, and the fourth digit (3)+4.

4963
5197
6321
7555
8789
9913
0147
1371
2505
3739
4963

When it goes above 10 is when it takes me for a loop. Any help will be
appreciated. Thanks.

Tenaj


--
tenaj
------------------------------------------------------------------------
tenaj's Profile:

http://www.excelforum.com/member.php...o&userid=32691
View this thread: http://www.excelforum.com/showthread...hreadid=535526



  #3   Report Post  
Posted to microsoft.public.excel.newusers
tenaj
 
Posts: n/a
Default Need help with a simple formula


Perfect Thank you AP!


--
tenaj
------------------------------------------------------------------------
tenaj's Profile: http://www.excelforum.com/member.php...o&userid=32691
View this thread: http://www.excelforum.com/showthread...hreadid=535526

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
Simple Excel Formula Help robert145 New Users to Excel 7 March 17th 06 04:32 PM
When inserting a simple "Sum" formula all I get is the formula. Chris Bowling Charts and Charting in Excel 2 February 28th 06 05:22 PM
Need help with a simple formula [email protected] Excel Worksheet Functions 7 February 11th 06 10:26 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Simple formula for newbie! TC New Users to Excel 3 August 30th 05 02:04 AM


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