Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default countif formula

Hi, i have created a sheet that uses countif for data of other spreadsheets.
is there a way to retrieve the data without opening all the the source data
files each time?
cheers


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default countif formula

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other

spreadsheets.
is there a way to retrieve the data without opening all the the source

data
files each time?
cheers




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default countif formula

thanks for your reply but i cannot make it work.

The formula with the countif is the following:

=COUNTIF('[MDR.xls]Drwgs'!$H:$H,"p")

where MDR is the other file, h is the column where i look for the data (the
letter P in this particular occasion)

if I just substitute COUNTIF with SUMPRODUCT it doesn't work....







"Bob Phillips" wrote:

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other

spreadsheets.
is there a way to retrieve the data without opening all the the source

data
files each time?
cheers





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default countif formula

=SUMPRODUCT(--(A1:A10="g"))
it works fine if the fomula stays in the same sheet as the data but if the
range A1:A10 is in another spread sheet i cannot find the right sintax for it.


'[fileMDR.xls]Drwgs'!$H:$H

this is how the fomula with the file name would be like if I used countif so
i have tried to copy it in the sumproduct but with no luck

"Bob Phillips" wrote:

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other

spreadsheets.
is there a way to retrieve the data without opening all the the source

data
files each time?
cheers





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default countif formula

=SUMPRODUCT(--('[MDR.xls]Drwgs'!$H1:$H1000="p"))

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
thanks for your reply but i cannot make it work.

The formula with the countif is the following:

=COUNTIF('[MDR.xls]Drwgs'!$H:$H,"p")

where MDR is the other file, h is the column where i look for the data

(the
letter P in this particular occasion)

if I just substitute COUNTIF with SUMPRODUCT it doesn't work....







"Bob Phillips" wrote:

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other

spreadsheets.
is there a way to retrieve the data without opening all the the source

data
files each time?
cheers









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default countif formula

Hi Bob.
sorry to bother you but it still doesn't work. I tried that sintax but it's
not working.
By the way i have noticed that the fomrula would not work for the whole
column H..


I have tried to put an absolute link to the file like
=SUMPRODUCT(--('[N:\FPSO\12. TechDoc\00 KUI
MDR\[MDR.xls]Drwgs'!$H1:$H1000="s"))

but it says that the formula contains one or more invalid references and to
verify that the formula contains a valid path, workbook, range name and cell
reference.

is thre somthing i'm missing?
thanks for your help



"Bob Phillips" wrote:

=SUMPRODUCT(--('[MDR.xls]Drwgs'!$H1:$H1000="p"))

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
thanks for your reply but i cannot make it work.

The formula with the countif is the following:

=COUNTIF('[MDR.xls]Drwgs'!$H:$H,"p")

where MDR is the other file, h is the column where i look for the data

(the
letter P in this particular occasion)

if I just substitute COUNTIF with SUMPRODUCT it doesn't work....







"Bob Phillips" wrote:

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other
spreadsheets.
is there a way to retrieve the data without opening all the the source
data
files each time?
cheers








  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default countif formula

don't know how but i managed to make it work..... i think it was a matter of
spaces and dots in the file name (not my choice..).
anyway, thanks for your time and help. I have one more question pls. it just
about curiosity: the sign -- what is needed for exactly?

cheers





"massi" wrote:

Hi Bob.
sorry to bother you but it still doesn't work. I tried that sintax but it's
not working.
By the way i have noticed that the fomrula would not work for the whole
column H..


I have tried to put an absolute link to the file like
=SUMPRODUCT(--('[N:\FPSO\12. TechDoc\00 KUI
MDR\[MDR.xls]Drwgs'!$H1:$H1000="s"))

but it says that the formula contains one or more invalid references and to
verify that the formula contains a valid path, workbook, range name and cell
reference.

is thre somthing i'm missing?
thanks for your help



"Bob Phillips" wrote:

=SUMPRODUCT(--('[MDR.xls]Drwgs'!$H1:$H1000="p"))

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
thanks for your reply but i cannot make it work.

The formula with the countif is the following:

=COUNTIF('[MDR.xls]Drwgs'!$H:$H,"p")

where MDR is the other file, h is the column where i look for the data

(the
letter P in this particular occasion)

if I just substitute COUNTIF with SUMPRODUCT it doesn't work....







"Bob Phillips" wrote:

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other
spreadsheets.
is there a way to retrieve the data without opening all the the source
data
files each time?
cheers








  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default countif formula

the most asked question in the NGs <vbg

See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
don't know how but i managed to make it work..... i think it was a matter

of
spaces and dots in the file name (not my choice..).
anyway, thanks for your time and help. I have one more question pls. it

just
about curiosity: the sign -- what is needed for exactly?

cheers





"massi" wrote:

Hi Bob.
sorry to bother you but it still doesn't work. I tried that sintax but

it's
not working.
By the way i have noticed that the fomrula would not work for the whole
column H..


I have tried to put an absolute link to the file like
=SUMPRODUCT(--('[N:\FPSO\12. TechDoc\00 KUI
MDR\[MDR.xls]Drwgs'!$H1:$H1000="s"))

but it says that the formula contains one or more invalid references and

to
verify that the formula contains a valid path, workbook, range name and

cell
reference.

is thre somthing i'm missing?
thanks for your help



"Bob Phillips" wrote:

=SUMPRODUCT(--('[MDR.xls]Drwgs'!$H1:$H1000="p"))

Note that SUMPRODUCT doesn't work with complete columns, you have to

specify
a range.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
thanks for your reply but i cannot make it work.

The formula with the countif is the following:

=COUNTIF('[MDR.xls]Drwgs'!$H:$H,"p")

where MDR is the other file, h is the column where i look for the

data
(the
letter P in this particular occasion)

if I just substitute COUNTIF with SUMPRODUCT it doesn't work....







"Bob Phillips" wrote:

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other
spreadsheets.
is there a way to retrieve the data without opening all the the

source
data
files each time?
cheers










  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default countif formula

thanks a lot.
BR
Massi

"Bob Phillips" wrote:

the most asked question in the NGs <vbg

See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
don't know how but i managed to make it work..... i think it was a matter

of
spaces and dots in the file name (not my choice..).
anyway, thanks for your time and help. I have one more question pls. it

just
about curiosity: the sign -- what is needed for exactly?

cheers





"massi" wrote:

Hi Bob.
sorry to bother you but it still doesn't work. I tried that sintax but

it's
not working.
By the way i have noticed that the fomrula would not work for the whole
column H..


I have tried to put an absolute link to the file like
=SUMPRODUCT(--('[N:\FPSO\12. TechDoc\00 KUI
MDR\[MDR.xls]Drwgs'!$H1:$H1000="s"))

but it says that the formula contains one or more invalid references and

to
verify that the formula contains a valid path, workbook, range name and

cell
reference.

is thre somthing i'm missing?
thanks for your help



"Bob Phillips" wrote:

=SUMPRODUCT(--('[MDR.xls]Drwgs'!$H1:$H1000="p"))

Note that SUMPRODUCT doesn't work with complete columns, you have to

specify
a range.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
thanks for your reply but i cannot make it work.

The formula with the countif is the following:

=COUNTIF('[MDR.xls]Drwgs'!$H:$H,"p")

where MDR is the other file, h is the column where i look for the

data
(the
letter P in this particular occasion)

if I just substitute COUNTIF with SUMPRODUCT it doesn't work....







"Bob Phillips" wrote:

Use SUMPRODUCT instead

=SUMPRODUCT(--(book_reference=value))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"massi" wrote in message
...
Hi, i have created a sheet that uses countif for data of other
spreadsheets.
is there a way to retrieve the data without opening all the the

source
data
files each time?
cheers











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
Countif Formula Khalid A. Al-Otaibi Excel Discussion (Misc queries) 1 April 19th 10 07:39 AM
=COUNTIF formula Bob Excel Discussion (Misc queries) 4 January 15th 10 03:59 PM
COUNTIF FORMULA ISSUES - NEED FORMULA CORRECTED Debbi Excel Worksheet Functions 2 November 18th 09 04:47 AM
CountIF and Sum in one formula? Scott A[_2_] Excel Worksheet Functions 8 June 4th 09 07:51 AM
CountIf formula results in the formula itself being displayed. NewKid Excel Worksheet Functions 9 December 21st 05 11:10 PM


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