Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 276
Default If Function. How to Add more criteria

Is it posible to add more If functions to a single If calc ?

I need to add, if i can to the below :
=IF(D58=R69,AJ69,IF(D58=R70,AJ70,IF(D58=R71,AJ71,I F(D58=R72,AJ72,IF(D58=R73,AJ73,IF(D58=R74,AJ74,IF( D58=R75,AJ75,IF(D58=R76,AJ76))))))))

I want to add about another 26 IF's to this.

Can i some how?


If i try anymore i get an error, but the above seems to be the limit.

--
Regards

Corey


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default If Function. How to Add more criteria


HI

The attached should help

http://www.j-walk.com/ss/excel/usertips/tip080.htm

http://www.cpearson.com/excel/nested.htm

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=561357

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default If Function. How to Add more criteria

Hi!

Try this:

=INDEX(AJ69:AJ102,MATCH(D58,R69:R102,0))

Biff

"Corey" wrote in message
...
Is it posible to add more If functions to a single If calc ?

I need to add, if i can to the below :
=IF(D58=R69,AJ69,IF(D58=R70,AJ70,IF(D58=R71,AJ71,I F(D58=R72,AJ72,IF(D58=R73,AJ73,IF(D58=R74,AJ74,IF( D58=R75,AJ75,IF(D58=R76,AJ76))))))))

I want to add about another 26 IF's to this.

Can i some how?


If i try anymore i get an error, but the above seems to be the limit.

--
Regards

Corey



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 276
Default If Function. How to Add more criteria

thanks Biff

To easy once ya know....


Corey.....


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default If Function. How to Add more criteria

You're welcome!

Biff

"Corey" wrote in message
...
thanks Biff

To easy once ya know....


Corey.....





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default If Function. How to Add more criteria

=INDEX(AJ69:AJ76,MATCH(D58,R69:R76,0))

just extend the 76 part.

If it might not match add error checking

=IF(ISNA(MATCH(D58,R69:R76,0)),"No
match",INDEX(AJ69:AJ76,MATCH(D58,R69:R76,0)))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Corey" wrote in message
...
Is it posible to add more If functions to a single If calc ?

I need to add, if i can to the below :

=IF(D58=R69,AJ69,IF(D58=R70,AJ70,IF(D58=R71,AJ71,I F(D58=R72,AJ72,IF(D58=R73,
AJ73,IF(D58=R74,AJ74,IF(D58=R75,AJ75,IF(D58=R76,AJ 76))))))))

I want to add about another 26 IF's to this.

Can i some how?


If i try anymore i get an error, but the above seems to be the limit.

--
Regards

Corey




Reply
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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Criteria problems in the DSUM function AA Excel Worksheet Functions 5 January 10th 06 10:16 PM
Countif Function, complex criteria Tomski Excel Worksheet Functions 4 January 9th 06 03:45 PM
Begins with as criteria in function jhorsley Excel Worksheet Functions 8 October 31st 05 05:32 PM
SumIf Function using multiple criteria Jamie A Miller Excel Worksheet Functions 1 February 4th 05 05:14 PM


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

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

About Us

"It's about Microsoft Excel"