Create list of cells from one column that matches one criteria and separate based on another cell criteria

Kay10

New Member
Joined
Jan 17, 2024
Messages
4
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Can anyone help me make the following happen?

I want to take the data from sheet 1 and have the results in sheet 2.

I have a table that shows the Project name, status, allocation, start and end date, and the personal (Attached image)

I would like to have sheet 2 auto-populate a consolidated view. Sheet 2 Should show the Personal in one cell, The projects "In Progress" in another, the Allocation results in another and go red when over 100%, and then i am hoping for a chart that shows per month how much of the personals time will be taken up based on the start and end date of the projects in progress. (Attached is a mock view)

Any help would be great!
 

Attachments

  • Screenshot 2024-01-18 105758.png
    Screenshot 2024-01-18 105758.png
    17.2 KB · Views: 17
  • Screenshot 2024-01-18 110620.png
    Screenshot 2024-01-18 110620.png
    20.9 KB · Views: 36

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
if you have not found an answer, Can you provide your workbook and i will have a look?
 
Upvote 0
Sheet 1 where all the information is kept.
Book1.xlsx
EFOPSTXYZAAABAC
1Overall StatusProject NameIssue DateSubmitted DateIssue Date 2Submitted Date 2Bid Lead%Proposal Lead%2Lead Estimator%3
2
3
4
5
6
7
8
9
10
11
12
Sheet 1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
R2:U1048576Celldoes not contain a blank value textNO
N2:Q497Celldoes not contain a blank value textNO
Cells with Data Validation
CellAllowCriteria
O2:P12Datebetween 01/01/2023 and 01/01/2030
S2:T12Datebetween 01/01/2023 and 01/01/2030
R1:T1Any value


Sheet 2. Where i would like the view to be.
Cell Formulas
RangeFormula
D1D1=TODAY()
F3,K3,AT3F3=G4
O3,AK3,AO3,AX3O3=Q4
S3,X3,AB3,AF3,BB3S3=V4
G4:BF4G4=F4+7
F4F4=IF(MONTH(B1-WEEKDAY((B1),2)+1)<MONTH(B1),(B1-28-DAY(B1)+7)-WEEKDAY((B1-DAY(B1)+7),2)+1,(B1-DAY(B1)+7)-WEEKDAY((B1-DAY(B1)+7),2)+1)
F5F5=IFERROR(IFS((AND(#REF!>0,F$3>=#REF!,F$3<=$B5)),#REF!,(AND(F$3>=#REF!,F$3<=#REF!)),#REF!),"")
A5A5=Fields!A2
B5B5=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B6B6=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B7B7=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B8B8=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B9B9=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B10B10=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B11B11=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B12B12=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B13B13=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
B14B14=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$F$2:$F$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C5C5=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C6C6=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C7C7=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C8C8=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C9C9=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C10C10=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C11C11=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C12C12=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C13C13=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C14C14=IF(ROW()-ROW(B$5)+1<=SUM(--('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), INDEX(FILTER('Sheet 1'!$Y$2:$Y$300, ('Sheet 1'!$X$2:$X$300=A5)*('Sheet 1'!$E$2:$E$300=C1)), ROW()-ROW(B$5)+1), "")
C15C15=SUM(C5:C14)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F5Expression=AND(F$3>=#REF!,F$3<=#REF!)textNO
F6:DF15,G5:DF5Expression=AND(F$4>=#REF!-(WEEKDAY(#REF!,2)+1),F$4<=#REF!)textNO
F6:DF15,G5:DF5Expression=AND(F$4>=#REF!-(WEEKDAY(#REF!,2)+1),F$4<=#REF!)textNO
F6:DF15,G5:DF5Expression=AND(F$4>=#REF!-(WEEKDAY(#REF!,2)+1),F$4<=#REF!)textNO
F6:DF15,G5:DF5Expression=AND(F$4>=$B5-(WEEKDAY($B5,2)+1),F$4<=#REF!)textNO
F6:DF15,G5:DF5Expression=F$4=(TODAY()-WEEKDAY(TODAY(),2)+1)textNO
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,138
Members
453,021
Latest member
Justyna P

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