Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]() 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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I NEED HELP with the SPELLNUMBER Function | Excel Worksheet Functions | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
Date & Time | New Users to Excel | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
clock | Excel Worksheet Functions |