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

x
Solved

# Button Menu vlookup help

Posted on 2015-01-26
Medium Priority
77 Views
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
Question by:infiniti7181
[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

LVL 36

Expert Comment

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

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 36

Accepted Solution

Kimputer earned 2000 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

Question has a verified solution.

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

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…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
###### Suggested Courses
Course of the Month5 days, 7 hours left to enroll

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

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