Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default place counta within fomula?

Thus end row can auto change to the last row?
like
=SUMPRODUCT(--(A1:A"counta(A1:A65536)"="xxx"),--(E1:E"counta(A1:A65536)"="bbb"),(F1:F"counta(A1:A6 5536)"))
Regards
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default place counta within fomula?

Hi

Maybe this is what you need:

=SUMPRODUCT(--(A1:A65535="xxx");--(E1:E65535="bbb");F1:F65535)

Regards,
Per

"Seeker" skrev i meddelelsen
...
Thus end row can auto change to the last row?
like
=SUMPRODUCT(--(A1:A"counta(A1:A65536)"="xxx"),--(E1:E"counta(A1:A65536)"="bbb"),(F1:F"counta(A1:A6 5536)"))
Regards


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default place counta within fomula?

Hi Per,
Thanks for your prompt reply and your answer works.
Just want to know further reason of while range is A1:A65535 or A2:A65536 (1
line short of full rows), it is no problem in extracting the sum but shows
#Num if I change the range to A1:A65536?

"Per Jessen" wrote:

Hi

Maybe this is what you need:

=SUMPRODUCT(--(A1:A65535="xxx");--(E1:E65535="bbb");F1:F65535)

Regards,
Per

"Seeker" skrev i meddelelsen
...
Thus end row can auto change to the last row?
like
=SUMPRODUCT(--(A1:A"counta(A1:A65536)"="xxx"),--(E1:E"counta(A1:A65536)"="bbb"),(F1:F"counta(A1:A6 5536)"))
Regards



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default place counta within fomula?

Hi Seeker

Thanks for your reply.

A1:A65536 is converted to A:A (the entire column) and excel functions can
not handle an entire column (or row) as reference in versions prior to excel
2007.

"Seeker" skrev i meddelelsen
...
Hi Per,
Thanks for your prompt reply and your answer works.
Just want to know further reason of while range is A1:A65535 or A2:A65536
(1
line short of full rows), it is no problem in extracting the sum but shows
#Num if I change the range to A1:A65536?

"Per Jessen" wrote:

Hi

Maybe this is what you need:

=SUMPRODUCT(--(A1:A65535="xxx");--(E1:E65535="bbb");F1:F65535)

Regards,
Per

"Seeker" skrev i meddelelsen
...
Thus end row can auto change to the last row?
like
=SUMPRODUCT(--(A1:A"counta(A1:A65536)"="xxx"),--(E1:E"counta(A1:A65536)"="bbb"),(F1:F"counta(A1:A6 5536)"))
Regards




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default place counta within fomula?

Hi Per,
Well understood, thanks again for your enlightenment.
Regards

"Per Jessen" wrote:

Hi Seeker

Thanks for your reply.

A1:A65536 is converted to A:A (the entire column) and excel functions can
not handle an entire column (or row) as reference in versions prior to excel
2007.

"Seeker" skrev i meddelelsen
...
Hi Per,
Thanks for your prompt reply and your answer works.
Just want to know further reason of while range is A1:A65535 or A2:A65536
(1
line short of full rows), it is no problem in extracting the sum but shows
#Num if I change the range to A1:A65536?

"Per Jessen" wrote:

Hi

Maybe this is what you need:

=SUMPRODUCT(--(A1:A65535="xxx");--(E1:E65535="bbb");F1:F65535)

Regards,
Per

"Seeker" skrev i meddelelsen
...
Thus end row can auto change to the last row?
like
=SUMPRODUCT(--(A1:A"counta(A1:A65536)"="xxx"),--(E1:E"counta(A1:A65536)"="bbb"),(F1:F"counta(A1:A6 5536)"))
Regards




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
Help in a fomula Malik Nadeem Excel Discussion (Misc queries) 0 January 10th 09 11:09 AM
Fomula Steve Excel Discussion (Misc queries) 2 December 8th 05 07:29 PM
Please help, i need a fomula Age Formula?? Excel Worksheet Functions 2 October 13th 05 10:32 PM
IF Fomula DWadding Excel Discussion (Misc queries) 1 August 3rd 05 05:32 PM
COUNTA Function not working =COUNTA(C3:C69,"NH") MikeinNH Excel Worksheet Functions 2 November 8th 04 01:19 AM


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

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"