#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Formula Problem

Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If true, "No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Problem

If WS A cell C75:C830

Does that mean *every* cell in the range is 0 or *any* cell in the range is
0?


--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Formula Problem

Hi,
If any cell in the range has a number in it. Thank you for replying to my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830


Does that mean *every* cell in the range is 0 or *any* cell in the range is
0?


--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Problem

Try this (all on one line):

=IF(AND(COUNTIF('WS A'!C75:C83,"0"),
COUNTIF('WS S-3,II'!D17,"0")),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,
If any cell in the range has a number in it. Thank you for replying to
my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830


Does that mean *every* cell in the range is 0 or *any* cell in the range
is
0?


--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Formula Problem

Hi,

I thank you for answering my question. Can I change count to sum? the cells
are all numeric.
--
thank you mac


"T. Valko" wrote:

Try this (all on one line):

=IF(AND(COUNTIF('WS A'!C75:C83,"0"),
COUNTIF('WS S-3,II'!D17,"0")),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,
If any cell in the range has a number in it. Thank you for replying to
my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830

Does that mean *every* cell in the range is 0 or *any* cell in the range
is
0?

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Problem

Can I change count to sum? the cells are all numeric.

It depends on what condition you're testing for and what the possible cell
values can be.

You said if *any* cell is 0 so a COUNTIF is the logical function to test
for that condition. How are you thinking about applying a SUM function as
the test? If there can be negative numbers in the range then a SUM of 10
and -10 equals 0.

This is why it's important to let us know *all* the details of a problem
when you post a question. We can only suggest something based on our "best
guess" of what your data might be unless you explicitly tell us.

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,

I thank you for answering my question. Can I change count to sum? the
cells
are all numeric.
--
thank you mac


"T. Valko" wrote:

Try this (all on one line):

=IF(AND(COUNTIF('WS A'!C75:C83,"0"),
COUNTIF('WS S-3,II'!D17,"0")),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,
If any cell in the range has a number in it. Thank you for replying
to
my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830

Does that mean *every* cell in the range is 0 or *any* cell in the
range
is
0?

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If
true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac








  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Formula Problem

Hi
What I am trying to do is:
WS A has salaries
WS s3,11 has hours

What I want is to make sure that if there are salaries on Ws A that there
are hours to correspond with it on S-3ii

Does this make sense?
thank you mac


"T. Valko" wrote:

Can I change count to sum? the cells are all numeric.


It depends on what condition you're testing for and what the possible cell
values can be.

You said if *any* cell is 0 so a COUNTIF is the logical function to test
for that condition. How are you thinking about applying a SUM function as
the test? If there can be negative numbers in the range then a SUM of 10
and -10 equals 0.

This is why it's important to let us know *all* the details of a problem
when you post a question. We can only suggest something based on our "best
guess" of what your data might be unless you explicitly tell us.

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,

I thank you for answering my question. Can I change count to sum? the
cells
are all numeric.
--
thank you mac


"T. Valko" wrote:

Try this (all on one line):

=IF(AND(COUNTIF('WS A'!C75:C83,"0"),
COUNTIF('WS S-3,II'!D17,"0")),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,
If any cell in the range has a number in it. Thank you for replying
to
my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830

Does that mean *every* cell in the range is 0 or *any* cell in the
range
is
0?

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If
true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac









  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Problem

OK, since there's no such thing as a negative salary you could use a SUM
comparison. And, if the cells in WS S-3,II will only contain numbers (or
time values which are really just numbers formatted to look like times):

=IF(AND(SUM('WS A'!C75:C83),
'WS S-3,II'!D170),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi
What I am trying to do is:
WS A has salaries
WS s3,11 has hours

What I want is to make sure that if there are salaries on Ws A that there
are hours to correspond with it on S-3ii

Does this make sense?
thank you mac


"T. Valko" wrote:

Can I change count to sum? the cells are all numeric.


It depends on what condition you're testing for and what the possible
cell
values can be.

You said if *any* cell is 0 so a COUNTIF is the logical function to test
for that condition. How are you thinking about applying a SUM function as
the test? If there can be negative numbers in the range then a SUM of 10
and -10 equals 0.

This is why it's important to let us know *all* the details of a problem
when you post a question. We can only suggest something based on our
"best
guess" of what your data might be unless you explicitly tell us.

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,

I thank you for answering my question. Can I change count to sum? the
cells
are all numeric.
--
thank you mac


"T. Valko" wrote:

Try this (all on one line):

=IF(AND(COUNTIF('WS A'!C75:C83,"0"),
COUNTIF('WS S-3,II'!D17,"0")),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,
If any cell in the range has a number in it. Thank you for
replying
to
my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830

Does that mean *every* cell in the range is 0 or *any* cell in the
range
is
0?

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If
true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac











  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mac Mac is offline
external usenet poster
 
Posts: 213
Default Formula Problem

THANK YOU SO MUCH
--
thank you mac


"T. Valko" wrote:

OK, since there's no such thing as a negative salary you could use a SUM
comparison. And, if the cells in WS S-3,II will only contain numbers (or
time values which are really just numbers formatted to look like times):

=IF(AND(SUM('WS A'!C75:C83),
'WS S-3,II'!D170),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi
What I am trying to do is:
WS A has salaries
WS s3,11 has hours

What I want is to make sure that if there are salaries on Ws A that there
are hours to correspond with it on S-3ii

Does this make sense?
thank you mac


"T. Valko" wrote:

Can I change count to sum? the cells are all numeric.

It depends on what condition you're testing for and what the possible
cell
values can be.

You said if *any* cell is 0 so a COUNTIF is the logical function to test
for that condition. How are you thinking about applying a SUM function as
the test? If there can be negative numbers in the range then a SUM of 10
and -10 equals 0.

This is why it's important to let us know *all* the details of a problem
when you post a question. We can only suggest something based on our
"best
guess" of what your data might be unless you explicitly tell us.

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,

I thank you for answering my question. Can I change count to sum? the
cells
are all numeric.
--
thank you mac


"T. Valko" wrote:

Try this (all on one line):

=IF(AND(COUNTIF('WS A'!C75:C83,"0"),
COUNTIF('WS S-3,II'!D17,"0")),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,
If any cell in the range has a number in it. Thank you for
replying
to
my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830

Does that mean *every* cell in the range is 0 or *any* cell in the
range
is
0?

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0. If
true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac












  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Problem

You're welcome!

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
THANK YOU SO MUCH
--
thank you mac


"T. Valko" wrote:

OK, since there's no such thing as a negative salary you could use a SUM
comparison. And, if the cells in WS S-3,II will only contain numbers (or
time values which are really just numbers formatted to look like times):

=IF(AND(SUM('WS A'!C75:C83),
'WS S-3,II'!D170),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi
What I am trying to do is:
WS A has salaries
WS s3,11 has hours

What I want is to make sure that if there are salaries on Ws A that
there
are hours to correspond with it on S-3ii

Does this make sense?
thank you mac


"T. Valko" wrote:

Can I change count to sum? the cells are all numeric.

It depends on what condition you're testing for and what the possible
cell
values can be.

You said if *any* cell is 0 so a COUNTIF is the logical function to
test
for that condition. How are you thinking about applying a SUM function
as
the test? If there can be negative numbers in the range then a SUM of
10
and -10 equals 0.

This is why it's important to let us know *all* the details of a
problem
when you post a question. We can only suggest something based on our
"best
guess" of what your data might be unless you explicitly tell us.

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,

I thank you for answering my question. Can I change count to sum?
the
cells
are all numeric.
--
thank you mac


"T. Valko" wrote:

Try this (all on one line):

=IF(AND(COUNTIF('WS A'!C75:C83,"0"),
COUNTIF('WS S-3,II'!D17,"0")),"No variance",
"Must enter hours for reported salaries")

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hi,
If any cell in the range has a number in it. Thank you for
replying
to
my
question.
--
thank you mac


"T. Valko" wrote:

If WS A cell C75:C830

Does that mean *every* cell in the range is 0 or *any* cell in
the
range
is
0?

--
Biff
Microsoft Excel MVP


"mac" wrote in message
...
Hello,

I am having trouble with this formula

If WS A cell C75:C830, then WS S-3,II cell D17 should be 0.
If
true,
"No
variance". If false, "Must enter hours for reported salaries"

Any help will be greatly appreciated

Thank you

--
thank you mac














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
Problem with this formula winnie123 Excel Worksheet Functions 12 August 11th 09 04:18 PM
formula problem Jonathan New Users to Excel 3 August 31st 07 10:50 AM
problem with formula Libby Excel Discussion (Misc queries) 5 July 20th 07 08:32 PM
formula Problem Little Willie Excel Discussion (Misc queries) 2 August 17th 05 04:42 AM
Formula problem Mike Excel Worksheet Functions 2 July 20th 05 02:09 AM


All times are GMT +1. The time now is 11:28 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"