#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default If Question

Try this...

Assuming this data:

A B C D
Name % % %


Is on Sheet1 in the range A1:D10

=IF(COUNTIF(Sheet1!A1:A10,M3),IF(COUNTIF(INDEX(She et1!B1:D10,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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default If Question

Try the below formula...

=IF(COUNTIF(Sheet1!A1:A100,M3),IF(SUMPRODUCT((Shee t1!A1:A100=M3)*
(Sheet1!B1:D100=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
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 A1:D10

=IF(COUNTIF(Sheet1!A1:A10,M3),IF(COUNTIF(INDEX(She et1!B1:D10,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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
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 A1:D10

=IF(COUNTIF(Sheet1!A1:A10,M3),IF(COUNTIF(INDEX(She et1!B1:D10,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



.



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
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
VBA Question Brent E Excel Discussion (Misc queries) 1 June 7th 05 10:16 PM
Another Name question hk29 Excel Discussion (Misc queries) 5 April 22nd 05 05:01 AM


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