nested if statements with and issue

Sheripres

Board Regular
Joined
Sep 7, 2011
Messages
106
Office Version
  1. 365
Platform
  1. Windows
Hello:
I can't seem to make this formula work. It is pretty straightforward, but maybe I have too many conditions? It works for the first two IF statements, but it then reads FALSE even though I have a TRUE statement on either of the two "AND" sections.

=IF(Q3="IC5/OTHER","NON-INVENTORY",IF(Q3="Inncom DIRECT","Inncom DIRECT",IF(AND(W3>0,X3=0,"IN STOCK"),IF(AND(W3>0,X3<0),"PARTIAL IN STOCK"),AA3)))

I hope I posted this correctly.

Thank you for any help.
 
You still have the bracket in the wrong place.
Sorry; I did move them, but it still didn't pick up the IN STOCK. I think I am asking this formula to do too much. ha I can separate it out in two columns and link it to the main column if I have to.
 

Attachments

  • IF AND STATEMENT ISSUE_v2.jpg
    IF AND STATEMENT ISSUE_v2.jpg
    37 KB · Views: 1
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
You still have the bracket in the wrong place, it should be
Excel Formula:
=IF(Q3="IC5/OTHER","NON-INVENTORY",IF(Q3="Inncom  DIRECT","Inncom DIRECT",IF(AND(W3>0,X3=0),"IN   STOCK",IF(AND(W3>0,X3<0),"PARTIAL IN STOCK",AA3))))
 
Upvote 0
Solution
You still have the bracket in the wrong place.
I am going to frame this formula! ha ha THANK YOU SO VERY VERY MUCH! I need to study what I did not understand. You are the best! I will close this as solved.

Again; thank you!!!
 
Last edited:
Upvote 0
Does the formula in post#12 work?

Also what version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
I don't know if my computer is acting crazy today in the office, but I was responding to previous threads and it was not updating on my end. Yes, I am on 365 now. I will update my profile. I am totally set and I did mark it as solved. Hope that reply came through. Thank you again!
 
Upvote 0
Thanks for updating your profile. (y)
And glad we could help.
 
Upvote 0

Forum statistics

Threads
1,225,750
Messages
6,186,808
Members
453,373
Latest member
Ereha

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
Back
Top