If/then statements in multiple cells

Fredilev

New Member
Joined
May 27, 2011
Messages
8
I'm trying to figure out how to write a formula for the following:
I have data in cells d12, d13 and d14. If the number in each of those cells is 6.5 or higher then I need the words "Meets Criteria" to appear in cell d11; if the number is lower than 6.5 in any of those cells then the words "Does Not Meet Criteria" needs to appear in D11.

I've been trying to figure out how to do this with IF and AND statements but I can't get it to work.

Thanks.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Try

=IF(AND(D12>=6.5,D13>=6.5,D14>=6.5),"Meets Criteria","Does Not Meet Criteria")
 
Upvote 0
Welcome to the board.

Try:
Code:
=IF(AND(D12>=6.5,D13>=6.5,D14>=6.5),"Meets Criteria","Does Not Meet Critera")
 
Upvote 0
Providing the cells will always contain a number (either greater than or less than 6.5):
=IF(COUNTIF(D12:D14,"<6.5"),"Does not meet criteria","Meets criteria")

If the cells could also be blank or contain text, post back and I'll revise the above
 
Upvote 0
One more question on this. If the cells are merged (D13/E13/F13); could that cause a problem with the formula working?
 
Upvote 0
I think it should still work but setting horizontal alignment to Center Across Selection is an alternative to merging.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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