Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Multiple IF statement help needed

I have two sheets where I need to match up three values. If the values from
Row 1 of Column B, R and U on Sheet 1 matches the value of Columns C, AE and
AX on sheet 2 (any row), I want the word Match to appear and if all three
conditions are not met, Investigate should appear.

Here is a disaster formula I have put in so far.
=IF($B1=Sheet2!C2:Sheet2!C30000)AND(IF($R1=Sheet2! AE2:Sheet2!AE30000))AND(IF($U1=Sheet2!AX2:Sheet2!A X30000)),"MATCH","INVESTIGATE")

Any assistance is appreciated.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Multiple IF statement help needed

Maybe...

=if(isnumber(match(1,($B1=Sheet2!C2:C30000)*($R1=S heet2!AE2:AE30000)
*($U1=Sheet2!AX2:AX30000))),"MATCH","INVESTIGATE")

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can only use the whole column in xl2007.

TrevorC wrote:

I have two sheets where I need to match up three values. If the values from
Row 1 of Column B, R and U on Sheet 1 matches the value of Columns C, AE and
AX on sheet 2 (any row), I want the word Match to appear and if all three
conditions are not met, Investigate should appear.

Here is a disaster formula I have put in so far.
=IF($B1=Sheet2!C2:Sheet2!C30000)AND(IF($R1=Sheet2! AE2:Sheet2!AE30000))AND(IF($U1=Sheet2!AX2:Sheet2!A X30000)),"MATCH","INVESTIGATE")

Any assistance is appreciated.


--

Dave Peterson
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
If statement ... help needed. parsonsamie Excel Worksheet Functions 3 December 14th 06 12:43 AM
IF STATEMENT HELP NEEDED!!! Excel Dummy Excel Discussion (Misc queries) 2 December 30th 05 07:02 PM
If Statement help needed please Ian Harris Excel Worksheet Functions 3 December 3rd 04 02:04 PM
If statement help needed Ian Harris Excel Worksheet Functions 2 December 3rd 04 11:36 AM
If statement needed Patsy Excel Worksheet Functions 1 November 4th 04 03:48 PM


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