Need help with conditional lists in excel
February 23, 2013 3:06 PM Subscribe
I'm creating a workout training program in excel, and I want to show a range of data based on certain conditions. Using Excel 2010 More after the jump.
This is how far I've gotten so far:
On cell B1 I have a category "Workout Type", and on cell C1 I have a drop down list of different workouts (Full Body, Chest, Back, Triceps, etc.)
On another sheet (sheet2) I have a list of the workout order:
B13 Chest
B14 Back
B15 Chest
~
B21 Legs
Back to Sheet1, I wanted to create a condition, if B3="full body", return the items in sheet2!B13:B21.
What I have ALMOST works. My formula so far is:
=IF(B12="Full Body",(Sheet2!B13:B21),"select workout")
Select workout is a temporary false statement.
Now what happens is, the argument B13:B21 only returns the value of B13 (Chest)
How do I get excel to show the contents of B13:B21?
Thanks much, and I hope that makes sense!
posted by FireStyle to computers & internet (9 answers total)
=IF($B$12="Full Body",(Sheet2!B13),"select workout")
Once you got that, copy the cell and paste that cell unto the 7 cells below it. You will see all references in the formula that aren't marked with dollar sign offset by one cell, which is what you want.
posted by gmarceau at 3:29 PM on February 23