Excel Problem

D

Danny

Have at it guys.
I’m putting formula into A2. I want it to return a value for this formula,
but I think the syntax is wrong. Help greatly appreciated.
=IF(A1<=13,â€Aâ€,IF(A1>13<18,â€RESULTâ€,IF(A1>=18,â€Bâ€)))
Danny
 
D

David Biddulph

See your earlier two threads. Don't start a new thread when your question
has already been answered.
 
D

David Biddulph

I'm intrigued by your second test, John. You are comparing A1<18 with 13.
A1<18 is a Boolean. TRUE is less than 13, and FALSE is less than 13, hence
A1<18>13 is always TRUE, so your test isn't doing anything useful. You may
wish to reconsider your advice to Danny?
[Or you may wish to let Danny take the advice which he was given in an
earlier thread where he asked the same question.]
 
D

Danny

Hi David,
Thanks for the correction. However, this is a different question than my
first post.
Danny
 
D

Danny

David,
Instead of criticizing John and me, it would have been good to put that
energy ito a solution to the problem. Have a nice day.
Danny

David Biddulph said:
I'm intrigued by your second test, John. You are comparing A1<18 with 13.
A1<18 is a Boolean. TRUE is less than 13, and FALSE is less than 13, hence
A1<18>13 is always TRUE, so your test isn't doing anything useful. You may
wish to reconsider your advice to Danny?
[Or you may wish to let Danny take the advice which he was given in an
earlier thread where he asked the same question.]
--
David Biddulph

John Moore said:
Try this ...=IF(A1<=13,"A",IF(A1<18>13,"RESULT",IF(A1>=18,"B","")))
 
D

David Biddulph

Two different answers to your syntax error were given by Dave Peterson and
by Max in response to your original question in the thread "Excel ranges
within a cell".
--
David Biddulph

Danny said:
David,
Instead of criticizing John and me, it would have been good to put that
energy ito a solution to the problem. Have a nice day.
Danny

David Biddulph said:
I'm intrigued by your second test, John. You are comparing A1<18 with
13.
A1<18 is a Boolean. TRUE is less than 13, and FALSE is less than 13,
hence
A1<18>13 is always TRUE, so your test isn't doing anything useful. You
may
wish to reconsider your advice to Danny?
[Or you may wish to let Danny take the advice which he was given in an
earlier thread where he asked the same question.]
--
David Biddulph

John Moore said:
Try this ...=IF(A1<=13,"A",IF(A1<18>13,"RESULT",IF(A1>=18,"B","")))

:

Have at it guys.
I'm putting formula into A2. I want it to return a value for this
formula,
but I think the syntax is wrong. Help greatly appreciated.
=IF(A1<=13,"A",IF(A1>13<18,"RESULT",IF(A1>=18,"B")))
Danny
 
D

Danny

thank you David. I will look that up. Didn't realize I had entered the same
question under a different subject heading.
Danny

David Biddulph said:
Two different answers to your syntax error were given by Dave Peterson and
by Max in response to your original question in the thread "Excel ranges
within a cell".
--
David Biddulph

Danny said:
David,
Instead of criticizing John and me, it would have been good to put that
energy ito a solution to the problem. Have a nice day.
Danny

David Biddulph said:
I'm intrigued by your second test, John. You are comparing A1<18 with
13.
A1<18 is a Boolean. TRUE is less than 13, and FALSE is less than 13,
hence
A1<18>13 is always TRUE, so your test isn't doing anything useful. You
may
wish to reconsider your advice to Danny?
[Or you may wish to let Danny take the advice which he was given in an
earlier thread where he asked the same question.]
--
David Biddulph

Try this ...=IF(A1<=13,"A",IF(A1<18>13,"RESULT",IF(A1>=18,"B","")))

:

Have at it guys.
I'm putting formula into A2. I want it to return a value for this
formula,
but I think the syntax is wrong. Help greatly appreciated.
=IF(A1<=13,"A",IF(A1>13<18,"RESULT",IF(A1>=18,"B")))
Danny
 
D

Danny

Hi John,
That formula worked well for the parameters that I set out. Thank you very
much. As you know solving one problem can sometimes create others. What I
would also like the formula to be able to do is if there is no value entered
into cell A1, then nothing shows in cell A2. As the formula stands now, when
no value is entered in A1, "A" is printed in A2.
Danny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top