#1   Report Post  
will.00
 
Posts: n/a
Default IF Scenario


I want to return the output column (E) dependent on a combination of
sceanrios.

For example, if

Column A=B (possible results A or B)
Column B=2 ( possible results 1, 2 or 3)
Column C=Y (possible results Y or N)
Column D=1 (possible results 1 or -1)

The output will return 3.


A B C D
E

A 1 Y 1 1
A 1 N -1 2
B 2 Y 1 3
B 3 Y 1 4
B 1 N -1 5
B 2 N 1 6

Can I use a function that looks at the table in an array instead of a
million IF / AND formula.

Thanks in advance


--
will.00
------------------------------------------------------------------------
will.00's Profile: http://www.excelforum.com/member.php...o&userid=24320
View this thread: http://www.excelforum.com/showthread...hreadid=379258

  #2   Report Post  
Niek Otten
 
Posts: n/a
Default

In F1, enter
=A1&B1&C1&D1
Fill down

If the values you look for are in a9:f9, then this is your formula:
=INDEX(E1:E6,MATCH(A9&B9&C9&D9,F1:F6,0))

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"will.00" wrote in
message ...

I want to return the output column (E) dependent on a combination of
sceanrios.

For example, if

Column A=B (possible results A or B)
Column B=2 ( possible results 1, 2 or 3)
Column C=Y (possible results Y or N)
Column D=1 (possible results 1 or -1)

The output will return 3.


A B C D
E

A 1 Y 1 1
A 1 N -1 2
B 2 Y 1 3
B 3 Y 1 4
B 1 N -1 5
B 2 N 1 6

Can I use a function that looks at the table in an array instead of a
million IF / AND formula.

Thanks in advance


--
will.00
------------------------------------------------------------------------
will.00's Profile:
http://www.excelforum.com/member.php...o&userid=24320
View this thread: http://www.excelforum.com/showthread...hreadid=379258



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
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
Scenario Results all the same Elizabeth Excel Worksheet Functions 5 May 10th 05 02:35 AM
scenario analysis-multiple variables joshjap Excel Worksheet Functions 3 May 1st 05 11:33 AM
How do I set up graphic slider bars in solver to adjust scenario . Deportivofan Excel Worksheet Functions 0 February 4th 05 03:39 AM
Excel Scenario Manager should let me re-order scenarios (in the s. Jayson Beatty Excel Discussion (Misc queries) 0 December 2nd 04 08:25 PM


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