LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default IF and AND statement

Hi,

Please can you let me know why this formula works:

=IF(AND(A10,A1<99),"First",IF(AND(A198,A1<183)," Second",IF(AND(A1182,A1<267),"Third",IF(AND(A126 6,A1<351),"Fourth",IF(AND(A1350,A1<435),"Five",IF (AND(A1434,A1<519),"Sixth",IF(AND(A1518,A1<603), "Seventh","Older")))))))

and this formula does not work & and how do I fix it:

=IF(AND(A10,A1<99),"First",IF(AND(A198,A1<183)," Second",IF(AND(A1182,A1<267),"Third",IF(AND(A126 6,A1<351),"Fourth",IF(AND(A1350,A1<435),"Five",IF (AND(A1434,A1<519),"Sixth",IF(AND(A1518,A1<603), "Seventh",IF(AND(A1602,A1<687),"Eight","Older"))) ))))

As soon as I add the eight on, excel has a problem

Regards,

 
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 an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
If statement or lookup statement not sure Renegade40 Excel Worksheet Functions 2 January 18th 09 06:11 AM
SUMIF statement with AND statement Eric D Excel Discussion (Misc queries) 2 July 14th 08 07:24 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM


All times are GMT +1. The time now is 08:20 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"