Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2006

Tip: Looking for answers? Try searching our database.

If Statement?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tenaj - 27 Apr 2006 15:22 GMT
Hey everyone,

=IF(A1=0,9,A1-1)
This formulas says if A1=0, make it 9 and subtract 1

How do I make it say if A1 equals 0, make A2= 5 and if A1=5 make A2=0

But there are 5 conditions.  They mirror each other.  Example: a 0 is a
5 and a 5 is a 0.

0=5, 5=0
1= 6, 6=1
2=7, 7=2
3=8, 8=3
4=9, 9=4
How do I make the cell meet all of these conditions.

Thank you for your help.

Signature

tenaj

Bob Phillips - 27 Apr 2006 15:33 GMT
=CHOOSE(A1+1,5,6,7,8,9,0,1,2,3,4)

Signature

HTH

Bob Phillips

(remove nothere from email address if mailing direct)

> Hey everyone,
>
[quoted text clipped - 14 lines]
>
> Thank you for your help.
Ron Coderre - 27 Apr 2006 15:46 GMT
Tenaj

I think this does what you want:

For a value in A1

B1: =MOD(A1+5,10)

Does that help?

Regards,
Ro
tenaj - 27 Apr 2006 20:03 GMT
Ron Coderre Wrote:
> Tenaj
>
[quoted text clipped - 8 lines]
> Regards,
> Ron

Thank you Ron.  I didn't figure out how to use it.  Maybe I did
something wrong.  The formula didn't generate anything but I have a
formula now that does exactly what I need.  Thank you for you time and
help.

Signature

tenaj

tenaj - 27 Apr 2006 19:55 GMT
Bob Phillips Wrote:
> =CHOOSE(A1+1,5,6,7,8,9,0,1,2,3,4)
>
[quoted text clipped - 34 lines]
> > View this thread
> http://www.excelforum.com/showthread.php?threadid=536799

Thank You Bob Phillips!   Superb!!!!!!!!!!  I could have never figure
that out
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.