Hello Champions!
Thanks for being there. I've learnt a lot by reading your forums earlier.
Now I got a situation & I couldn't come across similar thread on this. By using VBA I've to capture User requirements using a form where I plan to use combo boxes etc. There may be around 15-20 criteria / requirements (some may have further sub-attributes) for user to provide their inputs. On my side I've different product offerings (example building names) which could be 20-30 choices as of now but could expand later.
Once user submits the form there should be a Recommendation for the Building Name (from the available options) which matches the user's multiple choices / criteria.
Wherever none of the available solution matches the available criteria I can prompt the user "sorry no match found"
For illustration I've listed down the Criteria or attributes in Column A. While the available Optionsor Building names as headers in columns B onwards..
I'm not too expert in VBA and my problem is how to use multiple choices to shortlist suitable building by using either.. I tried to think about using Vlookup OR Nested If, Elseif, Select option but then I'm not an expert in programming and am new to VBA ... so I couldn't think of suitable loop structure.
I'll be grateful for any suggestions or help please..
Excel 2010
<tbody>
</tbody>
Thanks for being there. I've learnt a lot by reading your forums earlier.
Now I got a situation & I couldn't come across similar thread on this. By using VBA I've to capture User requirements using a form where I plan to use combo boxes etc. There may be around 15-20 criteria / requirements (some may have further sub-attributes) for user to provide their inputs. On my side I've different product offerings (example building names) which could be 20-30 choices as of now but could expand later.
Once user submits the form there should be a Recommendation for the Building Name (from the available options) which matches the user's multiple choices / criteria.
Wherever none of the available solution matches the available criteria I can prompt the user "sorry no match found"
For illustration I've listed down the Criteria or attributes in Column A. While the available Optionsor Building names as headers in columns B onwards..
I'm not too expert in VBA and my problem is how to use multiple choices to shortlist suitable building by using either.. I tried to think about using Vlookup OR Nested If, Elseif, Select option but then I'm not an expert in programming and am new to VBA ... so I couldn't think of suitable loop structure.
I'll be grateful for any suggestions or help please..
Excel 2010
A | B | C | D | E | F | G | H | I | |
---|---|---|---|---|---|---|---|---|---|
1 | Building Offer / Criteria | Building1 | Building2 | Building3 | Building4 | Building5 | Building6 | Building… | Building20 |
2 | Minimum Price (US$) | $2,000 | $3,000 | $4,000 | $5,000 | $1,500 | $2,500 | $3,500 | $4,000 |
3 | Maximum Price (US$) | $3,800 | $4,800 | $5,800 | $6,800 | $3,300 | $4,300 | $5,300 | $5,800 |
4 | Currency (USD, GBP, EUR, CNY) | USD | GBP | USD | EUR | CNY | USD | USD | USD |
5 | Risk Appetite (Lo/Med/Hi/NA) | ||||||||
6 | Inclusion {Multiple Selections }( eg.. High Floor, Sea Facing, Security, Private Lawn, NA) | High Floor, Sea Facing | Sea Facing, Security | Security, Private Lawn | High Floor, Sea Facing | Sea Facing, Security | Security, Private Lawn | High Floor, Sea Facing | |
7 | Exclusion {Multiple Selections } ( eg..Mountain Facing, No Lift, Security) | Mountain Facing | No Lift, Security | Mountain Facing | No Lift, Security | No Lift, Security | Mountain Facing | Mountain Facing | No Lift, Security |
8 | Sr Citizen Discount (Y/N) | Y | Y | Y | N | N | N | N | N |
9 | Protected Rental (Y/N) | Y | N | N | Y | Y | N | N | N |
10 | Minimum Contract (1,2,3,4 Yrs) | 1 | 2 | 3 | 3 | 4 | 2 | 1 | 1 |
11 | Security Deposit (20%, 30%, 40% depending on No. of Contract years) | 20% | 40% | 30% | 20% | 30% | 30% | 30% | 30% |
12 | Distance from Mall | 1 | 2 | NA | 1 | NA | 3 | NA | 2 |
13 | Station Proximity (Y/N) | Y | N | N | Y | Y | N | N | Y |
14 | Bus Stop Proximity | N | Y | Y | Y | N | Y | N | N |
15 | School Proximity | Y | N | Y | Y | Y | N | Y | N |
16 | Cinema Proximity (Y/N/NA) | NA | Y | N | NA | NA | N | N | N |
17 | Hospital (<1 Km, 1-3 KM, >5KM) | 1-3 KM | 1 KM | >5KM | 1 KM | >5KM | 1-3 KM | 1 KM | >5KM |
<tbody>
</tbody>
Sheet1