Consolidating Data into one Search Box

Smudge Smith

New Member
Joined
May 19, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Morning all. I've put together an excel report based upon Home Emergency claims in different postcode areas around the UK. I've designed a quick search tool using VLookup which allows me to input a postcode and then produces a result based upon different types of perils (Boilers, Internal Pipes, Toilets ect.) The issue I'm having is I've currently got a table of 13 different types of peril with each having a VLookup next to it in order to produce the result so the table looks a little untidy. What I've now tried to do is to consolidate the table into 3 search boxes, Peril, Postcode & Result. The Postcode & Result boxes are fine but I've really struggled to find a way of reducing these 13 Peril boxes into one which will allow me to choose any one Peril at a time then generate a result using the Postcode, any suggestions whether it be a Macro or any type of formula will be very much appreciated indeed so thank you in advance.
HE Claims Entered By Postcode.jpg
 

Attachments

  • HE Claims Entered By Postcode.jpg
    HE Claims Entered By Postcode.jpg
    88 KB · Views: 6

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
i'm not sure whether i understand you right, but do you mean this?
1589961794927.png
 
Upvote 0
I guess you need two-creteria lookup?
Book1
ABCDEFG
1PerilPostcodeSearch Result
2PerilPostcodeSearch ResultHeating SystemA1
3ToiletC3PlumbingB2
4ToiletH8ToiletC3
5Lost KeysD4
6OtherE5
7Heating SystemF6
8PlumbingG7
9ToiletH8
10Lost KeysI9
11OtherJ10
Sheet1
Cell Formulas
RangeFormula
C3:C4C3=INDEX(G:G,MATCH(A3&B3,E:E&F:F,))
Cells with Data Validation
CellAllowCriteria
A3:A4List=$I$2:$I$6
 
Upvote 0
I guess you need two-creteria lookup?
Book1
ABCDEFG
1PerilPostcodeSearch Result
2PerilPostcodeSearch ResultHeating SystemA1
3ToiletC3PlumbingB2
4ToiletH8ToiletC3
5Lost KeysD4
6OtherE5
7Heating SystemF6
8PlumbingG7
9ToiletH8
10Lost KeysI9
11OtherJ10
Sheet1
Cell Formulas
RangeFormula
C3:C4C3=INDEX(G:G,MATCH(A3&B3,E:E&F:F,))
Cells with Data Validation
CellAllowCriteria
A3:A4List=$I$2:$I$6
Cheers for this, I'll see if I can get this to work for me as the other problem I've got is I've a total 124 different postcodes with thousands of claims which I need to interrogate so you can see why I require a tool to produce an instant result based simply upon selecting a peril and a postcode.
 
Upvote 0
O
Cheers for this, I'll see if I can get this to work for me as the other problem I've got is I've a total 124 different postcodes with thousands of claims which I need to interrogate so you can see why I require a tool to produce an instant result based simply upon selecting a peril and a postcode.
OK, if you have further questions please let me know. upload sample data with expected results will help you resolve the problem more quickly.
 
Upvote 0

Forum statistics

Threads
1,215,745
Messages
6,126,630
Members
449,323
Latest member
Smarti1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top