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 / Worksheet Functions / February 2007

Tip: Looking for answers? Try searching our database.

if bigger than

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arne Hegefors - 13 Feb 2007 15:46 GMT
Hi! I have a matrix. I want to create another matrix on the basis of the
first one. I want to check a number in a cell in the first matrix is bigger
than 10. If so I want the number 1 in a cell in the other matrix. if the
number in the first matrix is bigger than 20 i want the number two and so on.
the problem is that is you use =if(...) it wont work for 20 becuase 20 is
bigger than 10. how can i do this? any help appreciated!
JE McGimpsey - 13 Feb 2007 15:54 GMT
one way:

   =IF(A1>10, INT(A1/10),"")

> Hi! I have a matrix. I want to create another matrix on the basis of the
> first one. I want to check a number in a cell in the first matrix is bigger
> than 10. If so I want the number 1 in a cell in the other matrix. if the
> number in the first matrix is bigger than 20 i want the number two and so on.
> the problem is that is you use =if(...) it wont work for 20 becuase 20 is
> bigger than 10. how can i do this? any help appreciated!
Sandy Mann - 13 Feb 2007 16:33 GMT
You don't say what you want if the first matrix number is less then 10 but
assuming that you want zero try:

=FLOOR(A1,10)/10

Signature

HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace@mailinator.com with @tiscali.co.uk

> Hi! I have a matrix. I want to create another matrix on the basis of the
> first one. I want to check a number in a cell in the first matrix is
[quoted text clipped - 4 lines]
> the problem is that is you use =if(...) it wont work for 20 becuase 20 is
> bigger than 10. how can i do this? any help appreciated!
 
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.