Multiple conditions and min data search

Bazabelle

New Member
Joined
Oct 6, 2022
Messages
34
Office Version
  1. 365
Platform
  1. Windows
I want to first be sorry for the image, I tried the XL2BB but microsoft blocks it and I cannot use it.

In the image 1 I have added the table I would like to fill and the formula I am searching. The image 2 is the sheet where the raw data is.

Q1 - I want for the country in Sheet 1 to find the min value in column E or G of that country in Sheet 2​
Q2 - I want to count for the country in Sheet 1 all the rows that includes a date for that country in Sheet 2 for Column F​

Hope this make sense, thank you in advance
 

Attachments

  • Sheet 1.png
    Sheet 1.png
    30.6 KB · Views: 8
  • Sheet 2.png
    Sheet 2.png
    37.5 KB · Views: 8
I think you confused my answer. In my formula I do not have the symbol <>

It would help if you put the expected results, since the columns in image 1 are empty and I am assuming where you want the result of Q1 and where you want the result of Q2.
Correct, but if I use your formula as is, it is not working, so I tried alternatives.
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Test.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1ID numberCountryNameDepartmentData 1 Submission BaselineData 1 Submission PlannedData 1 Submission ActualData 1 Approval BaselineData 1 Approval PlannedData 1 Approval ActualData 2 Submission BaselineData 2 Submission PlannedData 2 Submission actualData 2 Approval BaselineData 2 Approval PlannedData 2 Approval ActualData 3 Submission baselineData 3 Submission PlannedData 3 Submission ActualData 3 Approval BaselineData 3 Approval PlannedData 3 Approval ActualData 4 Submission BaselineData 4 Submission PlannedData 4 Submission ActualData 4 Approval BaselineData 4 Approval PlannedData 4 Approval Actual
2FranceABC13-Mar-233-Mar-2315-Mar-23---1-Jan-231-Jan-239-Jan-23Please selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease select
3FranceDEF2Please selectPlease selectPlease select10-May-2213-May-2213-May-2214-Apr-2314-Apr-23Please selectPlease selectPlease select13-May-2213-May-2213-May-22
4CanadaGHI31-Apr-231-Apr-231-Apr-23----6-May-2312-Apr-23Please selectPlease selectPlease select23-Apr-2323-Apr-2324-Apr-23
5CanadaJKL4--18-Jan-2328-Mar-2328-Mar-2328-Mar-2312-Jan-2312-Jan-231-Jan-23Please selectPlease selectPlease select1-Apr-231-Apr-23Please selectPlease selectPlease selectPlease select
6JapanMNO5--29-Sep-2215-Oct-2215-Oct-2231-Oct-2215-Sep-2215-Sep-2215-Sep-22Please selectPlease selectPlease select18-Jan-2318-Jan-2318-Jan-23
7CanadaPQR6Please selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease select15-Mar-2315-Mar-23Please selectPlease selectPlease select9-Sep-229-Sep-2229-Sep-22Please selectPlease selectPlease select
8FranceABC113-May-2213-May-2213-May-222-Jun-2217-Jun-2217-Jun-221-Jan-231-Jan-239-Jan-23Please selectPlease selectPlease selectPlease selectPlease selectPlease select
9FranceDEF223-Apr-2323-Apr-2324-Apr-236-May-2317-May-2317-May-2314-Apr-2314-Apr-23Please selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease select
10CanadaGHI31-Apr-231-Apr-2315-Aug-2315-Aug-236-May-236-May-2312-Apr-23Please selectPlease selectPlease select1-Jan-231-Jan-239-Jan-23
11CanadaJKL418-Jan-2318-Jan-2318-Jan-23----12-Jan-231-Jan-23Please selectPlease selectPlease select14-Apr-2314-Apr-23
12JapanMNO59-Sep-229-Sep-2229-Sep-22----15-Sep-2215-Sep-22Please selectPlease selectPlease select6-May-236-May-2312-Apr-23Please selectPlease selectPlease select
13CanadaPQR6Please selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease select15-Mar-2315-Mar-23Please selectPlease selectPlease select-12-Jan-231-Jan-23Please selectPlease selectPlease selectPlease select
14FranceABC12-Mar-233-Mar-2315-Mar-2314-Jul-2314-Jul-231-Jan-231-Jan-239-Jan-23Please selectPlease selectPlease select-15-Sep-2215-Sep-22
15FranceDEF2Please selectPlease selectPlease selectPlease selectPlease selectPlease selectPlease select14-Apr-23Please selectPlease selectPlease selectPlease select15-Mar-2315-Mar-23
16CanadaGHI328-Mar-231-Apr-239-May-2315-Jun-2315-Jun-239-Jun-236-May-236-May-2312-Apr-23Please selectPlease selectPlease select1-Jan-231-Jan-239-Jan-23Please selectPlease selectPlease select
17CanadaJKL417-Apr-2318-Jan-2318-Jan-235-Feb-235-Feb-232-Feb-2312-Jan-2312-Jan-231-Jan-23Please selectPlease selectPlease selectPlease select14-Apr-23
18JapanMNO531-Aug-229-Sep-2229-Sep-2228-Oct-2231-Oct-221-Nov-2215-Sep-2215-Sep-2215-Sep-22Please selectPlease selectPlease select6-May-236-May-2312-Apr-23
19CanadaPQR631-Mar-2331-Mar-2315-Apr-2315-Aug-237-Aug-2315-Mar-2315-Mar-2315-Mar-23Please selectPlease selectPlease select12-Jan-2312-Jan-231-Jan-23
Raw data


Test.xlsx
ABC
1CountryDATA 1 count PlannedDATA 1 Count Actual
2Canada
3France
4Japan
Country Submission counts


Test.xlsx
ABCDE
1CountryDATA 1 +3 Submission PlannedDATA 1 +3 Submission ActualDATA 2 Submission PlannedDATA 2 Submission Actual
2Canada
3France
4Japan
Country Submission Dates



I hope this will give a better view of what I am trying to get.
 
Upvote 0
What are your expected answers?
Test.xlsx
ABCDE
1CountryDATA 1 +3 Submission PlannedDATA 1 +3 Submission ActualDATA 2 Submission PlannedDATA 2 Submission Actual
2Canada9-Sep-2229-Sep-2212-Jan-231-Jan-23
3France13-May-2213-May-221-Jan-239-Jan-23
4Japan9-Sep-2229-Sep-2215-Sep-2215-Sep-22
Country Submission Dates


Test.xlsx
ABC
1CountryDATA 1 count PlannedDATA 1 Count Actual
2Canada95
3France64
4Japan32
Country Submission counts
 
Upvote 0

Forum statistics

Threads
1,215,256
Messages
6,123,914
Members
449,132
Latest member
Rosie14

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