Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Count if and Vlookup using a lookupsheet

Hi Team,

was wondering if you could help with this one.

Summary Sheet :

A B
1 Team # referral calls
2 Red Team ??
3 Blue Team ??
4 Green Team ??

7 All team members # referral calls
8 Adam =COUNTIF(Data!$G:$G,B14)
9 Bill =COUNTIF(Data!$G:$G,B14)
10 Alison =COUNTIF(Data!$G:$G,B14)
11 Allana =COUNTIF(Data!$G:$G,B14)


Lookup Sheet
A B
1 Name Team
2 Adam Red
3 Bill Red
4 Alison Blue
5 Allana Green


I am trying to have a "Team Totals" table at the top of the individual
totals, withour having to reference the team next to the individual on that
page. Instead I have a lookup sheet that allocates the team to the people....

in "Excel talk" in cells B2:B4

=sum(B7:B11) if B4 = VLOOKUP(B14,'Lookup sheet'!$A$2:$B$5,2,FALSE)

of course that will not work for a few reasons, one being the lookup in not
set up for an array .<

any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Count if and Vlookup using a lookupsheet

=sum(B7:B11)

Don't you mean: =sum(B8:B11)

With:

A2 = Red
A3 = Blue
A4 = Green

Try this in B2 and copy down:

=SUMPRODUCT(--('Lookup Sheet'!B$2:B$5=A2),--(ISNUMBER(MATCH(A$8:A$11,'Lookup
Sheet'!$A$2:$A$5,0))),B$8:B$11)


--
Biff
Microsoft Excel MVP


"Madduck" wrote in message
...
Hi Team,

was wondering if you could help with this one.

Summary Sheet :

A B
1 Team # referral calls
2 Red Team ??
3 Blue Team ??
4 Green Team ??

7 All team members # referral calls
8 Adam =COUNTIF(Data!$G:$G,B14)
9 Bill =COUNTIF(Data!$G:$G,B14)
10 Alison =COUNTIF(Data!$G:$G,B14)
11 Allana =COUNTIF(Data!$G:$G,B14)


Lookup Sheet
A B
1 Name Team
2 Adam Red
3 Bill Red
4 Alison Blue
5 Allana Green


I am trying to have a "Team Totals" table at the top of the individual
totals, withour having to reference the team next to the individual on
that
page. Instead I have a lookup sheet that allocates the team to the
people....

in "Excel talk" in cells B2:B4

=sum(B7:B11) if B4 = VLOOKUP(B14,'Lookup sheet'!$A$2:$B$5,2,FALSE)

of course that will not work for a few reasons, one being the lookup in
not
set up for an array .<

any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Thanks

Thanks Biff. Worked a treat... it was the Isnumber again that eluded me...

very grateful to have such a pool of helpful people to help us all out..
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Thanks

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Madduck" wrote in message
...
Thanks Biff. Worked a treat... it was the Isnumber again that eluded me...

very grateful to have such a pool of helpful people to help us all out..



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
VLOOKUP or COUNT IF? Rob-WNS Excel Discussion (Misc queries) 3 October 17th 06 04:42 PM
Using VLOOKUP to count. shakey1181 Excel Discussion (Misc queries) 3 May 12th 06 12:33 PM
Complicated Vlookup/count problem swjtx Excel Worksheet Functions 6 December 18th 05 12:05 AM
Vlookup Count confusion ! Andy787878 Excel Worksheet Functions 15 June 26th 05 07:22 PM
count &vlookup marcie Excel Worksheet Functions 4 February 28th 05 02:31 PM


All times are GMT +1. The time now is 02:08 PM.

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"