Hi all,
I'm relatively new to using Vlookup. I was wondering if there's a way to use it if you have two criteria. I have a 6 column dataset: TYPE, DATE, RATE, APPLES, ORANGES, BANANAS. The 2 values in TYPE are either Sales or Cost. The values in date is just the date. Rate is either a value of 10, 18, 35, 39, 54,56,58, or 61. The values in APPLES, ORANGES, and BANANAS is the sale or cost of that fruit during that date. I want to create 3 vlookup tables, one for apples, one for oranges, one for bananas using date and rate as my criteria. Is there a way to do this?
How do I turn this:
Type Date Rate Apples Oranges Bananas
Sales March 2013 10 26 46 1,245
Sales January 2013 18 46 46 2,400
Sales February 2013 54 64 866 3,500
Sales April 2013 61 24 265 311
Sales January 2013 39 13 222 333
Into this for Bananas:
Rate
Date 10 18 35 39 54 56 58 61
January 2013 2,400 333
February 2013 3,500
March 2013 1,246
April 2013 311
Thanks for your help!
Bookmarks