Solved

Button Menu vlookup help

Posted on 2015-01-26
3
70 Views
Last Modified: 2015-01-29
Hello Guru's,

I am trying to make a similar sheet like attached for different format . My question is how does the button type system works (CAT1 , CAT2 etc ). I know the concept of vlookup and its format , lets say for eg: VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Appreciate your kind help and support to provide me advise.

Regards,
SID
t-eg3.xlsx
0
Comment
Question by:infiniti7181
  • 2
3 Comments
 
LVL 35

Expert Comment

by:Kimputer
ID: 40570312
In a sheet, you can add radio button controls. You assign it to one cell (in this case B5). It's nothing more than setting cell B5 to be 1, 2, 3, 4 or 5 (if you added more radio buttons yourself, it would go to 6 or 7 etc).
So first you have to fix the excel file to work properly that if you manually input a number in B5, it would show the correct values in the table below. After that, add the radio buttons (and give them a proper name), then link it to B5. Have your table react to numbers starting from 1 (as the cell will only be 1, and up, depending on how many buttons you add)
0
 

Author Comment

by:infiniti7181
ID: 40570431
Thanks , could you please clarify this point also

As per cell B8 , i saw this function statement , VLOOKUP(A8,DB!B3:U19,$B$5*4-2,FALSE)
what is $B$5*4 -2 , i understood on the cell B5, there were five options , then why it is shown B5* 4 -2 ?

REgards,

SID
0
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 40570450
number * 4 - 2 means
1 results in 2
2 results in 6
3 results in 10
4 results in 14
5 results in 18

As you can see, in the sheet DB, he put all the columns in the same way, NEXT to each other. So depending on what category you click, the results will jump 4 columns to the right. The original author though this would be the best way for him/her to keep things organised. It also allows the next category to be added quickly (and theoretically also extra lines).
So it all depends how you "design" it from the start.

It's $B$5*4 - 2, in this particular case, because he limited the table in DB, starting from column B. That means the second column, counting from there will be the result (if CAT1 is selected). It will take the 6th column if CAT2 is selected and so on.
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

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

920 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

16 Experts available now in Live!

Get 1:1 Help Now