Link 2 cells to return a specific message

mandyo6

New Member
Joined
Feb 1, 2012
Messages
2
Hi, I need to link 3 cells for a project regarding exercise. One cell has to use drop down to state "D","W","M" (daily, monthly, weekly), Another cell has the total of how many days you exercise a week and another has to say that if you exercise more than 4 times in a month your health is Poor
=if(AND(E2="D",H8>=5,"Excellent"),if(AND(E2="W",H8>=2,"Good"),if(AND(E2="M",I8<=4,"Poor")))). This is the statement I have written because this is how I understand it and Excel says it is wrong! Can anyone help please, it is difficult to explain what I am trying to do so I hope someone will understand it more by writing my incorrect statement. The paper also suggests that I might be able to do this by lookup?

Thank you.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,225,609
Messages
6,185,985
Members
453,333
Latest member
BioCoder84

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