Hello,
I'm trying a formula like this:
= IF (B2 <18, "Young", IF (AND (B2> 18, B2 <65), "Mature"; "Elder"))
why continue to leave in C2 (where the formula is entered) # NAME? if I write any number in B2?
max_max
Hello,
I'm trying a formula like this:
= IF (B2 <18, "Young", IF (AND (B2> 18, B2 <65), "Mature"; "Elder"))
why continue to leave in C2 (where the formula is entered) # NAME? if I write any number in B2?
max_max
Hi Maxmax, two things:
I'm not sure if you spaced out the equation just for ease of reading, but if it's actually written like that, Excel doesn't like spaces too much. But other than that, the ; after "Mature" needs to be a ,
There may be some localization with the Italian version of Excel that I'm unaware of, but let me know if that does the trick.
Going for Guru! Click the Star to the bottom left of this post if I helped!
There seems to be nothing wrong with the structure of the formula.
What is the ; for?
If your version used the ; then it should be in place of all the , or use all ,.
What happens when you change "Mature","Elder"
HTH
Regards, Jeff
Not what you asked for, but people of exactly 18 years old will be called Elders in your formula
When I say semicolon, u say comma!
= lookup(b2, {0,18,65}, {"Young","Mature","Elder"})
Entia non sunt multiplicanda sine necessitate
Excuse me,
I found the error: I did copy / paste wrong:
= IF (B2 <18, "Young", IF (AND (B2> 18, B2 <65), "Mature"; "Elder"))
the symbol " included in the formula in the sheet was not accurate.
max_max
In Italian this formula:
= lookup(b2, {0,18,65}, {"Young","Mature","Elder"})
should be:
= Lookup(b2;{0;18;65};{"Young";"Mature";"Elder"})
but does not work.
max_max
Your age levels are not well defined.
If B2 = 18 what result do you expect?
If B2 = 65 what result do you expect?
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
If B2 = 18 = young
If B2 = 65 = elder
Try this...
=IF(COUNT(B2),IF(B2>=65,"Elder",IF(B2>18,"Mature","Young")),"")
Replace the commas with semi-colons if needed.
Formula Tony Valko translated into Italian:
=SE(CONTA.NUMERI(B2);SE(B2>=65;"Anziano";SE(B2>18;"Maturo";"Giovane"));"")
thank you
max_max
You're welcome. Thanks for the feedback!
Hello to all,
SGH formula:
= Lookup (b2, {0,18,65}, {"Young", "Mature", "Elder"})
translated into Italian:
= CERCA(B2;{0;18;65};{"Young";"Mature";"Elder"})
Thanks to all from Italy
max_max
= CERCA(B2;{0;19;65};{"Young";"Mature";"Elder"}) if 18=young
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
thanks martin
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks