Filling in multiple data entries from value of single cell

yellowjkjeep

New Member
Joined
Sep 16, 2017
Messages
8
Hello everyone. I have been searching for a way to do this and don't even know the right questions to ask. I have always been able to figure things out without help, except Google, but this has me stumped. What I am trying to do is develop a plant database that will show all plants I will be installing for a client's project and what I'd like to do is have the details auto-populate based on the input of a selected plant. Things like harvest dates, fertilizer recommendations, annual or perennial, water requirements, etc. I'll attach some screen shots.

Thanks a lot guys and gals. I have spent 4 hours trying to figure this out. I've tried IF & VLOOKUP and I don't know what else to do. I can make a data sheet for each plant variety or a table but I can't figure it out at all. I know I don't expect anyone to do the work for me, but if you could just point me in the right direction, I'd sure appreciate it!

auto-pop
data.jpg


auto-pop.jpg

data
 
As you have quite a lot of columns, I would definitely avoid the OFFSET option if at all possible - and I think it is.

In your sample file you have a formal table on 'Sheet2' and it is called 'Table4'. If that differs in your real file you will need to adjust that in my formulas below.
I have assumed that in Sheet2 you want to return all columns from 'DATA' and in the same order.

So, here is a small section of DATA

Excel Workbook
ABCDEFGHI
2LIFE CYCLESYSTEM PLACEMENTUSDA HARDINESS ZONESSOURCETYPESIZECOST
3
4
5PLANTVarietyLife CycleSYSTEM PlacementUSDA HARDINESS ZONESSourceTypeSizeCost
6APPLEAnnaPerennialUnderstory4-10The Arbor GateProductive30 feet$ 19.99
7AVOCADOARAVAIPAPerennialUnderstoryThe Arbor GateProductive10 FEET$ 45.00
8BLACKBERRYPRIME ARK FREEDOMPerennialSHRUBGROW ORGANICProductive5 FEET$ 8.00
DATA


Try this.
1. In Sheet2, add a new column between B & C & remove the Data Validation that will most likely get copied from column B when you do that. Label the column 'Index'
2. Put the formula shown in C6 below making sure the range in 'DATA' is covered. I have used down to row 1000. That formula should flash-fill down the table.
3. The 'Index' column can now be hidden if you want.
4. The formula shown in D6 needs to get copied not only down to the bottom of that column but then dragged right across all columns.
5. You will see that cells that were blank in 'DATA' show up as "0" here. Two options ..
a) File -> Options -> Advanced -> Display options for this worksheet -> Remove the tick from 'Show a zero in cells that have zero value' -> OK, or
b) Use the longer formula shown in the final screen shot below.

Excel Workbook
ABCDEFGHIJ
5PLANTVARIETYIndexLIFE CYCLESYSTEM PLACEMENTUSDA HARDINESS ZONESSOURCETYPESIZECOST
6APPLEAnna2),"",INDEX(DATA!C$5:C$1000,Table4:]))]PerennialUnderstory4-10The Arbor GateProductive30 feet19.99
7AVOCADOAravaipa3PerennialUnderstory0The Arbor GateProductive10 FEET45
8BLACKBERRYPrime Ark Freedom4PerennialSHRUB0GROW ORGANICProductive5 FEET8
9BERRIESGoji Berry#N/A
10MULBERRYPakistan#N/A
11SATSUMABrown Select#N/A
12PEACHRed Baron#N/A
Sheet2



If you want to use the formula to hide unwanted zero values instead of Settings, then this formula in D6 and down/across.
I have also hidden the Index column here as described above.

Excel Workbook
ABDEFGHIJ
5PLANTVARIETYLIFE CYCLESYSTEM PLACEMENTUSDA HARDINESS ZONESSOURCETYPESIZECOST
6APPLEAnna),"",INDEX(DATA!C$5:C$1000,Table4:]))="","",IF(ISNA(Table4:]),"",INDEX(DATA!C$5:C$1000,Table4:])))]PerennialUnderstory4-10The Arbor GateProductive30 feet19.99
7AVOCADOAravaipaPerennialUnderstoryThe Arbor GateProductive10 FEET45
8BLACKBERRYPrime Ark FreedomPerennialSHRUBGROW ORGANICProductive5 FEET8
9BERRIESGoji Berry
10MULBERRYPakistan
11SATSUMABrown Select
12PEACHRed Baron
Sheet2
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
THANK YOU! This works beautifully! I'm going to have to study how this works and all the formula you provided so I can repeat it in the future, but thank you for your help!
 
Upvote 0
THANK YOU! This works beautifully! I'm going to have to study how this works and all the formula you provided so I can repeat it in the future, but thank you for your help!
You are very welcome. Glad to help. :)
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

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