If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using SUMIFs on a changing Pivot Table - Help!
Hello all
I have a pivot table with revenue as the data, dates as the row fields and the column fields as countries. I am using a SUMIF formula to add together the revenue for numerous dates depending on what dates the user specifies. The problem however is that the column fields in the pivot change if a new country comes along and then the formula reads the wrong column. For example, if I want to add up the revenue for the USA which is in column C my formula would say {=SUMIF(A6:A10,B1,C6:C10)}. However if a new country comes up e.g. Thailand and pushes the USA into column D then the above formula would add up the revenue for Thailand not the USA. Is there a better formula to use to do this? -- James. |
Thread Tools | |
Display Modes | |
|
|