Solved

Table Formula to automatically fill in when adding a row

Posted on 2013-11-22
7
234 Views
Last Modified: 2013-12-02
I created a lookup formula on a Table.   It is pulling from another table to populate the field.  The formula works fine however, I would like to populate on the next row.  What am I doing wrong.  I have attached a sample file.

=INDEX('Bank Info'!$B$7:$E$10,MATCH([@[Account Number]],TblBankAccount[Acct number],0),4)

Thanks, Eric
Index-Match-in-a-Table.xlsm
0
Comment
Question by:ekaplan323
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39669955
Not sure what you mean by
I would like to populate on the next row
.  Can you elaborate?
0
 
LVL 10

Expert Comment

by:etech0
ID: 39670083
You can use control-d to copy the formula from the cell above.
0
 
LVL 10

Expert Comment

by:etech0
ID: 39670089
Or you could do something like this:

=iferror(INDEX('Bank Info'!$B$7:$E$10,MATCH([@[Account Number]],TblBankAccount[Acct number],0),4),"")

and copy it down to all the cells down to 500 or whatever. It will show blank unless there is a result
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 39674402
There is an option in Excel Options > Advanced for:

"Extend data range formats and formulas"

Ensure this is enabled.

If the area in question is "defined" as a table, it should do it automatically.

Thanks
Rob H
0
 

Author Comment

by:ekaplan323
ID: 39674627
Rob,

I think this is the issue, can't find the option in Excel 2010 Options Advanced.
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 39674685
See attached.
Excel-Options.png
0
 

Author Comment

by:ekaplan323
ID: 39690056
Solved the problem
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Match formula returns N/A 5 25
Struggling to Lock and grey out cells using VBA. Help please! 8 27
Compile Error 7 41
Auto populate in Cascade dropdown 3 25
Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now