#1   Report Post  
SCOOBYDOO
 
Posts: n/a
Default If function help

Hi

In col D2:D6585 I have 19 codes i.e. A, C, BS etc in col G2:G6585 I have age
attained. I need to work out the following:

If age 24 then output is "Ineligible"
If code < A or C and age =18 the output is "In FTE?"
If code = A or C and age = 21 the output is "In FTE?"

Many thanks
  #2   Report Post  
Derek Y via OfficeKB.com
 
Posts: n/a
Default


Are those all your conditions?...Nothing else at all? Because what is someone
is code A and age 20?? You've got nothing for these people. I wrote your
code so that it leaves you with MISTAKE MADE

IF so then here is the code you need to place in your result column and drag
down:

=IF(G224,"Ineligible",IF(AND(OR(D2<A,D2<C),G2= 18),"In FTE?",IF(AND(OR
(D2=A,D2=C),G2=21),"In FTE?","MISTAKE MADE")))

Don't have excel on this computer to test it....but should work fine. Keep
in mind you wrote AND in certain places with your if statements....so that
means both conditions had to be met, the code part AND the age part, for it
to return that value you listed.

Derek


SCOOBYDOO wrote:
Hi

In col D2:D6585 I have 19 codes i.e. A, C, BS etc in col G2:G6585 I have age
attained. I need to work out the following:

If age 24 then output is "Ineligible"
If code < A or C and age =18 the output is "In FTE?"
If code = A or C and age = 21 the output is "In FTE?"

Many thanks



--
Message posted via http://www.officekb.com
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
I NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


All times are GMT +1. The time now is 12:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"