Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Troubleshooting a Formula and Range Name

Posted on 2012-12-21
4
Medium Priority
?
267 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

688 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