Forum Discussion
Create Spreadsheet with Dynamic Data Population Capabilities
Rajesh_Sinha - forward you a sample spreadsheet of what I am looking to do. Thank you for the assistance/direction.
Best,
Renata
Renata830 ,,,
Since you have not shared any sample data therefore, I would like to use data I've recently used for project to create Dynamic Drop down, which is driven by array ( CSE ) formula.
How it works:
- Find the source data in range A2:C20, has 2 main building type, has their 3 Entry & Size (color applied for visualization ).
An Array (CSE) formula in cell E2, creates unique list of Building Type.
{=IFERROR(INDEX($A$2:$A$20,MATCH(0,COUNTIF($E$1:E1,$A$2:$A$20),0)),"")}
N.B. Create Drop Down in cell E13 and use E2:E3 as List value.
An array (CSE) formula in G2, gets relates Entry Type value.
{=IFERROR(INDEX($B$2:$B$20, MATCH(0, IF($E$13=$A$2:$A$20, COUNTIF($G$1:$G1, $B$2:$B$20), ""), 0)),"")}
N.B. Create Drop Down in cell G13 and use G2:G3 as List value.
Cell H2 has an array (CSE) formula, gets related Overall Size.
{=IFERROR(INDEX($C$2:$C$20, SMALL(IF(COUNTIF($E$13, $A$2:$A$20)*COUNTIF($G$13, $B$2:$B$20), ROW($A$2:$C$20)-MIN(ROW($A$2:$C$20))+1), ROW(A1)), COLUMN(A1)),"")}
N.B. Create Drop Down in cell H13 and use H2:H10 as List value.
- Finish array formula with Ctrl+Shift+Enter & fill down.
- You may adjust cell references in formula and Drop Down List value as needed.
- Formula returns Entry Type & Overall Size, depends on the data, at source in range A2:C20.
- For neatness you may hide data appearing in E2:H10.
N.B. Replace shown data set with yours, and apply the array formula as been instructed.
- Renata830Sep 23, 2020Copper Contributor
Here's an example of what I am trying to do. I am still building out the data e.g. When an "X" should appear but I want to know how to apply a formula to populate the columns once a certain content type is selected
- Rajesh_SinhaSep 23, 2020Iron ContributorFinally you have provided the real data but late, & your need is different,,, if I'm not wrong you want to populate F2:M2 with X if certain value appears in Column E, having Drop Down, if so then you need a simple Nested IF.
For example: If Assets Contain appears in E2 then populate F2:M2 with X.
Write this is F2 =If($E2="Assets Contains","X", "")
You may extend it for multiple check,,,
=If($E2="Assets Contains","X", if($E2="No Assets Contains","Y", ""))
Fill it Right then Down.
Hope this works for you!!- Renata830Sep 26, 2020Copper Contributor
Rajesh_Sinha I tried it a fifth time and still can only get the first 2 in blue to populate the cell...I'm not sure what I am doing wrong. Here is the entire formula:
=IF($E2="2. Asset contains previously approved content or resized/reformatted content (resized/reformatted should be noted in item desc)","Y",IF($E2="3. Convention Package","Y",IF($E2="1. Asset contains content not approved","Y",IF($E2="4. Renewal/re-review of expiring asset (no change)","Y",IF($E2="5. Update existing asset with Important Safety Information","Y",IF($E2="6. Derivative_Low Tier (Layout/Color Changes ONLY-No Conent Changes)","Y",IF($E2="7. Derivative_Minor (Limited New Content and/or Delivery Platform)","Y",IF($E2="8. Deriviative_Major (Extensive Changes, New Content and/or Delivery, Built from Approved Assets","Y",""))))))))