If formula without skipping lines

wheath

Board Regular
Joined
Jun 17, 2016
Messages
58
Office Version
  1. 365
Platform
  1. Windows
I created a spreadsheet with multiple tabs. Information from one spreadsheet feeds the others, goal is to limit input to as few locations and possible and still produce sorted information that can be shared with various parties that need different information. My formulas right now work, however, they are line for line, so if a condition isn't met I have blank lines in some of my spreadsheets. Any thoughts on how I can make this so that I don't have blank lines on the spreadsheets?

Data is initially input on the Potential PCO tab, which feeds the Master Tab.

This is the formulas in the Master Tab

2023.01.24 PCO Log.xlsx
ABCDEFGHIJKLMN
1Master Log
2Trade PartnerDatePCO Title Amount Schedule Impact TypeStatusSub COR #Complete Pricing PackagePCO #Owner DirectiveOCO #Sub CO #Notes
3Baker Concrete1/24/2023Scratch TestingOCOPending
4Baker Concrete1/24/2023Additional Rock ExcavationOCOPendingGEOS Required per site visit
5Baker Concrete1/24/2023Placing 2nd Boom starting at ground levelOCOPending
6Baker Concrete1/24/2023Column D5.8 Foundation - Pilaster FoundationYesOCOPendingGEOS Required based on rock condition, RFI 87
7Baker Concrete1/24/2023Lean Fill Allowance - Open T&MAllowancePendingWill exceed Owner Allowance, talk to Chris
8Baker Concrete1/24/2023Additional Excavation @ Elevator PitYesOCOPendingGEOS Required per site visit, RFI 88 & 89
9Baker Concrete1/24/2023Premium time to accelerate elevator coreYesOCO7Potentially required to maintain schedule due to RFI 88 & 89
10Civil Constructors1/3/2023Additional Excavation and Fill @ direction of GEOSNeed backup from Civil & GEOS
11Cleary1/3/2023Additional Hydrant$ 13,755.05NoOCOOwner PCO1YesProceed and PriceAHJ Requirement
12Cleary1/3/2023Replacing Five Lead Water Service Lines$ 52,503.28NoOCOOwner PCO2YesProceed and PriceAHJ Requirement
13Cleary1/3/2023Upsizing NES Vault from 4" to 6"OCOPending3NES Requirement
14Civil Constructors1/3/2023Other Trade Haul Off Exceeding the Allowance$ 6,764.06NoOCOOwner PCO1YesProceed and PriceNeed backup from Civil
15McDougal1/3/2023Garage Screening Selection$ 103,821.00NoOCOOwner PCO1Yes6Proceed and Price4Design Change, Owner Directive
16Tate Fabrication12/22/2022Column Protection (Column Corner Guards/Wraps)$ 21,749.36NoOCOApproved1Yes3Proceed and Price3Owner Directive
17012/22/2022Deduct Unused Allowances$ (120,974.00)NoOCOApproved2Proceed and Price2Accounting Cleanup
18011/3/2022Adjustment to Project Schedule$ -YesOCOApproved1Proceed and Price1Start date moved from 8/5/2022 to 8/18/2022, new completion date 11/11/2024
Master
Cell Formulas
RangeFormula
A3:A18A3=IF('Potential PCOs'!F3="Yes",'Potential PCOs'!A3,"")
B3:B18B3=IF('Potential PCOs'!F3="Yes",'Potential PCOs'!B3,"")
C3:C18C3=IF('Potential PCOs'!F3="Yes",'Potential PCOs'!C3,"")
Cells with Data Validation
CellAllowCriteria
G2Any value
E3:E101ListYes, No
F3:F100ListInternal, Contingency, Allowance, OCO
G3:G101ListPending, Under Review, Owner PCO, Owner Review, Approved, Rejected, Void
H2:H125Any value
I2Any value
I3:I101ListYes, No
K3:K18ListPrice, Proceed and Price


Once certain criteria is met information from the Potential PCO tab moves to the Master Tab. Once certain criteria is met within the Master Tab, information then gets filled in on the Sub COR Log and PCO Log tabs. However, these two spreadsheets are keeping place holders until the criteria is met, which in some cases it might not ever. I like everything about how the data is feeding, except for the row placeholders and I can't seem to figure out how to change that.

Here are the formulas in Sub COR Log
Cell Formulas
RangeFormula
A3:A16A3=IF(Master!I3="Yes",Master!A3,"")
B3:B16B3=IF(Master!I3="Yes",Master!B3,"")
C3:C16C3=IF(Master!I3="Yes",Master!C3,"")
D3:D16D3=IF(Master!I3="Yes",Master!D3,"")
E3:E16E3=IF(Master!I3="Yes",Master!E3,"")
F3:F16F3=IF(Master!I3="Yes",Master!F3,"")
G3:G16G3=IF(Master!I3="Yes",Master!G3,"")
H3:H16H3=IF(Master!I3="Yes",Master!H3,"")
I3:I16I3=IF(Master!I3="Yes",Master!I3,"")
J3:J16J3=IF(Master!I3="Yes",Master!M3,"")
K3:K16K3=IF(Master!I3="Yes",Master!N3,"")
Cells with Data Validation
CellAllowCriteria
G2:I2Any value


Here is the formula in the PCO Log
Cell Formulas
RangeFormula
A3A3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}),Master!B3," ")
B3:B18B3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}), Master!C3," ")
A4:A18A4=IF(OR(Master!G4={"Owner PCO","Owner Review","Approved","Rejected"}), Master!B4," ")
E3:E18E3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}), Master!F3," ")
F3:F18F3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}), Master!G3," ")
G3:G18G3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}), Master!J3," ")
H3:H18H3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}), Master!K3," ")
I3:I18I3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}), Master!L3," ")
J3:J18J3=IF(OR(Master!G3={"Owner PCO","Owner Review","Approved","Rejected"}), Master!N3," ")
Cells with Data Validation
CellAllowCriteria
D3:D18ListYes, No
F2Any value
 

Attachments

  • Spreadsheet.PNG
    Spreadsheet.PNG
    97.2 KB · Views: 9

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Thank you. I just did that. I am using 365
 
Upvote 0
Thanks for that.
For the "Sub COR Log" sheet in A3 only (clear all other cells)
Excel Formula:
=FILTER(CHOOSECOLS(Master!A3:N100,SEQUENCE(,9),13,14),Master!I3:I100="Yes")

And for the "PCO Log" sheet in A3
Excel Formula:
=FILTER(Master!B3:C100,ISNUMBER(MATCH(Master!G3:G100,{"Owner PCO","Owner Review","Approved","Rejected"},0)))
and E3
Excel Formula:
=FILTER(CHOOSECOLS(Master!F3:N100,1,2,5,6,7,9),ISNUMBER(MATCH(Master!G3:G100,{"Owner PCO","Owner Review","Approved","Rejected"},0)))
 
Upvote 0
=FILTER(CHOOSECOLS(Master!F3:N100,1,2,5,6,7,9),ISNUMBER(MATCH(Master!G3:G100,{"Owner PCO","Owner Review","Approved","Rejected"},0)))
I input these, these are the errors I am getting
Thanks for that.
For the "Sub COR Log" sheet in A3 only (clear all other cells)
Excel Formula:
=FILTER(CHOOSECOLS(Master!A3:N100,SEQUENCE(,9),13,14),Master!I3:I100="Yes")

And for the "PCO Log" sheet in A3
Excel Formula:
=FILTER(Master!B3:C100,ISNUMBER(MATCH(Master!G3:G100,{"Owner PCO","Owner Review","Approved","Rejected"},0)))
and E3
Excel Formula:
=FILTER(CHOOSECOLS(Master!F3:N100,1,2,5,6,7,9),ISNUMBER(MATCH(Master!G3:G100,{"Owner PCO","Owner Review","Approved","Rejected"},0)))
I am getting errors using these formulas. I have tried using some other sources to see if I could fix them, but I am not getting the intended outcome.
 

Attachments

  • PCO Log Error.PNG
    PCO Log Error.PNG
    23.2 KB · Views: 8
  • Sub COR Log Error.PNG
    Sub COR Log Error.PNG
    11.4 KB · Views: 8
Upvote 0
The error on the 1st range in the PCO Log sheet is because you have not cleared all the cells.
For the 2nd range on that sheet try
Excel Formula:
=LET(data,Master!F3:N100,FILTER(INDEX(data,SEQUENCE(ROWS(data)),{1,2,5,6,7,9}),ISNUMBER(MATCH(Master!G3:G100,{"Owner PCO","Owner Review","Approved","Rejected"},0))))
And for the other sheet try
Excel Formula:
=LET(data,Master!A3:N100,FILTER(INDEX(data,SEQUENCE(ROWS(data)),{1,2,3,4,5,6,7,8,9,13,14}),Master!I3:I100="Yes"))
 
Upvote 0
The error on the 1st range in the PCO Log sheet is because you have not cleared all the cells.
For the 2nd range on that sheet try
Excel Formula:
=LET(data,Master!F3:N100,FILTER(INDEX(data,SEQUENCE(ROWS(data)),{1,2,5,6,7,9}),ISNUMBER(MATCH(Master!G3:G100,{"Owner PCO","Owner Review","Approved","Rejected"},0))))
And for the other sheet try
Excel Formula:
=LET(data,Master!A3:N100,FILTER(INDEX(data,SEQUENCE(ROWS(data)),{1,2,3,4,5,6,7,8,9,13,14}),Master!I3:I100="Yes"))
I cleared all the cells in the SCO Log and pasted the formula in A3 only. Still getting the #NAME? error. Same with the PCO log. Would it be easier for me to attach the entire spreadsheet?
 

Attachments

  • PCO Log Error.PNG
    PCO Log Error.PNG
    36.8 KB · Views: 8
  • Sub COR Log Error.PNG
    Sub COR Log Error.PNG
    49.4 KB · Views: 8
Upvote 0
What is the build/version number you are running?
Build.jpg
 
Upvote 0
Ok, that's pretty out of date (by 2-3 years)
Can you check if you have the Filter function?
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,673
Members
449,179
Latest member
fcarfagna

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