View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Debra Dalgleish Debra Dalgleish is offline
external usenet poster
 
Posts: 2,979
Default Pls Hlp - Pivot Table or DSum???

You could use wildcard characters with the cell reference, e.g.:

=SUMIF($B$10:$B$200,"*" & K5 & "*",$E$10:$E$200)

dee wrote:
OK, you got me back on track! This is what I have done, but I still have one
problem.

I copied and pasted the pivot table.
I then hid details to view only subtotals
I named the subtotal companies and also the subtotal values in order to
easily refer to them in a formula
On the sheet where I need to add the totals, I used a Sumif that looks up
the company name and sums values if it appears in the companies on the pivot
table.

So far, so good. but...

For reasons beyond my control, on the sheet where I am placing the Sumif,
the company name may differ slighly from that in the pivot table. For
example, ABC may be ABC Company Inc. on the pivot table.

I think I need to use a text function within the Sumif to look up the
company in the pivot table if it CONTAINS ABC. The problem is that I have
many companies, so I want to refer to the cell that contains the company
name, not actually type "ABC". This is where I"m having problems.

Any help would be greatly appreciated and would allow me to finish this up!

Thanks!



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html