A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IF Formulas



 
 
Thread Tools Display Modes
  #1  
Old April 17th, 2009, 04:07 PM posted to microsoft.public.excel.worksheet.functions
clara
external usenet poster
 
Posts: 137
Default IF Formulas

I have a column for every month (12) and I have criteria that must be met all
months in order for annual points to be awarded. How can I tell cell P5 that
if all cells from D5 to O5 each have an x in them than P5 should equal 50,
but if any one cell does not have the x then P5 should equal 0? Does that
make sense?

I know how to tell it when I'm only looking at one cell: If(D5="x",20,0),
but I need it to look at all cells on that row.

I'd appreciate any help.
  #3  
Old April 17th, 2009, 04:32 PM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default IF Formulas

=(COUNTIF(D5:O5,"x")=12)*50


"Clara" wrote:

I have a column for every month (12) and I have criteria that must be met all
months in order for annual points to be awarded. How can I tell cell P5 that
if all cells from D5 to O5 each have an x in them than P5 should equal 50,
but if any one cell does not have the x then P5 should equal 0? Does that
make sense?

I know how to tell it when I'm only looking at one cell: If(D5="x",20,0),
but I need it to look at all cells on that row.

I'd appreciate any help.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.