Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

building formula

ResolvedVersion 365

Nat has attended:
No courses

Building formula

Hello,

I'm looking to build a formula to use data from multiple dropdowns. To be exact, there is a dropdown with a yes/no option, then if yes, they must choose an occupation which in the table has a related value that must be multiplied by the number of years experience in the third dropdown. Is this possible?

RE: Building formula

Hello Nat,

Thanks for your question. It is possible to do this. It will involve a few steps, though. If you haven’t done so yet, create a list of occupations. Select this list and create a range name for it (top left box above column headers). Name this range Yes. Then, click on a blank cell and create another range name, this time naming it No.
The idea is that when Yes is picked from the first drop-down, the occupations drop-down (which I’ll explain later) will populate with the occupations list and when No is picked, the list will be empty.

To create the occupations drop-down, go to Data – Data Validation – List. In the Source box, type the following: =Indirect($A$1) *Replace $A$1 with the cell reference which contains your Yes / No drop-down. The Indirect function will see the Yes or No in that cell. If Yes is picked, the occupations drop-down will show the occupations list, if No, there will be no drop-down options.

Next, write a Vlookup to match the chosen occupation to the corresponding value needed to multiply with years’ experience (if needed, create a drop-down for years’ experience).

Finally, create a formula to multiply the occupation value with the years’ experience. You will notice that picking No does not clear the occupation cell. Simply do this manually.

I hope this helps. Please post again if you need further assistance.

Kind regards
Marius Barnard
Microsoft Office Trainer


Tue 26 May 2020: Automatically marked as resolved.

Excel tip:

New Normal Worksheet

Do you want all your worksheets to confirm to a certain look? Then change the Defaults!!!
1. Press Shift+F11 to create a new worksheet
2. Press Ctrl+A to select (higlight) all cells, Press Ctrl+1, make any formatting changes then click OK.
3. Press F12 (Function 12 key) click in the Save As Type, drop down, then select Template (*.xlt)
4. Click in the Save in drop-down, then find the folder; c:_program files_microsoft office_office_start. (For the underscores shown use backslash)
Name your templete sheet.xlt, then press Enter.
Sheet.xlt is used when you insert a new worksheet (Shift+F11)

Note: These changes are permanent changes on your PC.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.