1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Nesting multiple AND/IF/OR statements

Our take

Nesting multiple AND, IF, and OR statements in Excel can enhance your formulas significantly, allowing you to incorporate additional conditions seamlessly. In your current formula, you check for specific values in column J, while also validating conditions in columns AC and AB. To add a new layer that references specific values in column I, you'll need to nest another IF statement. This adjustment can dynamically change the true reference based on the values in column I, enhancing your formula's functionality and precision.

Current formula: =IF(AND(OR(J2=$AE$3,J2=$AE$4),AC2<49,AB2<>"CRMBOOK"),$AE$5,$J$2)

Formula looks for two different values in column J, confirms AC is less than 49 and AB does not contain the text "CRMBOOK". If those conditions are true or false it retrieves the respective cells. This works perfect.

Now what I'm trying to add here is another condition, where it would look for specific values in column I, and depending on if they are present or not it would change the value of the true reference. I can't figure out the nesting and its driving me nuts...

Current:

https://preview.redd.it/2gmyy67exstg1.png?width=1464&format=png&auto=webp&s=530ecd1733c4549631c8f964a15e77d554bd8c38

Future: (depending on the value in column I, I want to reference a different value in column AE)

https://preview.redd.it/58onvf7qxstg1.png?width=1464&format=png&auto=webp&s=d8fc2a3baabb326d563dae13bf002cda66515f5d

Appreciate the help!

submitted by /u/Nanergoat22
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article