Solved

Button Menu vlookup help

Posted on 2015-01-26
3
74 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

749 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