Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default If statement in excel

Folks-

I need your help in preparing an evaluation sheet...

A B

1 Total 75
2 Completed task A Yes
3 Completed task B Yes
4 Completed task C Yes

5 Total score based on task X


Given above is an example of how the sheet looks consider A as the row
and the numbers in the side as coloumn.

B1 has the value of the total score by measuring some other tasks. But
B5 will contain the actual score of an individual after measuring the
3 main task mentioned in A2, A3, A4.

I want the Total score in B5 to be reduced by 25 if any one value in
A2 or A3 or A4 is changed to "NO"

For example if all A2, A3, A4 or selected as "NO", the total score
should be reduced by 75.

Please help me out in getting a formula to be put in B5.

Thanks,
Sivaji
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default If statement in excel

I'm not clear on the layout- if collumn b contains a Yes or No, and b 5 is the result you need this:
=B3-((COUNTIF(B4:B6,"No")*25))

If A2:A3 contains not just the yes or no but the whole text, then you need this:
=B3-((COUNTIF(B4:B6,"*No*")*25))

---
frmsrcurl: http://msgroups.net/microsoft.public...ement-in-excel
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default If statement in excel

On Apr 24, 2:18*am, johnnykunst / wrote:
I'm not clear on the layout- if collumn b contains a Yes or No, and b 5 is the result you need this:
=B3-((COUNTIF(B4:B6,"No")*25))

If A2:A3 contains not just the yes or no but the whole text, then you need this:
=B3-((COUNTIF(B4:B6,"*No*")*25))

---
frmsrcurl:http://msgroups.net/microsoft.public...ement-in-excel


Hi Buddy,

Thanks a lot for your help... You gave me exactly want i want... It's
working awesome...

Once again thanks a lot for your formula.

Thank u,
Sivaji
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default If statement in excel

Glad it's working for you- I've had lots of help on here learning VBA so I'm more than happy to put something back.
Cheers, John

---
frmsrcurl: http://msgroups.net/microsoft.public...ement-in-excel
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
Excel IF statement sby Excel Discussion (Misc queries) 2 November 23rd 07 02:52 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


All times are GMT +1. The time now is 12:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"