If not working properly

hooty22

New Member
Joined
Jan 19, 2011
Messages
20
I currently have two pages in a book. One page is an inventory page. It has all inventory listed. The second page lists all the shipping information for any inventory that is out.

I want an availability column on the first Inventory page to state Yes if the inventory name is not listed on the second page. I want it to read No if the inventory is listed on the second shipping page. I tried =IF((Inventory!A4='Shipping Information'!$A:$A), "NO", "YES") but it is not working correctly.

Please help :-)
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Try out the MATCH function.

=MATCH(Inventory!A4,'Shipping Information'!$A:$A,0)

However, this will return #N/A! when it does not find a match. To handle this, we put it inside of an IF(ISERROR function.

=IF(ISERROR(MATCH(Inventory!A4,'Shipping Information'!$A:$A,0)),"YES","NO")
 
Upvote 0
try:

=IF(countif('Shipping Information'!$A:$A,Inventory!A4)=0, "NO", "YES")
 
Upvote 0
I currently have two pages in a book. One page is an inventory page. It has all inventory listed. The second page lists all the shipping information for any inventory that is out.

I want an availability column on the first Inventory page to state Yes if the inventory name is not listed on the second page. I want it to read No if the inventory is listed on the second shipping page. I tried =IF((Inventory!A4='Shipping Information'!$A:$A), "NO", "YES") but it is not working correctly.

Please help :-)
Here's one way...

=IF(COUNTIF('Shipping Information'!$A:$A,Inventory!A4),"No","Yes")
 
Upvote 0
Still not working properly. I do have drop boxes in the second page that are populated with the data from the Inventory page. Is that preventing me from using the IF function?
 
Upvote 0
ARGH. It will work properly for the first 3 items on the Inventory sheet, but will not find the remaining data on the second sheet.:mad:
 
Upvote 0
Can you give us a sample of your data? There could be underlying issues.
 
Upvote 0

Forum statistics

Threads
1,224,578
Messages
6,179,654
Members
452,934
Latest member
mm1t1

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