Skip to main content
 

How to populate rows based on specified cell value in Excel?

Author: Siluvia Last Modified: 2024-09-26

Supposing you have a project table with corresponding person’s name who is in charge of each project as below screenshot shown. And now you need to list out all project names in rows based on given person, how to achieve it? Actually an array formula in this article can help you solve the problem.

 populate rows based on specified cell value

Populate rows based on specified cell value with array formula


Populate rows based on specified cell value with array formula

Please do as follows to populate rows with the corresponding record based on given value in Excel.

1. Select a blank cell, enter the below formula into it and then press the Ctrl + Shift + Enter keys.

=IFERROR(INDEX(Sheet2!A$1:A$10,SMALL(IF(Sheet2!B$1:B$10=D$2,ROW(A$1:A$10)),ROWS(D$2:D2))),"")

apply a formual to populate rows based on specified cell value

Note: in the formula, Sheet2 is the name of current worksheet, A$1:A$10 is the column range contains all project names (include header), B$1:B$10 is the column range contains all person names (include header), and D$2 is the cell contains the person name you will populate rows based on. Please change them as you need.

2. Select the first result cell, drag the Fill Handle down to fill all rows with corresponding task names. See screenshot:

drag the Fill Handle down to fill all specific cell values


Easily select entire rows based on cell value in a certian column:

The Select Specific Cells utility of Kutools for Excel can help you quickly select entire rows based on cell value in a certian column in Excel as below screenshot shown. After selecting all rows based on cell value, you can manually move or copy them to a new location as you need.
Download and try it now! (30-day free trail)

select entire rows based on cell value  by kutools


Related articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!