Multiple IF(AND( Statement

SpeedyFingers

New Member
Joined
Mar 26, 2012
Messages
38
I don't understand what I am doing wrong when I know how simple this is. The "NPV" will show for the File Type 1 but I am getting a "FALSE" with the File Type 2 and not cell AG3 that i'm referencing. Please help! :LOL:

S3 = File Type
AC = Amount
AP = A specific amount
AG = Location Type

Code:
=IF(A3="","",IF($AC3>$AP$1,"NPV",IF(AND($S3="File Type 1",$AC3>$AP$1)="NPV",$AG3,IF($AC3>$AP$1,"NPV",IF(AND($S3="File Type 2",$AC3>$AP$1)=AG3,"NPV")))))
 

Some videos you may like

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

SpeedyFingers

New Member
Joined
Mar 26, 2012
Messages
38
I changed the formula to the following and it works but I need to add different file types. When I do I get an error.

Code:
=IF(A2="","",IF(AND($S2="NGSE RASS",$AC2>$AP$1)="",$AG2,IF($S2="FHLMC Reactive",AG2,"NPV")))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,551
Messages
5,596,797
Members
414,103
Latest member
imamalidadashzada

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top