#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Multiple AND

Hi,

I would like to create an IF AND statement that says if this and this and
this then do this.

I used this one for 2 AND parts and it worked
=IF(AND('Car Parks - AKO'!A5='Site Allocation - AKO'!C45,N7=0),'Car Parks -
AKO'!B5*'Car Parks - AKO'!$B$2,0)

I have tried this one to add another variable and it doesnt work.
=IF(AND('Car Parks - AKO'!A7='Site Allocation -
AKO'!C85,N47=0,AND(N9=0),'Car Parks - AKO'!B7*'Car Parks - AKO'!$B$2,0))

Any suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default Multiple AND

It's just =IF(AND(test1,test2,test3),result_if_true,result_i f_false) :
=IF(AND('Car Parks - AKO'!A7='Site Allocation -
AKO'!C85,N47=0,N9=0),'Car Parks - AKO'!B7*'Car Parks - AKO'!$B$2,0)

"Nikki" wrote:

Hi,

I would like to create an IF AND statement that says if this and this and
this then do this.

I used this one for 2 AND parts and it worked
=IF(AND('Car Parks - AKO'!A5='Site Allocation - AKO'!C45,N7=0),'Car Parks -
AKO'!B5*'Car Parks - AKO'!$B$2,0)

I have tried this one to add another variable and it doesnt work.
=IF(AND('Car Parks - AKO'!A7='Site Allocation -
AKO'!C85,N47=0,AND(N9=0),'Car Parks - AKO'!B7*'Car Parks - AKO'!$B$2,0))

Any suggestions?

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
Count multiple cells against multiple criteria in an Excel spreads EricB Excel Worksheet Functions 7 June 3rd 08 09:09 PM
how to make a macro to clear multiple cells from multiple worksheets? [email protected] Excel Worksheet Functions 2 October 18th 07 04:31 PM
Delete Blank Rows Code - Multiple Worksheets - Multiple Documents BenS Excel Discussion (Misc queries) 3 June 29th 07 12:20 AM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
view multiple files in multiple windows on multiple screens. tcom Excel Discussion (Misc queries) 7 September 15th 05 09:35 PM


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