Solved

Troubleshooting a Formula and Range Name

Posted on 2012-12-21
4
257 Views
Last Modified: 2012-12-21
EE Pros,

I've spent about 4 hours trying to get a formula in a set of columns/rows to properly behave. I've attached the WB and am hoping someone will take a quick look and see what I have done wrong.  There are two Name Ranges (Industry and Columntable).

The use is simple.  I want to select an industry (right now there are but 2 -- Banking & Insurance).  Once selected, all the ASSOCIATED records, only for that industry, are displayed and you can then see the relationship of the cells.  I want to be able to then change or update an individual record so that it is reflected back in the Data Base.

Thank you in advance.

B.
Solution-Alignment.xlsm
0
Comment
Question by:Bright01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:leptonka
ID: 38714005
Hi,

Attached how I would do.
I changed your name definition and I separated the index column (A).
You need to confirm the formula in this column with Ctrl+Shift+Enter.

Cheers,
Kris
Solution-Alignment-redefined.xlsm
0
 

Author Comment

by:Bright01
ID: 38714174
Kris,

Thank you!  What you provided me works!  There are two things that need to be taken into consideration.  

1.) How do I get it to not execute if the max. number of industry records are reached?  So in Insurance there are 13 records and on Banking there are 16 records.  Is there a way to not have the formulas show up if there is no associated industry record?

2.) I'm going to have to figure out how I can update a record in the maintenance tab that automatically updates the DB....but I'm going to hold that for the next question.

Thank you!!!

B.
0
 
LVL 7

Accepted Solution

by:
leptonka earned 500 total points
ID: 38714227
Hi,

I am not sure I clearly understand your 1) question. You do not want to see the index numbers when there are no more data? You can use your IF solution for that formula, so in cell A6:
=IF(ROWS(B$6:B6)>$B$4,"",SMALL(IF(ISNUMBER(SEARCH($B$2,Industry)),ROW(Industry)-ROW(Data_Base!$A$3),ROWS(Columnsfromtable))+1,ROW(B1)))
Ctrl+Shift+Enter and copy down.

Relating 2) - It could be done only with some VBA code.
But why you do not use an autofilter on the original data, so on Data_Base sheet? And you can modify the data in-place.

I attached the corrected formula + autofilter.

Cheers,
Krs
Solution-Alignment-redefined.xlsm
0
 

Author Closing Comment

by:Bright01
ID: 38714284
Kris,

Great suggestions and thank you for the code!

Works well.........

B.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

738 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