G
GD
Hi, just before christmas I was helped out on sorting a formula that would
produce a numerical value triggered by a certain text arrangement in a range
of cells - if possible i'd like to expand upon this?
If I put in an example below and the current formula i'm using
(Data)
02/01/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) GD (KT)
02/01/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) AG (KT)
02/01/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) SW2 (KT)
03/02/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) GD (KT)
(Formula)
=SUMPRODUCT(--(LEN('2008'!I3:'2008'!I260)-LEN(SUBSTITUTE('2008'!I3:'2008'!I260,"GD (KT)",""))>0))
Ok, this formula is concentrating on the text in the 7th column, and
producing a cumulative total from the whole range for how many times it
occurs...So for instance in that example the text 'GD KT' occurs twice so the
formula produces a 2.
Now, what i'm looking for is introducing an IF value to this - essentially
I'm aiming for a formula which will not only discern when a specific text
appears in column 7, but ALSO only read out IF it corresponds to a date value
in Column A....at the moment the data in column A is day-specific, which
could complicate things but I could amend this to a simple 01/08 if needs be
- in practical terms i'm trying to produce a total readout for instances of
GD (KT) and a separate monthly readout for analysis purposes...
Any ideas?
produce a numerical value triggered by a certain text arrangement in a range
of cells - if possible i'd like to expand upon this?
If I put in an example below and the current formula i'm using
(Data)
02/01/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) GD (KT)
02/01/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) AG (KT)
02/01/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) SW2 (KT)
03/02/08 22/11/2007 21/12/2007 10:27 R-44622 484253 C89215 4A2 (BG) GD (KT)
(Formula)
=SUMPRODUCT(--(LEN('2008'!I3:'2008'!I260)-LEN(SUBSTITUTE('2008'!I3:'2008'!I260,"GD (KT)",""))>0))
Ok, this formula is concentrating on the text in the 7th column, and
producing a cumulative total from the whole range for how many times it
occurs...So for instance in that example the text 'GD KT' occurs twice so the
formula produces a 2.
Now, what i'm looking for is introducing an IF value to this - essentially
I'm aiming for a formula which will not only discern when a specific text
appears in column 7, but ALSO only read out IF it corresponds to a date value
in Column A....at the moment the data in column A is day-specific, which
could complicate things but I could amend this to a simple 01/08 if needs be
- in practical terms i'm trying to produce a total readout for instances of
GD (KT) and a separate monthly readout for analysis purposes...
Any ideas?