Macro to Identify column wise data based on multiple user defined criteria on a different sheet

patsdavixen

New Member
Joined
Mar 5, 2013
Messages
32
Hi,

I have 3 worksheets in a workbook. The first sheet is the "Input" Sheet, the second sheet is the "Calculation" sheet and the third is "Data" sheet. The user can select 3 criteria on the input sheet from predetermined drop downs. The first drop down is the service year – Year 1,2,3 only. the second drop down is the month "Jan,Feb,etc" and the third drop down is the year "2012,2013 or 2014".
Based on the selection of the drop downs on the "Input" sheet, the macro should go to the “Data” sheet and search for criteria 1 that is the service year which is repeated 4 times in row 1, it should then search for criteria 3 which is the year which is again repeated 4 times in row 2 of the "Data" tab. It should then search for the month under criteria 1 & 3 which is the month in row 3.
Could someone let me know if I’m supposed to use an Index Match formula or is there another way of identifying a column in a worksheet based on 3 criteria on another worksheet.

Any help would be appreciated.

Thanks – Pat
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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