#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
muchacho
 
Posts: n/a
Default SumIf query ...


Does this function ignore invisible cells (autofilter) ?

If not, what could be an alternative?


--
muchacho
------------------------------------------------------------------------
muchacho's Profile: http://www.excelforum.com/member.php...o&userid=35082
View this thread: http://www.excelforum.com/showthread...hreadid=555662

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default SumIf query ...

use subtotal(9,range)

on the sunif to ignore hides rows

HTH
regards from Brazil
Marcelo

"muchacho" escreveu:


Does this function ignore invisible cells (autofilter) ?

If not, what could be an alternative?


--
muchacho
------------------------------------------------------------------------
muchacho's Profile: http://www.excelforum.com/member.php...o&userid=35082
View this thread: http://www.excelforum.com/showthread...hreadid=555662


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default SumIf query ...

SORRY IT'S DOESN'T WORK
MARCELO

"Marcelo" escreveu:

use subtotal(9,range)

on the sunif to ignore hides rows

HTH
regards from Brazil
Marcelo

"muchacho" escreveu:


Does this function ignore invisible cells (autofilter) ?

If not, what could be an alternative?


--
muchacho
------------------------------------------------------------------------
muchacho's Profile: http://www.excelforum.com/member.php...o&userid=35082
View this thread: http://www.excelforum.com/showthread...hreadid=555662


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SumIf query ...

what makes you think it doesn't?

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Marcelo" wrote in message
...
SORRY IT'S DOESN'T WORK
MARCELO

"Marcelo" escreveu:

use subtotal(9,range)

on the sunif to ignore hides rows

HTH
regards from Brazil
Marcelo

"muchacho" escreveu:


Does this function ignore invisible cells (autofilter) ?

If not, what could be an alternative?


--
muchacho


------------------------------------------------------------------------
muchacho's Profile:

http://www.excelforum.com/member.php...o&userid=35082
View this thread:

http://www.excelforum.com/showthread...hreadid=555662




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default SumIf query ...

Hi Bob,

I have type without test, and when I have tried it doesn't work here,
course I did something bad, if you say it works. It works.

Regards and thanks for the feedback
Marcelo



"Bob Phillips" escreveu:

what makes you think it doesn't?

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Marcelo" wrote in message
...
SORRY IT'S DOESN'T WORK
MARCELO

"Marcelo" escreveu:

use subtotal(9,range)

on the sunif to ignore hides rows

HTH
regards from Brazil
Marcelo

"muchacho" escreveu:


Does this function ignore invisible cells (autofilter) ?

If not, what could be an alternative?


--
muchacho

------------------------------------------------------------------------
muchacho's Profile:

http://www.excelforum.com/member.php...o&userid=35082
View this thread:

http://www.excelforum.com/showthread...hreadid=555662







  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
muchacho
 
Posts: n/a
Default SumIf query ...


Surely I need an IF statement though.

What I want is for it to add some numbers up but only if the cell
equals X.

For example ...

Position - Value
2 - 33
2 - 44
4 - 66
5 - 33
6 - 22

So here I would like to display the total of position 2. Which would be
33+44.

I use autofilter so I only want it to work with the numbers in view.

I'm wondering what I would use to have the SubTotal mixed with an IF
statement.


--
muchacho
------------------------------------------------------------------------
muchacho's Profile: http://www.excelforum.com/member.php...o&userid=35082
View this thread: http://www.excelforum.com/showthread...hreadid=555662

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default SumIf query ...

=subtotal(9,range)

HTH
regards
Marcelo

"muchacho" escreveu:


Surely I need an IF statement though.

What I want is for it to add some numbers up but only if the cell
equals X.

For example ...

Position - Value
2 - 33
2 - 44
4 - 66
5 - 33
6 - 22

So here I would like to display the total of position 2. Which would be
33+44.

I use autofilter so I only want it to work with the numbers in view.

I'm wondering what I would use to have the SubTotal mixed with an IF
statement.


--
muchacho
------------------------------------------------------------------------
muchacho's Profile: http://www.excelforum.com/member.php...o&userid=35082
View this thread: http://www.excelforum.com/showthread...hreadid=555662


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SumIf query ...

That is different, introducing a condition.

Try this

=SUMPRODUCT(SUBTOTAL(9,OFFSET($B$1,ROW($B$1:$B$200 )-ROW($B$1),,1))*(A1:A200=
"X"))


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"muchacho" wrote in
message ...

Surely I need an IF statement though.

What I want is for it to add some numbers up but only if the cell
equals X.

For example ...

Position - Value
2 - 33
2 - 44
4 - 66
5 - 33
6 - 22

So here I would like to display the total of position 2. Which would be
33+44.

I use autofilter so I only want it to work with the numbers in view.

I'm wondering what I would use to have the SubTotal mixed with an IF
statement.


--
muchacho
------------------------------------------------------------------------
muchacho's Profile:

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



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
Problems importing from an Access query Mike Excel Discussion (Misc queries) 0 June 20th 06 09:35 PM
changing query source [email protected] Excel Worksheet Functions 2 March 21st 06 08:55 PM
enable automatic refresh Vass Excel Worksheet Functions 2 March 11th 06 04:36 AM
AHHH! Again JAA149 Excel Discussion (Misc queries) 0 October 31st 05 11:36 AM
AHHHH-Get Data from Multiple Excel workbooks JAA149 Excel Discussion (Misc queries) 5 October 30th 05 05:19 PM


All times are GMT +1. The time now is 10:37 AM.

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"