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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

If Question



 
 
Thread Tools Display Modes
  #1  
Old February 3rd, 2010, 03:14 AM posted to microsoft.public.excel.misc
kiwi
external usenet poster
 
Posts: 20
Default If Question

Hi everyone

Hope this isn't a silly question (as think I may have made it harder in my
head than it needs to be! given all the formulas I'm putting in are bringing
back errors!!)

I have one worksheet which gathers info from other sheets and has the
following info

A B C D
Name % % %

In another worksheet I have a list of names (column M say M3) next to the
names I want to put in a formula that will give me the following results:

If M3 is in worksheet 1 and the corresponding cells to that name in b, c and
d are all 0% write Yes otherwise write No but if M3 doesnt match anything on
the list write - .

Thanks as always

Kiwi
  #2  
Old February 3rd, 2010, 04:07 AM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default If Question

Try this...

Assuming this data:

A B C D
Name % % %


Is on Sheet1 in the range A110

=IF(COUNTIF(Sheet1!A1:A10,M3),IF(COUNTIF(INDEX(She et1!B110,MATCH(M3,Sheet1!A1:A10,0),0),"0")=3,"Y es","No"),"-")

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Hi everyone

Hope this isn't a silly question (as think I may have made it harder in my
head than it needs to be! given all the formulas I'm putting in are
bringing
back errors!!)

I have one worksheet which gathers info from other sheets and has the
following info

A B C D
Name % % %

In another worksheet I have a list of names (column M say M3) next to the
names I want to put in a formula that will give me the following results:

If M3 is in worksheet 1 and the corresponding cells to that name in b, c
and
d are all 0% write Yes otherwise write No but if M3 doesnt match anything
on
the list write - .

Thanks as always

Kiwi



  #3  
Old February 3rd, 2010, 04:35 AM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default If Question

Try the below formula...

=IF(COUNTIF(Sheet1!A1:A100,M3),IF(SUMPRODUCT((Shee t1!A1:A100=M3)*
(Sheet1!B1100=0)),"No","Yes"),"-")

--
Jacob


"Kiwi" wrote:

Hi everyone

Hope this isn't a silly question (as think I may have made it harder in my
head than it needs to be! given all the formulas I'm putting in are bringing
back errors!!)

I have one worksheet which gathers info from other sheets and has the
following info

A B C D
Name % % %

In another worksheet I have a list of names (column M say M3) next to the
names I want to put in a formula that will give me the following results:

If M3 is in worksheet 1 and the corresponding cells to that name in b, c and
d are all 0% write Yes otherwise write No but if M3 doesnt match anything on
the list write - .

Thanks as always

Kiwi

  #4  
Old February 3rd, 2010, 10:57 PM posted to microsoft.public.excel.misc
kiwi
external usenet poster
 
Posts: 20
Default If Question

Thank you both so much - both very helpful :-)
--
Thanks as always

Kiwi


"T. Valko" wrote:

Try this...

Assuming this data:

A B C D
Name % % %


Is on Sheet1 in the range A110

=IF(COUNTIF(Sheet1!A1:A10,M3),IF(COUNTIF(INDEX(She et1!B110,MATCH(M3,Sheet1!A1:A10,0),0),"0")=3,"Y es","No"),"-")

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Hi everyone

Hope this isn't a silly question (as think I may have made it harder in my
head than it needs to be! given all the formulas I'm putting in are
bringing
back errors!!)

I have one worksheet which gathers info from other sheets and has the
following info

A B C D
Name % % %

In another worksheet I have a list of names (column M say M3) next to the
names I want to put in a formula that will give me the following results:

If M3 is in worksheet 1 and the corresponding cells to that name in b, c
and
d are all 0% write Yes otherwise write No but if M3 doesnt match anything
on
the list write - .

Thanks as always

Kiwi



.

  #5  
Old February 3rd, 2010, 11:04 PM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default If Question

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Thank you both so much - both very helpful :-)
--
Thanks as always

Kiwi


"T. Valko" wrote:

Try this...

Assuming this data:

A B C D
Name % % %


Is on Sheet1 in the range A110

=IF(COUNTIF(Sheet1!A1:A10,M3),IF(COUNTIF(INDEX(She et1!B110,MATCH(M3,Sheet1!A1:A10,0),0),"0")=3,"Y es","No"),"-")

--
Biff
Microsoft Excel MVP


"Kiwi" wrote in message
...
Hi everyone

Hope this isn't a silly question (as think I may have made it harder in
my
head than it needs to be! given all the formulas I'm putting in are
bringing
back errors!!)

I have one worksheet which gathers info from other sheets and has the
following info

A B C D
Name % % %

In another worksheet I have a list of names (column M say M3) next to
the
names I want to put in a formula that will give me the following
results:

If M3 is in worksheet 1 and the corresponding cells to that name in b,
c
and
d are all 0% write Yes otherwise write No but if M3 doesnt match
anything
on
the list write - .

Thanks as always

Kiwi



.



 




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 10:56 AM.


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