Need help with formula and populating data into columns in separate sheet

kAR87

New Member
Joined
Mar 23, 2016
Messages
27
I'm not even sure where to begin with this but here is what I was asked to do:

[TABLE="class: cms_table, width: 903"]
<tbody>[TR]
[TD="colspan: 5"]"When a date is entered in column F(Contract Award/NTP Date) and the "Execution/Monitoring in Construction" is selected from the drop down list in column D(Project Lifecycle Phase),[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]the Column information for that row is populated to the corresponding column headings in the "CMI_PMT_Project In Progress" tab:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 8"]Customer Name, Project #, Project Name, Project Lifecycle Phase, Contract Award / NTP Date, Substantial Completion Date, Project Revenue, Date Last Updated/Reviewed."

I've been researching and all that I've been able to find is info on VLOOKUP and array formulas. If either of these are correct I don't know how to apply them to my situation. I can provide additional information if needed!



Here is sheet 1 named "PLRAM Tool" :

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Customer Name[/TD]
[TD]Project #[/TD]
[TD]Project Name[/TD]
[TD]Project Lifecycle Phase[/TD]
[TD]Contract Award/NPTdate[/TD]
[TD]substantial completion date[/TD]
[TD]project revenue[/TD]
[TD]date last upduted/renewed[/TD]
[/TR]
[TR]
[TD]AAA[/TD]
[TD]5920[/TD]
[TD]PNA[/TD]
[TD]Execution/Monitoring-In Construction[/TD]
[TD][/TD]
[TD][/TD]
[TD]$1111111[/TD]
[TD]3/10/16[/TD]
[/TR]
[TR]
[TD]BBB[/TD]
[TD]5928[/TD]
[TD]PNC[/TD]
[TD]Pipeline-Bidding[/TD]
[TD]12/9/15[/TD]
[TD]6/15/17[/TD]
[TD]$111111[/TD]
[TD]3/8/16[/TD]
[/TR]
[TR]
[TD]CCC[/TD]
[TD]5925[/TD]
[TD]PNB[/TD]
[TD]Pipeline-Bidding[/TD]
[TD][/TD]
[TD][/TD]
[TD]$111111[/TD]
[TD]3/10/16[/TD]
[/TR]
[TR]
[TD]DDD[/TD]
[TD][/TD]
[TD]PND[/TD]
[TD]Pipeline-Bidding[/TD]
[TD][/TD]
[TD][/TD]
[TD]$111111[/TD]
[TD]3/10/16[/TD]
[/TR]
[TR]
[TD]EEE[/TD]
[TD][/TD]
[TD]PNE[/TD]
[TD]Pipeline-Bidding[/TD]
[TD][/TD]
[TD][/TD]
[TD]$111111[/TD]
[TD]3/10/16[/TD]
[/TR]
</tbody>[/TABLE]














Here is sheet 2 named "CMI_PMT_Project in Progress":

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Customer Name[/TD]
[TD]Project #[/TD]
[TD]Project Name[/TD]
[TD]Project Lifecycle Phase[/TD]
[TD]Contract Award/NPT date[/TD]
[TD]Substantial Completion date[/TD]
[TD]Project Revenue[/TD]
[TD]Date Last Updated/Renewed
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]













So I need the information from the entire A row of sheet 1 to automatically populate in sheet 2. Hopefully I explained well enough! [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
The rules you stat say that when you enter a date in column F (Contract Award/NTP Date), and some status in column D, then the spreadsheet should again populate the same column F (Contract Award/NTP Date) with data taken from elsewhere.

So to say, if you enter a date in column F, the spreadsheet should overwrite your entry with something else. This does not make sense to me.

J.Ty.
 
Last edited:
Upvote 0
2 ways to do this - with no helper and using ARRAY formulas, or with a helper column and using regular formulas. I will show both below...
ARRAY formula and no helper(ARRAY formulas can slow your file down when used on large files)...
data sheet
[Table="width:, class:grid"][tr][td] [/td][td]
B​
[/td][td]
C​
[/td][td]
D​
[/td][td]
E​
[/td][td]
F​
[/td][td]
G​
[/td][td]
H​
[/td][/tr]
[tr][td]
1​
[/td][td]Project #[/td][td]Project Name[/td][td]Project Lifecycle Phase[/td][td]Contract Award/NPTdate[/td][td]substantial completion date[/td][td]project revenue[/td][td]date last upduted/renewed[/td][/tr]

[tr][td]
2​
[/td][td]5920[/td][td]PNA[/td][td]Execution/Monitoring-In Construction[/td][td][/td][td][/td][td]$1,111,111 [/td][td]3/10/2016[/td][/tr]

[tr][td]
3​
[/td][td]5928[/td][td]PNC[/td][td]Pipeline-Bidding[/td][td]12/9/2015[/td][td]6/15/2017[/td][td]$111,111 [/td][td]3/8/2016[/td][/tr]

[tr][td]
4​
[/td][td]5925[/td][td]PNB[/td][td]Execution/Monitoring-In Construction[/td][td][/td][td][/td][td]$111,111 [/td][td]3/10/2016[/td][/tr]

[tr][td]
5​
[/td][td][/td][td]PND[/td][td]Pipeline-Bidding[/td][td][/td][td][/td][td]$111,111 [/td][td]3/10/2016[/td][/tr]

[tr][td]
6​
[/td][td][/td][td]PNE[/td][td]Pipeline-Bidding[/td][td][/td][td][/td][td]$111,111 [/td][td]3/10/2016[/td][/tr]
[/table]


Then on the summary sheet (I only show a few of your headings)...
[Table="width:, class:grid"][tr][td] [/td][td]
A​
[/td][td]
B​
[/td][td]
C​
[/td][/tr]
[tr][td]
1​
[/td][td]Project #[/td][td]Project Name[/td][td]Project Lifecycle Phase[/td][/tr]

[tr][td]
2​
[/td][td]5920[/td][td]PNA[/td][td]Execution/Monitoring-In Construction[/td][/tr]

[tr][td]
3​
[/td][td]5925[/td][td]PNB[/td][td]Execution/Monitoring-In Construction[/td][/tr]
[/table]

A2=IFERROR(INDEX(Sheet11!B:B,SMALL(IF(Sheet11!$D$2:$D$6="Execution/Monitoring-In Construction",ROW(Sheet11!$D$2:$D$6)),ROWS(Sheet11!$A$1:A1))),"")
entered using CTRL SHIFT ENTER, not just enter
then copy down and across as needed

Or, using a helper on the Data sheet...
[Table="width:, class:grid"][tr][td] [/td][td]
A​
[/td][td]
B​
[/td][td]
C​
[/td][td]
D​
[/td][td]
E​
[/td][td]
F​
[/td][td]
G​
[/td][td]
H​
[/td][td]
I​
[/td][/tr]
[tr][td]
1​
[/td][td]Customer Name[/td][td]Project #[/td][td]Project Name[/td][td]Project Lifecycle Phase[/td][td]Contract Award/NPTdate[/td][td]substantial completion date[/td][td]project revenue[/td][td]date last upduted/renewed[/td][td][/td][/tr]

[tr][td]
2​
[/td][td]AAA[/td][td]5920[/td][td]PNA[/td][td]Execution/Monitoring-In Construction[/td][td][/td][td][/td][td]$1,111,111 [/td][td]3/10/2016[/td][td]
1​
[/td][/tr]

[tr][td]
3​
[/td][td]BBB[/td][td]5928[/td][td]PNC[/td][td]Pipeline-Bidding[/td][td]12/9/2015[/td][td]6/15/2017[/td][td]$111,111 [/td][td]3/8/2016[/td][td]
1​
[/td][/tr]

[tr][td]
4​
[/td][td]CCC[/td][td]5925[/td][td]PNB[/td][td]Execution/Monitoring-In Construction[/td][td][/td][td][/td][td]$111,111 [/td][td]3/10/2016[/td][td]
2​
[/td][/tr]

[tr][td]
5​
[/td][td]DDD[/td][td][/td][td]PND[/td][td]Pipeline-Bidding[/td][td][/td][td][/td][td]$111,111 [/td][td]3/10/2016[/td][td]
2​
[/td][/tr]

[tr][td]
6​
[/td][td]EEE[/td][td][/td][td]PNE[/td][td]Pipeline-Bidding[/td][td][/td][td][/td][td]$111,111 [/td][td]3/10/2016[/td][td]
2​
[/td][/tr]

[tr][td]
7​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td]
2​
[/td][/tr]
[/table]

I2=IF(D2="Execution/Monitoring-In Construction",I1+1,I1)
copied down

Then on the extract sheet...
A2=IFERROR(INDEX(Sheet11!B:B,MATCH(ROWS($A$1:A1),Sheet11!$I:$I,0)),"")
copied down and across
 
Upvote 0
I am unable (not allowed) to access file hosting site :(

If you are OK with using a helper column (a column that does not contain any of your data, but is just used in calcs), then I suggest that you use my 2nd set of formulas.

Assuming your data layout looks like your sample from post 1, then in a new column (I used column I, if you have more columns than you showed, adjust the helper column accordingly) copy and past this...
copy/paste this to I2 (or to wherever you put the helper column)
=IF(D2="Execution/Monitoring-In Construction",I1+1,I1)
then past all the way down to the end of your data

This will create an ID for JUST those entries that contain your key phrase, the extract table will use this to pull out just those entries

Once you have done that, you are now ready to create the extract table.

Then on the summary sheet (I only show a few of your headings)...

See the middle table in my post 3. I only used a few of your headings, but as long as they are all in the same order on both sheets, the copy/paste will still work. If your columns are not in the same order, let me know, that is easy to adjust to.

copy/past this to A2...
=IFERROR(INDEX(Sheet11!B:B,MATCH(ROWS($A$1:A1),Sheet11!$I:$I,0)),"")
then copy down and across as needed

If you follow my directions, you should not have a problem, but let me know if you do :)
 
Upvote 0
Thank you!

What exactly are you referring to when you say "extract sheet" and "summary table"? Also, my columns are not in the same order.
 
Upvote 0
the extract sheet is where your data is
the summary table would be the table you want your data to be shown
 
Upvote 0
Thank you, sorry I am not familiar with excel. So I tried to create my helper column in column L and this was the formula I used:
=IF(D2="Execution/Monitoring-In Construction",L2+1,L2)

when I clicked enter this is the message I got: Excel cannot calculate a formula. Cell references in the formula refer to the formula's result, creating a circular reference. For help with correcting a circular reference, click OK. or cancel.

I clicked OK and the value I got was 0.
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,122
Members
452,381
Latest member
Nova88

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