Populate Data Based on Criteria

kumara_faith

Well-known Member
Joined
Aug 19, 2006
Messages
951
Office Version
  1. 365
Hi,

I have the following table in sheet 1:

Book1
BCDEFGHIJKLMNOPQRSTUVW
2Table 1
3MonthDateBranchStaffTask1Task2Task3Task4Task5Task6Task7Task8Task9Task10Task11Task12Task13Task14Task15Task16Task17Task18
4JanMonday, 2 January, 2023TexasStaff1101010101010101010101010101010101010
5JanTuesday, 3 January, 2023New YorkStaff2101010101010101010101010101010101010
6JanWednesday, 4 January, 2023OklahomaStaff3101010101010101010101010101010101010
7FebWednesday, 1 February, 2023TexasStaff1101010101010101010101010101010101010
8FebThursday, 2 February, 2023New YorkStaff2101010101010101010101010101010101010
9FebFriday, 3 February, 2023OklahomaStaff3101010101010101010101010101010101010
10MarWednesday, 1 March, 2023TexasStaff1101010101010101010101010101010101010
11MarThursday, 2 March, 2023New YorkStaff2101010101010101010101010101010101010
12MarFriday, 3 March, 2023OklahomaStaff3101010101010101010101010101010101010
Sheet1


In Sheet 2, I have the following table where I would likeusers can enter the crietria:

Book1
BCDEF
15Table 2
16MonthBranchStaffStart DateEnd Date
17JanTexasStaff12/1/20233/3/2023
Sheet1


The correct result should populate as below in Table 3:
Book1
BCDEFGHIJKLMNOPQRSTUVW
20Table 3
21MonthDateBranchStaffTask1Task2Task3Task4Task5Task6Task7Task8Task9Task10Task11Task12Task13Task14Task15Task16Task17Task18
22JanMonday, 2 January, 2023TexasStaff1101010101010101010101010101010101010
23FebWednesday, 1 February, 2023TexasStaff1101010101010101010101010101010101010
24MarWednesday, 1 March, 2023TexasStaff1101010101010101010101010101010101010
Sheet1


Is there a way to build formula in Table 3 to populate data based on the criterias entered in Table 2 in Table 3? Appreciate all the help.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You're welcome & thanks for the feedback.
 
Upvote 0
Hi,

The solution above populates the desired the data output based on the criteria. When the user selects for a long range, say a few months, we would like to be able to filter the data as well. Currently we are copying and pasting into a new sheet to be able to do that. Is there a way to be able to use the Data>>Filter in the original output itself?
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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