LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default if statement with "&"

Joanie23 -

Your formula (and Gary's) is WAY TOO COMPLEX. Look at the one I gave you.
It gives precisely the answers you want, but is far simpler.

"Gary" wrote:

small correction

=IF(B3=B8,"SAME",IF(AND(B3="S",B8<"S"),"DECLINED" ,IF(AND(B3="U",B8<"U"),"IMPROVED",IF(AND(B3="I",B 8="S"),"IMPROVED","DOWN"))))


"Gary" wrote in message
...
try this

=IF(B3=B8,"SAME",IF(AND(B3="S",B8="S"),"DECLINED", IF(AND(B3="U",B8<"U"),"IMPROVED",IF(AND(B3="I",B8 ="S"),"IMPROVED","DOWN"))))

Should work.
Thanks
Gary


"joanie23" wrote in message
...
I want to compare two quarter grades to see if a student improved, stayed
the
same or decreased. the first quarter is cell b3 and the second quarter is
cell b8.

if the first quarter is "s", and the second quarter is either "u" or "i"
then the student decreaed. If the first quarter is "u" and the second
quarter
is "s" or "i" then the student improved. If the first quarter is "i" and
the
second quarter is "s" then the student improved. If the first quarter is
"i"
and the second quarter is "u" then the student decreased.

My if statement isn't working properly - see below. Any suggestions?
thanks.

=IF(B3=B8,"same",IF(B3="s"&B8<"s","declined", IF(B3="u"&B8<"u",
"improved", IF(B3="i"&B8="s", "improved","down"))))







 
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
embedding "ISERROR" function into an "IF" statement [email protected] Excel Worksheet Functions 8 January 4th 07 12:01 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
"IF" statement & "strikethrough" formatting jijy Excel Worksheet Functions 3 March 22nd 06 06:56 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


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

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"