Return date with 2 Criteria

sburkhar

Active Member
Joined
Oct 4, 2006
Messages
363
I'm not getting any results... or FALSE... no matter how I write this. Can anyone help?

If Column A:A equals $B$1, If Column D:D contains "Battery", then give me the date from column S:S.

Thank you,
Sharon
excel 2010
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
How about
=IF(AND(A2=$B$1,D2="Battery"),S2,"")
 
Upvote 0
Thank you, but I'm asking about columns, not cells. And CONTAINS Battery, not equals Battery. Will Excel do that? I tried your formula using columns and got errors
 
Upvote 0
In that case I do not understand what you are trying to do.
Can you please re-explain what you are trying to do & also post some sample data.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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