Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Research by matrix

Hi,

Forgiveness in advance for my English ...

In column A, dates (dtS), in B names (prN) and C numerical values (vaL),
like example below:
01/01/2008 PIERRE 3
01/01/2008 LUC 4
01/01/2008 PAUL
02/01/2008 PAUL 7
02/01/2008 PIERRE
03/01/2008 PAUL 8
03/01/2008 PIERRE
05/01/2008 LUC 8
05/01/2008 PIERRE 1

I would like a formula in a single cell (matrix) which I counted the number
of lines having the same date in column A on the same line
names research "Pierre or Luc" in column B and numerical value in column C.
In my example, the formula would result in 2 because on line 1 and 2, 8 and
9, we find the same date for Pierre or Luc in column A, Pierre or Luc in
column B, and a numerical value in front in column C of Pierre and Luc.

For conditional formatting, it would be something like:
=(NB.SI(dtS;$A2)1)*(($B2="pierre")+($B2="luc"))*( $C2<"")

I tried this, but that does not give the expected results:
{=SOMME((NB.SI(dtS;dtS)1)*((prN="pierre")+(prN="l uc"))*(vaL<""))}
;-(

Thanks in advance for your help,


Sabine


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Research by matrix

Sabine,

I don't think you can get what you want by a single matrix formula, since you have mulitple matrices
that require checking.

Based on your data table being sorted by column A ascending, I would use a column of formulas like
this, starting in cell D2, and copied down.

=IF(A1<A2,IF((SUMPRODUCT((Dts=A2)*(prN="Pierre")* (vaL<""))+SUMPRODUCT((Dts=A2)*(prN="Luc")*(vaL<" ")))=2,1,""),"")

Then sum that column.

I'm not sure what SUMPRODUCT is in French, but maybe you already do...

HTH,
Bernie
MS Excel MVP


"Sabine" wrote in message ...
Hi,

Forgiveness in advance for my English ...

In column A, dates (dtS), in B names (prN) and C numerical values (vaL), like example below:
01/01/2008 PIERRE 3
01/01/2008 LUC 4
01/01/2008 PAUL
02/01/2008 PAUL 7
02/01/2008 PIERRE
03/01/2008 PAUL 8
03/01/2008 PIERRE
05/01/2008 LUC 8
05/01/2008 PIERRE 1

I would like a formula in a single cell (matrix) which I counted the number of lines having the
same date in column A on the same line
names research "Pierre or Luc" in column B and numerical value in column C.
In my example, the formula would result in 2 because on line 1 and 2, 8 and 9, we find the same
date for Pierre or Luc in column A, Pierre or Luc in column B, and a numerical value in front in
column C of Pierre and Luc.

For conditional formatting, it would be something like:
=(NB.SI(dtS;$A2)1)*(($B2="pierre")+($B2="luc"))*( $C2<"")

I tried this, but that does not give the expected results:
{=SOMME((NB.SI(dtS;dtS)1)*((prN="pierre")+(prN="l uc"))*(vaL<""))}
;-(

Thanks in advance for your help,


Sabine



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Research by matrix

SUMPRODUCT is SOMMEPROD in French, and IF is SI.

Hope this helps.

Pete

On Apr 11, 3:39*pm, "Bernie Deitrick" <deitbe @ consumer dot org
wrote:
Sabine,

I don't think you can get what you want by a single matrix formula, since you have mulitple matrices
that require checking.

Based on your data table being sorted by column A ascending, I would use a column of formulas like
this, starting in cell D2, and copied down.

=IF(A1<A2,IF((SUMPRODUCT((Dts=A2)*(prN="Pierre")* (vaL<""))+SUMPRODUCT((Dt*s=A2)*(prN="Luc")*(vaL< "")))=2,1,""),"")

Then sum that column.

I'm not sure what SUMPRODUCT is in French, but maybe you already do...

HTH,
Bernie
MS Excel MVP



"Sabine" wrote in . ..
Hi,


Forgiveness in advance for my English ...


In column A, dates (dtS), in B names (prN) and *C numerical values (vaL), like example below:
01/01/2008 * *PIERRE * * * * * * * * * * * *3
01/01/2008 * *LUC * * * * * * * * * * * * * * *4
01/01/2008 * *PAUL
02/01/2008 * *PAUL * * * * * * * * * * * * * *7
02/01/2008 * *PIERRE
03/01/2008 * *PAUL * * * * * * * * * * * * * *8
03/01/2008 * *PIERRE
05/01/2008 * *LUC * * * * * * * * * * * * * * * 8
05/01/2008 * *PIERRE * * * * * * * * * * * * 1


I would like a formula in a single cell (matrix) which I counted the number of lines having the
same date in column A on the same line
names research "Pierre or Luc" in column B and numerical value in column C.
In my example, the formula would result in 2 because on line 1 and 2, 8 and 9, we find the same
date for Pierre or Luc in column A, Pierre or Luc in column B, and a numerical value in front in
column C of Pierre and Luc.


For conditional formatting, it would be something like:
=(NB.SI(dtS;$A2)1)*(($B2="pierre")+($B2="luc"))*( $C2<"")


I tried this, but that does not give the expected results:
{=SOMME((NB.SI(dtS;dtS)1)*((prN="pierre")+(prN="l uc"))*(vaL<""))}
;-(


Thanks in advance for your help,


Sabine- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Research by matrix

Try this:

=SUM(IF(FREQUENCY(IF((prN={"PIERRE","LUC"})*(vaL< ""),MATCH(dtS,dtS,0)),MATCH(dtS,dtS,0))0,1))

ctrl+shift+enter, not just enter


"Sabine" wrote:

Hi,

Forgiveness in advance for my English ...

In column A, dates (dtS), in B names (prN) and C numerical values (vaL),
like example below:
01/01/2008 PIERRE 3
01/01/2008 LUC 4
01/01/2008 PAUL
02/01/2008 PAUL 7
02/01/2008 PIERRE
03/01/2008 PAUL 8
03/01/2008 PIERRE
05/01/2008 LUC 8
05/01/2008 PIERRE 1

I would like a formula in a single cell (matrix) which I counted the number
of lines having the same date in column A on the same line
names research "Pierre or Luc" in column B and numerical value in column C.
In my example, the formula would result in 2 because on line 1 and 2, 8 and
9, we find the same date for Pierre or Luc in column A, Pierre or Luc in
column B, and a numerical value in front in column C of Pierre and Luc.

For conditional formatting, it would be something like:
=(NB.SI(dtS;$A2)1)*(($B2="pierre")+($B2="luc"))*( $C2<"")

I tried this, but that does not give the expected results:
{=SOMME((NB.SI(dtS;dtS)1)*((prN="pierre")+(prN="l uc"))*(vaL<""))}
;-(

Thanks in advance for your help,


Sabine



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Research by matrix

Thanks to all of your solutions, which I have been able to adapt to my
problem.
Have a good day.

Sabine




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
Research Tool themediumtee Setting up and Configuration of Excel 0 September 13th 06 06:25 PM
How To disable Alt Key Research Pane BobT Excel Discussion (Misc queries) 0 June 6th 06 01:16 PM
Excel for qualitative research Neo Excel Worksheet Functions 1 August 8th 05 11:36 AM
research bar ATLASBLANCHE Excel Discussion (Misc queries) 0 July 21st 05 10:21 PM
Research Popup Nigel Excel Discussion (Misc queries) 0 June 3rd 05 08:10 PM


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