Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas


I have 2 sheets, one summary, and one detail.

The detail is as follows:


Dept units
331 12
331 24
331
331 12
332
332 36
332 24
333

The summary is as follows:


Dept # of styles
331 3
332 2
333 0

I want the formula on the summary sheet to count the number of non
blank entries for each dept.

Which formula is it?


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=512818

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas

=SUM(IF((A1:A10=331)*(B1:B10<""),1))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"JR573PUTT" wrote
in message ...

I have 2 sheets, one summary, and one detail.

The detail is as follows:


Dept units
331 12
331 24
331
331 12
332
332 36
332 24
333

The summary is as follows:


Dept # of styles
331 3
332 2
333 0

I want the formula on the summary sheet to count the number of non
blank entries for each dept.

Which formula is it?


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile:

http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=512818



  #3   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas


No way this would work, does not reference the detail sheet???


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=512818

  #4   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas


You just need to modify Bob's formula.


=SUM(IF((YourDetailSheetName!A1:A10=331)*(YourDeta ilSheetName!B1:B10<""),1))

Again, it is an array formula so commit with Ctrl-Shift-Enter

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=512818

  #5   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas


SteveG,

You are awesome, thank you, it worked, thanks much.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=512818



  #6   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas

Like we were told that!

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"JR573PUTT" wrote
in message ...

No way this would work, does not reference the detail sheet???


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile:

http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=512818



  #7   Report Post  
Posted to microsoft.public.excel.misc
JR573PUTT
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas


You were right, the array function worked perfectly, and you got the
right answer 1st, so thanks again and sorry I did not catch on quick
enough!


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=512818

  #8   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Sumproducts, Counta Lookup Ref Formulas

=SUM((A1:A10=331)*(B1:B10<""))

Biff

"Bob Phillips" wrote in message
...
=SUM(IF((A1:A10=331)*(B1:B10<""),1))

which is an array formula, it should be committed with Ctrl-Shift-Enter,
not
just Enter.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"JR573PUTT" wrote
in message ...

I have 2 sheets, one summary, and one detail.

The detail is as follows:


Dept units
331 12
331 24
331
331 12
332
332 36
332 24
333

The summary is as follows:


Dept # of styles
331 3
332 2
333 0

I want the formula on the summary sheet to count the number of non
blank entries for each dept.

Which formula is it?


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile:

http://www.excelforum.com/member.php...o&userid=31587
View this thread:
http://www.excelforum.com/showthread...hreadid=512818





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
Lookup problem RD Wirr Excel Worksheet Functions 4 February 8th 06 01:14 PM
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Lookup formulas Esrei Excel Discussion (Misc queries) 3 August 1st 05 01:50 PM
How do I highlight all lookup formulas in a worksheet in one shot. JT Excel Discussion (Misc queries) 7 March 4th 05 10:35 PM


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