LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Help with IF AND OR


Hi there,

I'm having a problem setting up the following; any help you can give me
would be much appreciated.

In cell A2 I have a dropdown menu from which you can only select "ROI"
or "UK / NI"

In cell AB2 I have a dropdown menu from which you can select Package
"A", "B", or "C"

In the next cell (AC3) I want to enter a formula which will
automatically enter an amount corresponding to what is selected in A2
and AB2.

So if UK is selected, package "A" = 762, package "B" = 822 and package
"C" = 919

If ROI is selected, package "A" = 1315, "B" = 1490, "C" = 1699

If I try and add the section for "C" into the formula I have, it tells
me I have too many arguments. At the moment the amount in AC3 changes
when you select "A" or "B" when ROI is selected from the dropdown, but
it stays on 762 no matter what package you choose when UK / NI is
selected.

This is the formula so far...

=IF((AND(A2="ROI",AB2="A")),1315.59,(IF((OR(A2="UK /
NI",AB2="A")),762,(IF((AND(A2="UK /
NI",AB2="B")),822,(IF((OR(A2="ROI",AB2="B")),1490. 94)))))))

But it ain't working properly


--
monkeydan
------------------------------------------------------------------------
monkeydan's Profile: http://www.excelforum.com/member.php...o&userid=36982
View this thread: http://www.excelforum.com/showthread...hreadid=567465

 
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



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