Multi-criteria

Lifevest

New Member
Joined
Jul 17, 2014
Messages
4
Microsoft Office Home 2010

Dear Excel Gurus – First and foremost, I bow to your expertise and thank you for any help you may be able to offer, as I am way out of my league with this question.

Description:

I am trying to make sense of a massive data dump I have received. The first image below is a sample of the data, which is 1000+ rows deep and several hundred columns wide. The second image is what I am trying to do with the data (e.g. an output sheet for each metric).

Dummy Data
edit

https://drive.google.com/file/d/0B_Xdrauu1Dk8VjBNQzNxZEU4YlU/edit?usp=sharing

Desired Output Format
edit

https://drive.google.com/file/d/0B_Xdrauu1Dk8NHE5WXhEU3BMS2c/edit?usp=sharing

The data represents health information for each individual by date. However, the dates for each individual vary, as well as the various metrics tracked (e.g. cigarettes consumed, DBP, SBP etc.)

Below is a link to some dummy data (sheet titled: Data Dump) and two sheets that show how I am hoping to segment the data (Output DBP, Output SBP) but have no clue how.

The output sheets would have the email of the individual, the health metric and date that it can search the "Data Dump" sheet and return the metrics in the proper dates.

Though the dummy spreadsheet only has two output sheet (DBP and SBP), I would make sheets for all of the various metrics (cigarettes consumed, DBP, Height, Hip Circumference, SBP, Waist Circumference, Weight).

Link to Spreadsheet
https://drive.google.com/file/d/0B_Xdrauu1Dk8QTlXYTBMLVF2ZVU/edit?usp=sharing

Any help you might be able to provide would be exceptionally appreciated, as I am in way over my head (my skills haven’t yet progressed beyond vlookup / hlookup).

With appreciation,
Lifevest
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi, If your data was arranged in a different manner that allows extraction then you could use a simple formula or pivot table to retrieve what you require.
Given in A1:

Excel 2010
ABCDEFGHIJ
1First nameLast nameaddressdateConsumptionDBPHeightHip_CirSBPmass
2BobSmithbob.smith@test.com3/18/20140686'5"120200
3BobSmithbob.smith@test.com3/21/2014069121201
4JillHowzerJill.Howzer@test.com3/19/20140804'11"35120120
5JillHowzerJill.Howzer@test.com3/12/201408036121119
6JillHowzerJill.Howzer@test.com3/15/201408037122118
7JillHowzerJill.Howzer@test.com3/30/201408038123117
Lifevest


Given in L2:

Excel 2010
LMNOPQRS
2Email3/12/20143/15/20143/18/20143/19/20143/21/20143/30/2014
3bob.smith@test.comDBP6869
4Jill.Howzer@test.comDBP80808080
Lifevest



Formula in N3 is =IFERROR(INDEX($E$2:$J$7,MATCH(1,INDEX(($D$2:$D$7=N$2)*($C$2:$C$7=$L3),0),0),MATCH($M3,$E$1:$J$1,0)),"") copied down and right till needed.

Please take note of the way the data is arranged.
 
Upvote 0
Once I was able to get the data output set as you suggested, it worked like a charm. Thanks again cyrilbrd!
 
Upvote 0
Once I was able to get the data output set as you suggested, it worked like a charm. Thanks again cyrilbrd!

Most welcome, glad it worked for you.
Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,102
Messages
6,170,122
Members
452,303
Latest member
c4cstore

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