Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default AND OR IF Statments

I've created three cells that the user will select YES or NO. I want to
create a formula that will calculate a sales commission for all three months
if any of the cells YES. I can't seem to get it to work..Any suggestions?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default AND OR IF Statments

This formula
=(COUNTIF(B1:D1,"yes")1)*A1*5%
computes 5% of A1 if any one of the cells B1,c1 or D1 contains "yes" (not
case sensitive)
Any help?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Rogie" wrote in message
...
I've created three cells that the user will select YES or NO. I want to
create a formula that will calculate a sales commission for all three
months
if any of the cells YES. I can't seem to get it to work..Any suggestions?




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default AND OR IF Statments

That did help. I was able to tweek it, but I got it too work! Thank you!

"Bernard Liengme" wrote:

This formula
=(COUNTIF(B1:D1,"yes")1)*A1*5%
computes 5% of A1 if any one of the cells B1,c1 or D1 contains "yes" (not
case sensitive)
Any help?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Rogie" wrote in message
...
I've created three cells that the user will select YES or NO. I want to
create a formula that will calculate a sales commission for all three
months
if any of the cells YES. I can't seem to get it to work..Any suggestions?





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default AND OR IF Statments

Rogie:

Slight adjustment to the formula provided by Bernard:

=(COUNTIF(B1:D1,"yes")1)*A1*5%

it should be larger than 0 not 1 (or =1)

=(COUNTIF(B1:D1,"yes")0)*A1*5%

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Rogie" wrote:

That did help. I was able to tweek it, but I got it too work! Thank you!

"Bernard Liengme" wrote:

This formula
=(COUNTIF(B1:D1,"yes")1)*A1*5%
computes 5% of A1 if any one of the cells B1,c1 or D1 contains "yes" (not
case sensitive)
Any help?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Rogie" wrote in message
...
I've created three cells that the user will select YES or NO. I want to
create a formula that will calculate a sales commission for all three
months
if any of the cells YES. I can't seem to get it to work..Any suggestions?





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
LONG IF (diff columns) STATMENT(s) Daniel Q. Excel Worksheet Functions 2 November 13th 06 11:24 PM
If Statments containing letters Rick Wiley Excel Discussion (Misc queries) 2 November 9th 05 08:09 PM
Conditional statments. Paul987 Excel Discussion (Misc queries) 3 October 27th 05 09:25 PM
IF statments for multiple listings. imjoel Excel Worksheet Functions 3 April 9th 05 04:38 AM
Is there an Excel template to reconcile business bank statments? Acct Rep Excel Discussion (Misc queries) 1 February 24th 05 08:04 AM


All times are GMT +1. The time now is 07:16 AM.

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

About Us

"It's about Microsoft Excel"