#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default No Blanks

Can someone please help me to make this formula
=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))
not to count blanks

Thanks in Advance

Anthony


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default No Blanks

In English...

=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""))



Antonyo wrote:

Can someone please help me to make this formula
=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))
not to count blanks

Thanks in Advance

Anthony


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default No Blanks

Mr. Peterson Thanks for you replay

=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))

This formula works Good Only it's also count empty cells
I need to count duplicate numbers that are in the same row
Example:
D4 G4
300.00 300.00
Count like one




"Dave Peterson" escribió en el mensaje
...
In English...

=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""))



Antonyo wrote:

Can someone please help me to make this formula
=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))
not to count blanks

Thanks in Advance

Anthony


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default No Blanks

Select the cell that should have the formula.
Then hit alt-f11 (to get to the VBE)
then hit ctrl-g (to see the immediate window)

Type this and hit enter:
activecell.formula = "=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""""))"

Then swap back to excel and look at that formula. (It'll be translated for
you.)

Did it work?

Antonyo wrote:

Mr. Peterson Thanks for you replay

=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))

This formula works Good Only it's also count empty cells
I need to count duplicate numbers that are in the same row
Example:
D4 G4
300.00 300.00
Count like one

"Dave Peterson" escribió en el mensaje
...
In English...

=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""))



Antonyo wrote:

Can someone please help me to make this formula
=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))
not to count blanks

Thanks in Advance

Anthony


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default No Blanks

Mr. Peterson

It did not work



"Dave Peterson" escribió en el mensaje
...
Select the cell that should have the formula.
Then hit alt-f11 (to get to the VBE)
then hit ctrl-g (to see the immediate window)

Type this and hit enter:
activecell.formula =

"=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""""))"

Then swap back to excel and look at that formula. (It'll be translated

for
you.)

Did it work?

Antonyo wrote:

Mr. Peterson Thanks for you replay

=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))

This formula works Good Only it's also count empty cells
I need to count duplicate numbers that are in the same row
Example:
D4 G4
300.00 300.00
Count like one

"Dave Peterson" escribió en el mensaje
...
In English...

=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""))



Antonyo wrote:

Can someone please help me to make this formula
=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))
not to count blanks

Thanks in Advance

Anthony

--

Dave Peterson


--

Dave Peterson





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default No Blanks

Sorry,


Antonyo wrote:

Mr. Peterson

It did not work

"Dave Peterson" escribió en el mensaje
...
Select the cell that should have the formula.
Then hit alt-f11 (to get to the VBE)
then hit ctrl-g (to see the immediate window)

Type this and hit enter:
activecell.formula =

"=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""""))"

Then swap back to excel and look at that formula. (It'll be translated

for
you.)

Did it work?

Antonyo wrote:

Mr. Peterson Thanks for you replay

=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))

This formula works Good Only it's also count empty cells
I need to count duplicate numbers that are in the same row
Example:
D4 G4
300.00 300.00
Count like one

"Dave Peterson" escribió en el mensaje
...
In English...

=sumproduct(--(d4:d1000=g4:g1000),--(d4:d1000<""))



Antonyo wrote:

Can someone please help me to make this formula
=SUMA(SI(S!D4:D1000=S!G4:G1000,1,0))
not to count blanks

Thanks in Advance

Anthony

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
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
Blanks non blanks in filter TaylorLeigh Excel Discussion (Misc queries) 2 September 14th 07 03:27 PM
Blanks non blanks in filter TaylorLeigh Excel Discussion (Misc queries) 0 September 14th 07 02:24 PM
Sumproduct copying blanks or how to insert zero into blanks asg2307 Excel Worksheet Functions 4 April 4th 07 07:26 PM
copy range of cells with blanks then paste without blanks justaguyfromky Excel Worksheet Functions 1 September 3rd 06 07:56 PM
Paste Special Skip Blanks not skipping blanks, but overwriting... gsrosin Excel Discussion (Misc queries) 0 February 22nd 05 03:33 AM


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