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 / General Excel Questions / April 2008

Tip: Looking for answers? Try searching our database.

How to write a function formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raymond L - 27 Apr 2008 06:22 GMT
I need a formula that satisfies the following:
From an excel spreadsheet I have a colum that contains the ages of different
residences. The ages are 1) New (less than a year)  2) The rest has a range
from 1 to 100 years. I want to call this new column "Age". The column "K"
contains the data  and the first row is #35. Wherever there is a NEW I want
to call it 0. Ages from 47 to 100 I want to call it 1. Ages from 30 to 46 I
want to call it 2. Finally ages from 0 to 29 I want to call it 3.
I think I need to revise first column "K" for the value of 0 for all "NEW".
Otherwise I will have problems with the designation of the three groups.

Thank you for your help,
Ramon Luis
Gary''s Student - 27 Apr 2008 10:59 GMT
With an age in A1, try:

=IF(A1="New",0,(A1>46)+(A1>29)*(A1<47)*2+(A1<30)*3)

Signature

Gary''s Student - gsnu200781

> I need a formula that satisfies the following:
> From an excel spreadsheet I have a colum that contains the ages of different
[quoted text clipped - 8 lines]
> Thank you for your help,
> Ramon Luis
 
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.