Vlookups with multiple criteria

Kmitchell

Active Member
Joined
Feb 27, 2007
Messages
363
Office Version
  1. 365
Platform
  1. Windows
Hi There,

Is there a way to use the Vlookup function to have it meet more than one criteria? For example if it's July and Department A then go to sheet 1, columns A:H. If it's May and Department B then go to sheet 1 columns I:T.

I have a lot of data originally on 15 tabs. But I've found a way to consolidate it into three buckets because there can only be 7 statements. I need a work around.

Any suggestions?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I should also mention that month and departments are selected from a drop down list which are located on B1 and B2.
 
Upvote 0
How mnay different ranges do you have? You gave A:H and I:T as examples, will all your ranges be different sizes like this? Will the VLOOKUP be the same except for the lookup ranges?
 
Upvote 0
Yes. All the ranges (number of columns) will be the same. However, the columns used will be very large, all the way IV.
 
Upvote 0

Forum statistics

Threads
1,222,441
Messages
6,166,053
Members
452,010
Latest member
triangle3

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