Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Formula to replace a Pivot table function

Morning,

I have got three reference numbers in cells B2 to B12, 1740, 1741 & 1742. So
in cells B2, B4, B7, B8 there is 1740. In cells B3, B9, B10 & B12 is 1741,
then in cells B5, B6 & B11 is 1742.

In cells C2 to C12 is volumes per reference number.

I want a formula to put the three reference numbers in cells E2 to E4 and
then I would sumif the volumes to its respective reference number.

I am looking for a formula to work like a pivot table, but need to keep the
file size small, thus looking for a formula instead.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Formula to replace a Pivot table function

In E2 thru E4 enter:

=SUMPRODUCT(--(B2:B12=1740),(C2:C12))
=SUMPRODUCT(--(B2:B12=1741),(C2:C12))
=SUMPRODUCT(--(B2:B12=1742),(C2:C12))

Here is some sample stuff:

1740 210 2204
1741 327 4731
1740 408 1165
1742 535
1742 630
1740 714
1740 872
1741 945
1741 1030
1741 1133
1741 1296

The advantage to using formulas is that values automatically adjust without
having to re-run the Pivot.
--
Gary''s Student - gsnu200727


"Sunnyskies" wrote:

Morning,

I have got three reference numbers in cells B2 to B12, 1740, 1741 & 1742. So
in cells B2, B4, B7, B8 there is 1740. In cells B3, B9, B10 & B12 is 1741,
then in cells B5, B6 & B11 is 1742.

In cells C2 to C12 is volumes per reference number.

I want a formula to put the three reference numbers in cells E2 to E4 and
then I would sumif the volumes to its respective reference number.

I am looking for a formula to work like a pivot table, but need to keep the
file size small, thus looking for a formula instead.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Formula to replace a Pivot table function

Morning Gary,

Thats looks like it can work, except you have physically typed the reference
numbers in the formula.

This document will be going out the field and each depot will have unique
numbering.

Will it be possible to have the reference "inserted" into the formual
automatically?

"Sunnyskies" wrote:

Morning,

I have got three reference numbers in cells B2 to B12, 1740, 1741 & 1742. So
in cells B2, B4, B7, B8 there is 1740. In cells B3, B9, B10 & B12 is 1741,
then in cells B5, B6 & B11 is 1742.

In cells C2 to C12 is volumes per reference number.

I want a formula to put the three reference numbers in cells E2 to E4 and
then I would sumif the volumes to its respective reference number.

I am looking for a formula to work like a pivot table, but need to keep the
file size small, thus looking for a formula instead.

Thanks

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
How to hide or replace (blank) in a Pivot Table Column enna49 Excel Worksheet Functions 3 April 17th 07 02:54 AM
Pivot Table Function carl Excel Worksheet Functions 1 May 24th 06 07:03 PM
create pivot table formula without the GETPIVOTDATA function ebergkes Excel Discussion (Misc queries) 3 November 11th 05 12:25 AM
How to replace a function with its resulting reference in a formula? Dmitry Kopnichev Excel Worksheet Functions 7 October 13th 05 09:48 PM
How to replace a function with its result or resulting reference in a formula? Dmitry Kopnichev Excel Worksheet Functions 5 October 13th 05 12:15 PM


All times are GMT +1. The time now is 10:28 PM.

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"