Multiple IF conditions

venky2002

New Member
Joined
Mar 27, 2023
Messages
8
Office Version
  1. 365
Platform
  1. MacOS
I have a list of products in sheet 1 and sheet 2, my query is to tag products in sheet one if the product is tagged as "initial" in one column and has a EOS date in other column, if both the conditions satisfies then in sheet 1 the formula should say "YES" if both the conditions doesn't satisfy then "No".

Sample data
Sheet 1
ProductFormula required EOS
AYES
BNO
CYES
DNO
Sheet 2
ProductScenarioEOS
AInitial4/4/2022
BExpansion4/4/2022
CInitial4/4/2022
DExtension4/4/2022
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABC
1ProductScenarioEOS
2AInitial04/04/2022
3BExpansion04/04/2022
4CInitial04/04/2022
5DExtension04/04/2022
Sheet2


Fluff.xlsm
AB
1ProductFormula required EOS
2AYes
3BNo
4CYes
5DNo
Sheet1
Cell Formulas
RangeFormula
B2:B5B2=IF(COUNTIFS(Sheet2!A:A,A2,Sheet2!B:B,"Initial",Sheet2!C:C,"<>"),"Yes","No")
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABC
1ProductScenarioEOS
2AInitial04/04/2022
3BExpansion04/04/2022
4CInitial04/04/2022
5DExtension04/04/2022
Sheet2


Fluff.xlsm
AB
1ProductFormula required EOS
2AYes
3BNo
4CYes
5DNo
Sheet1
Cell Formulas
RangeFormula
B2:B5B2=IF(COUNTIFS(Sheet2!A:A,A2,Sheet2!B:B,"Initial",Sheet2!C:C,"<>"),"Yes","No")
Thank you so much
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Will the product only appear once on sheet 2 with Initial in col B?
 
Upvote 0
for the same condition I need date’s for initial condition of column b in sheet 2, if there are dates for initial in column c sheet 2 , I need the date for initial to populate in column b of sheet 1 , for other conditions other than initial in sheet 2 column c should return blank in column b sheet 1
 
Upvote 0
That does not answer my question.
 
Upvote 0
In that case, how about
Excel Formula:
=IF(COUNTIFS(Sheet2!A:A,A2,Sheet2!B:B,"Initial",Sheet2!C:C,"<>"),SUMIFS(Sheet2!C:C,Sheet2!A:A,A2,Sheet2!B:B,"Initial"),"No")
 
Upvote 0

Forum statistics

Threads
1,214,551
Messages
6,120,161
Members
448,948
Latest member
spamiki

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