LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Connie
 
Posts: n/a
Default

IT WORKED! Thank you!!! I only added the AND to each statement.

But you've peaked my interest in lookups. Let's see if my manual does a
better job at explaining these!

"Harlan Grove" wrote:

Connie wrote...
WOW! Makes sense. But I'm getting an error message and can't see for

looking.
Here's my formula:
=IF(OR(l2<9,l26),"Conservative",IF(l28,L2<12)," Moderately
Conservative",IF(l211,l2<17),"Moderate",IF(l216 ,l2<20),"Moderately
Aggressive",IF(l219,l2<22),"Aggressive","")))) )

It doesn't seem to like my Conservative" in my second if-then. Does it

think
it's a duplicate of the first answer?

....
"JulieD" wrote:

....
=IF(OR(B2<=5,B2=15),"this answer",IF(B2<9,"this answer
printed",IF(B2<13,"then this is the correct answer","now this is the

correct
answer")))

....

Julie's formula was first checking for values *outside* a range, B2 <=
5 or B2 = 15. You're checking for values within a range, in which case
you want to use AND rather than OR - all numbers are less than 9 or
greater than 6. Also, you'd need to use AND in each of the other IF
calls.

However, you'd be better off with a lookup.

=LOOKUP(L2,{-1E300;6.00000000000001;9;11;16;19;22},
{"";"Conservative";"Moderately Conservative";"Moderate";
"Moderately Aggressive";"Aggressive";""})




 
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
complex if statements in excel Julieeeee Excel Worksheet Functions 5 April 26th 05 09:27 PM
Complex VLOOKUP Domenic Excel Discussion (Misc queries) 0 February 18th 05 06:37 PM
Help with Complex SUMPRODUCT formula Murph Excel Worksheet Functions 5 January 26th 05 02:40 PM
Complex Sales Tax Robert Excel Worksheet Functions 8 January 12th 05 07:47 PM
How to stop #REF! on linked cells in complex spreadsheets Formann Excel Worksheet Functions 0 November 18th 04 12:34 PM


All times are GMT +1. The time now is 06:06 PM.

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

About Us

"It's about Microsoft Excel"