Assuming the data posted is within A1:F22, with the salesman col (col A)
fully populated from above** (this is required, see below for link to get
this done on a copy of the pivot. Alternatively, you could frame it up to
directly read the source table for the pivot)
you could place this in say, H1
=SUMPRODUCT((ISNUMBER(MATCH($A$2:$A$22,{"SG","NK"},0)))*($F$2:$F$22="NLF")*$C$2:$E$22)
which returns the total sales of Product NLF, made by Salesman SG and NK for
the months of Jan, Feb and Mar (total for the 3 months)
If you need separate totals by the month for Jan, Feb and Mar
place this in say, H2
=SUMPRODUCT((ISNUMBER(MATCH($A$2:$A$22,{"SG","NK"},0)))*($F$2:$F$22="NLF"),C$2:C$22)
then copy H2 across to J2, to return desired results
**so that it looks like this
Salesman
SG
SG
SG Total
JD
JD
...
JD Total
NK
...
NK
NK Total
Try Debra Dalgleish's page for ways to fill in the col blanks:
http://www.contextures.com/xlDataEntry02.html
Excel -- Data Entry -- Fill Blank Cells
Fill Blank Cells
Fill Blank Cells Programmatically
(Sub FillColBlanks() by Dave Peterson)

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Hi Max,
>
[quoted text clipped - 43 lines]
> > > Is there a way where I can attached my worksheet and show my problem to
> > > anysone?
YMTEO - 12 May 2008 10:58 GMT
Hi,
I have filled up all the blank and tried the formular.
But it is still not working.
However, I have tried the formular below
=SUM(IF($D$5:$D$225="NK",IF($S$5:$S$225="LF",I$5:I$225,0),0)
and it works OK fine in suming up sales for one sales person.
If I tried to add another sales person by amending the formular to
=SUM(IF($D$5:$D$225=("NK","SG"),IF($S$5:$S$225="LF",I$5:I$225,0),0), I got
#N/A.
Is there any other formulars?
> Assuming the data posted is within A1:F22, with the salesman col (col A)
> fully populated from above** (this is required, see below for link to get
[quoted text clipped - 79 lines]
> > > > Is there a way where I can attached my worksheet and show my problem to
> > > > anysone?
Max - 12 May 2008 12:10 GMT
Try this sample file,
which shows things working the way they should as per earlier response:
http://www.freefilehosting.net/download/3h57l
Sales sumproduct.xls

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Hi,
>
[quoted text clipped - 9 lines]
>
> Is there any other formulars?
YMTEO - 13 May 2008 05:54 GMT
Max,
Thank you.
But unfortunately it still has value #N/A
I have uploaded my working file for your reference
http://www.freefilehosting.net/download/3h5l2
> Try this sample file,
> which shows things working the way they should as per earlier response:
[quoted text clipped - 14 lines]
> >
> > Is there any other formulars?
Max - 13 May 2008 11:13 GMT
You need to clear all the #N/A data in col R. This is what is causing the
problem for you. To clear all at one go, just do an autofilter on col R,
select: #N/A, then select all the filtered rows in col R, press Delete to
clear. Remove the filter then try placing in say, K2
=SUMPRODUCT((ISNUMBER(MATCH($D$6:$D$70,{"SG","NK"},0)))*($R$6:$R$70="F-WaterSol")*$H$6:$P$70)
which should now return the correct results
(I've entered some dummy data here and there within the source to illustrate)
Here's your sample to show the above:
http://www.freefilehosting.net/download/3h61d
case_ymteo.xls
Take a moment to press the "Yes" button below ..

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Max,
>
[quoted text clipped - 3 lines]
> I have uploaded my working file for your reference
> http://www.freefilehosting.net/download/3h5l2
YMTEO - 13 May 2008 11:36 GMT
YES!! IT WORKS PERFECTLY FINE NOW.
THANKS MAX :)
> You need to clear all the #N/A data in col R. This is what is causing the
> problem for you. To clear all at one go, just do an autofilter on col R,
[quoted text clipped - 16 lines]
> > I have uploaded my working file for your reference
> > http://www.freefilehosting.net/download/3h5l2
Max - 13 May 2008 14:03 GMT
Welcome, glad it's working for you.

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> YES!! IT WORKS PERFECTLY FINE NOW.
> THANKS MAX :)